Remove corpus counts from chat chrome
This commit is contained in:
@@ -23,6 +23,26 @@ export interface Citation {
|
||||
sourceCropUrl?: string;
|
||||
}
|
||||
|
||||
export interface AnswerClaim {
|
||||
text: string;
|
||||
/** Stable backend chunk ids; resolved against `message.citations` by the UI. */
|
||||
sourceIds: string[];
|
||||
}
|
||||
|
||||
export interface AnswerBlock {
|
||||
title: string;
|
||||
kind: "fact_list" | "warning" | "dosage" | string;
|
||||
claims: AnswerClaim[];
|
||||
}
|
||||
|
||||
export interface AnswerPlan {
|
||||
verbosity: "concise" | "normal" | "detailed";
|
||||
layout: "prose" | "bullet_list" | "dosage" | string;
|
||||
reasoningMode: "direct_lookup" | "synthesis" | "grounded_inference" | string;
|
||||
showHeading: boolean;
|
||||
needsWarning: boolean;
|
||||
}
|
||||
|
||||
export interface ChatMessage {
|
||||
id: string;
|
||||
role: "user" | "assistant";
|
||||
@@ -44,6 +64,10 @@ export interface ChatMessage {
|
||||
* and the UI must fall back to free text either way.
|
||||
*/
|
||||
quickReplies?: string[];
|
||||
/** Verified semantic structure from the answer service; never inferred from prose by the UI. */
|
||||
blocks?: AnswerBlock[];
|
||||
answerMode?: "concise" | "normal" | "detailed";
|
||||
answerPlan?: AnswerPlan;
|
||||
}
|
||||
|
||||
export interface SendMessageRequest {
|
||||
|
||||
Reference in New Issue
Block a user