Add local spoken passages with Google retrieval and isolated runtime setup
This commit is contained in:
1 parent
bc9459785d
commit
dab703413e
55 files changed
+3633
-70
No files matched your search
@@ -74,6 +74,9 @@ test('optional reasons use real source routes and never claim semantic word conf
|
||||
assert.match(text.legend,/without the same words/);
|
||||
assert.equal(text.semanticPassage,true);
|
||||
assert.match(matchExplanation({match_kind:'semantic_audio',source:{kind:'timestamp_ms',number:13129}}).reason,/0:13.*not an exact spoken phrase/);
|
||||
const speech=matchExplanation({match_kind:'semantic_speech',source:{kind:'timestamp_ms',number:13129}});
|
||||
assert.match(speech.reason,/0:13.*estimated token position/);
|
||||
assert.equal(speech.semanticPassage,true);
|
||||
assert.match(matchExplanation({match_kind:'semantic_video',source:{kind:'timestamp_ms',number:24167}}).reason,/frame.*0:24/);
|
||||
assert.match(matchExplanation({match_kind:'semantic_image'}).reason,/whole/);
|
||||
assert.match(matchExplanation({match_kind:'name_terms'}).reason,/filename, path or content/);
|
||||
|
||||
Reference in new issue
Block a user