from docs, we can send commands to conversation API and receive responses using Restful API
Can I do the same with a voice assistant using openai conversation add on as its conversation agent?
from docs, we can send commands to conversation API and receive responses using Restful API
Can I do the same with a voice assistant using openai conversation add on as its conversation agent?
We can!
still use /api/conversation/process
endpoint.
and specify the agent_id in the request body.
{
"text": "are my kitchen lights on?",
"language": "en",
"agent_id": "conversation.id1234"
}
@BjornPython
I’m using Fallback Converstion to combine Home Assistant Agent with Extend OpenAI conversation agent.
Can you show me where I can get agent_id ?
And how can I get respond from OpenAi agent ?. As docs, It seem just receive responses from Home Assistant Agent
Sure,
just go to developer tools > actions tab
select Conversation: process
tick the agent checkbox, and select your assistant
after this just press the go to yaml mode
button, and you can see your agent id there.
it is a bit confusing how to find, and the agent_id option isn’t mentioned in the Conversation API docs.
And how can I get respond from OpenAi agent
after providing the agent_id, the response is now from the openai agent.