ข้ามไปยังเนื้อหา
Sursa Developers

ออบเจ็กต์

AnswerResponse

คำตอบของผู้ช่วย (POST /v1/ask POST /v1/chat แบบไม่สตรีม และอีเวนต์ done ของสตรีม) มีหลายรูปแบบ: คำตอบปกติ “ไม่มีเอกสาร” (empty: no_hits โดยไม่มี provenance) การปฏิเสธในหัวข้อที่จำกัด (empty: restricted พร้อม restricted) และการปฏิเสธตามเกณฑ์ป้องกัน (empty: guardrail พร้อม guardrail โดยข้อความเป็นข้อความปฏิเสธมาตรฐานขององค์กร) คำตอบจากแคชมี cached: true และ cache_hit (การถามซ้ำแบบตรงทุกตัวอักษรหรือคำตอบของคำถามที่คล้ายกัน) คำตอบที่อิงเฉพาะการ์ดที่ผ่านการตรวจสอบ (VERIFIED_ONLY) มี verified_only: true

ฟิลด์

  • answerstringจำเป็น
  • question_idintegerจำเป็น
  • querystring
  • collectionstringจำเป็น
  • sourcesarray of Sourceจำเป็น
  • table_queriesarray of TableQueryจำเป็น
  • datasetsarray of Datasetจำเป็น
  • chartsarray of ChartSpecจำเป็น
  • warningsarray of AnswerWarningจำเป็น
  • timingsTimingsจำเป็น
  • provenancearray of NumberProvenance
  • emptystring

    ค่าที่ใช้ได้: 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

    เหตุผลที่ใช้เครื่องมือสำหรับคำตอบนี้: request (ขออย่างชัดเจน) compare compute และ action (ตามคำถาม) needs_calc (ต้องคำนวณจากตาราง) summary (ภาพรวมของคอลเลกชันหรือเอกสาร) และ mcp (องค์กรเชื่อมต่อเซิร์ฟเวอร์ MCP ภายนอกไว้)

    ค่าที่ใช้ได้: requestcomparecomputeactionneeds_calcsummarymcpnull

  • tool_callsarray of ToolCallInfo
  • calculationsarray of Calculation
  • pending_actionsarray of PendingAction
  • entitiesarray of AnswerEntityจำเป็น
  • followupsarray of Followupจำเป็น
  • conversation_idstring

    เฉพาะ POST /v1/chat ที่มีบทสนทนา

  • answer_idstring

    ID ของออบเจ็กต์คำตอบ

ใช้โดย

เป็นส่วนหนึ่งของ

ChatDone