suoppport houndifyOptions for requestInfo and sampleRate (#117)

This commit is contained in:
Hoan Luu Huu
2025-11-28 00:37:28 +07:00
committed by GitHub
parent 9717ce6d58
commit 60a33e11eb
2 changed files with 8 additions and 0 deletions

View File

@@ -841,6 +841,8 @@
}, },
"houndifyOptions": { "houndifyOptions": {
"properties": { "properties": {
"requestInfo": "object",
"sampleRate": "number",
"latitude": "number", "latitude": "number",
"longitude": "number", "longitude": "number",
"city": "string", "city": "string",

View File

@@ -292,6 +292,12 @@ test("validate correct verbs", async (t) => {
"vendor": "houndify", "vendor": "houndify",
"language": "en-US", "language": "en-US",
"houndifyOptions": { "houndifyOptions": {
"requestInfo": {
"Latitude": 30.6,
"Longitude": 30.6,
"City": "Huston"
},
"sampleRate": 16000,
"latitude": 30.6, "latitude": 30.6,
"longitude": 30.6, "longitude": 30.6,
"city": "Huston", "city": "Huston",