Skip to content
Sursa Developers

Objects

UnfinishedTurn

Fields

  • answer_idstringrequired
  • questionstringrequired
  • answerstringrequired

    Part of the text received before the stop or the error (empty for a hidden answer).

  • statestringrequired

    streaming — the answer is still being written on the server (the client reloads the feed).

    Allowed values: stoppedfailedstreaming

  • error_codestring

    Error code of a failed turn (a title by code, without the error text). out_of_scope — the answer is hidden because it relies only on documents of readable collections outside the selected one (like the out_of_scope code of the error event).

    Allowed values: internaltimeoutforbiddensources_inaccessibleserver_restartout_of_scope

  • reasonstring

    Kind of hiding for error_code = sources_inaccessible — like reason of the error event (sources_unavailable, awaiting_classification); no field — the sources are closed by permissions (access can be requested). Added in 1.58.0.

  • created_atstring (date-time)required

Part of

ConversationDetail