- Use your LLM’s streaming endpoint.
- Split the stream into sentences as it arrives.
- Send each sentence to the Avaturn
POST /api/v1/sessions/{id}/tasksendpoint (or callavatar.task()from the frontend).
Legacy
Streaming LLM output (legacy)
Legacy: pipe an LLM stream into the text-echo task endpoint. Use a conversation engine instead.
To stream LLM responses into a text-echo avatar: