탐색으로 건너뛰기

대화 턴 이벤트 스트리밍

Alpha

턴의 이벤트를 서버 전송 이벤트로 스트리밍합니다. 이벤트 이후에 재개하려면 Last-Event-ID를 전송하세요. 서버는 이벤트를 약 1시간 동안 보관합니다. 이 엔드포인트는 알파 단계이며 변경될 수 있습니다.

경로 매개변수

conversation_idstring필수

대화 ID

turn_idstring필수

턴 ID

헤더

xi-api-keystring선택 사항
Last-Event-IDstring선택 사항

응답

서버 전송 이벤트입니다. 각 이벤트에는 스트림 커서가 id로, 이벤트 유형이 event로, 스트림 엔벨로프가 data로 포함됩니다.

conversation_idstring
turn_idstring
created_at_unix_msinteger
eventobject

오류

422
Conversations Stream Turn Events Request Unprocessable Entity Error