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