Add proposal application fixtures
This commit is contained in:
25
internal/framework/proposals/testdata/missing_segment.input.json
vendored
Normal file
25
internal/framework/proposals/testdata/missing_segment.input.json
vendored
Normal file
@@ -0,0 +1,25 @@
|
||||
{
|
||||
"policy": "require_unique",
|
||||
"transcript": {
|
||||
"segments": [
|
||||
{
|
||||
"id": 1,
|
||||
"speaker": "A",
|
||||
"start": 0,
|
||||
"end": 1,
|
||||
"text": "hello"
|
||||
}
|
||||
]
|
||||
},
|
||||
"proposals": [
|
||||
{
|
||||
"proposal_index": 0,
|
||||
"module_key": "grammar",
|
||||
"module_instance": "grammar_1",
|
||||
"id": 99,
|
||||
"original_text": "hello",
|
||||
"corrected_text": "hi",
|
||||
"confidence": 0.9
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user