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