Skip to content

SessionInputReceipt

This content is not available in your language yet.

会话级输入凭据:在查询输入凭据之上附会话 id、历史纪元与耐久性级别(仅 memory)。

  • QueryInputReceipt

readonly durability: "memory";

readonly historyEpoch: string;

readonly inputId: string;
QueryInputReceipt.inputId

readonly ordinal: number;
QueryInputReceipt.ordinal

readonly optional reason?: QueryInputReason;
QueryInputReceipt.reason

readonly revision: number;
QueryInputReceipt.revision

readonly sessionId: string;

readonly source: "strict" | "legacy";
QueryInputReceipt.source

readonly state: "closed" | "cancelled" | "reserved" | "accepted" | "consumed";

consumed 仅证明已加入历史,不证明模型收到/回答或历史已经耐久写入。

QueryInputReceipt.state

readonly turnId: string;
QueryInputReceipt.turnId