Aller au contenu
Sursa Developers

Objets

ChatDone

Résultat de la réponse : l’événement done du flux /v1/chat.

Champs

  • type"done"obligatoire
  • answerstringobligatoire
  • question_idintegerobligatoire
  • querystring
  • collectionstringobligatoire
  • sourcesarray of Sourceobligatoire
  • table_queriesarray of TableQueryobligatoire
  • datasetsarray of Datasetobligatoire
  • chartsarray of ChartSpecobligatoire
  • warningsarray of AnswerWarningobligatoire
  • timingsTimingsobligatoire
  • provenancearray of NumberProvenance
  • emptystring

    Valeurs autorisées: no_hitsrestrictedguardrailno_data_for_period

  • verificationAnswerVerification
  • alt_periodsarray of AnswerAltPeriod

    items ≤ 6

  • drilldownarray of AnswerDrilldown

    items ≤ 20

  • restrictedRestrictedInfo
  • verified_onlyboolean
  • cachedboolean
  • out_of_scopeAnswerOutOfScope
  • attachmentsarray of Attachment
  • export_errorstring
  • toolsstring | null

    Raison de l’utilisation d’outils pour cette réponse : request (demandé explicitement) ; compare, compute, action (selon la question) ; needs_calc (un calcul sur des tableaux est nécessaire) ; summary (une vue d’ensemble d’une collection ou de documents) ; mcp (l’organisation a connecté des serveurs MCP externes).

    Valeurs autorisées: requestcomparecomputeactionneeds_calcsummarymcpnull

  • tool_callsarray of ToolCallInfo
  • calculationsarray of Calculation
  • pending_actionsarray of PendingAction
  • entitiesarray of AnswerEntityobligatoire
  • followupsarray of Followupobligatoire
  • conversation_idstring

    Uniquement pour POST /v1/chat avec une conversation.

  • answer_idstring

    ID de l’objet réponse.

Fait partie de

ChatEvent