AI Agent
AI Agent Server Gateway APIs
1. Answer Question
{ "text": "are there any spa services in the hotel?", "instructions": "", "thread_id": "testin-4243437433gg454bbbdfm", "role": "user", "assistant_id": "83be0c01-8242-4339-b280-2606260842ae", "streaming": true }{ "thread_id": "testin-4243437433gg454bbbdfm", "message": "Your name is Michael.", "is_partial": true, "message_id": "f7e39bb6-66d9-4c51-bc3d-1c3b94843482", "sources": [], "echart": null, "echart_id": "" }curl --request POST \ --url https://app-gateway.demo.imbrace.co/3rd/ai-service/rag/answer_question \ --header 'X-Api-Key: your-api-key' \ --header 'content-type: application/json' \ --data '{ "text": "are there any spa services in the hotel?", "instructions": "", "thread_id": "testin-4243437433gg454bbbdfm", "role": "user", "assistant_id": "83be0c01-8242-4339-b280-2606260842ae", "streaming": true }'
2. Get File by ID
3. Upload File
4. Delete File
5. Create Embedding
6. Delete Embedding by Board ID
7. Delete Embedding by Board Item ID
8. Get ECharts by Thread ID
Last updated