/
Conversational AI Updates / Status
Search
Try Notion
Conversational AI Updates / Status
Launch updates:
Please use the following root name after November 5th:
https://meetkai.cloud
November 04
We have a new way to use our API without id_tokens, the following methodology should be used:
Instead of providing an id_token, you can just use Partner-User-ID: header and provide unique user ID. This should be reused for the same user.
IF you do not want to enable multi turn, make sure you use Turn-Mode: single_turn
If you cannot specify the user location, use the user_city query parameter
IF you do not provide user_location and want the user city to be implied by country, please just use ?user_city=UNK
All in one
curl --request POST \ --url 'https://staging.meetkai.cloud/api/oscar/alpha/message_batch?user_city=Paris' \ --header 'Content-Type: application/json' \ --header 'Kai-Skip-Audio: 0' \ --header 'Kai-Spellcheck: 1' \ --header 'Kai-Voice: English' \ --header 'Partner-User-ID: user_id_0' \ --header 'Turn-Mode: single_turn' \ --header 'User-Language: en' \ --header 'User-Region: FR' \ --header 'X-API-Key: e382b70a9d8b86c2c641b19aa8daef1d' \ --data '{"transcripts":"find me a restaurant", "limit_domains": ["restaurant"]}'
Python
Streaming HTTP:
curl --request POST \ --url 'https://staging.meetkai.cloud/api/oscar/alpha/message?user_city=Paris' \ --header 'Content-Type: application/json' \ --header 'Kai-Skip-Audio: 0' \ --header 'Kai-Spellcheck: 1' \ --header 'Kai-Voice: English' \ --header 'Partner-User-ID: user_id_0' \ --header 'Turn-Mode: single_turn' \ --header 'User-Language: en' \ --header 'User-Region: FR' \ --header 'X-API-Key: e382b70a9d8b86c2c641b19aa8daef1d' \ --data '{"transcripts":"find me a restaurant", "limit_domains": ["restaurant"]}'
Python