Przejdź do głównej zawartości

Voice input with text response

POST 

/chat/voice

Send audio input and receive a text response from the AI assistant. Transcribes audio using STT, processes with the AI agent, returns text response.

Streaming Mode: Add stream: "true" in form data to receive SSE stream with:

  • transcription event (STT result)
  • stream_start, token, agent_response events (AI response)
  • stream_end event with performance metrics

Note: This endpoint uses a different base path: /api/chat/voice

Request

Responses

Standard Mode: JSON response with transcription and AI response.

Streaming Mode: SSE stream with transcription and response events.

Gotowy, aby podnieść swoje
doświadczenie użytkownika?

Wdrażaj asystentów AI, którzy zachwycają klientów i rozwijają się wraz z Twoją firmą.

zgodne z RODO