Persist the train of thought in the conversation history

This commit is contained in:
sabaimran
2024-10-26 23:46:15 -07:00
parent 9e8ac7f89e
commit a121d67b10
5 changed files with 117 additions and 50 deletions

View File

@@ -128,6 +128,11 @@ interface Intent {
"inferred-queries": string[];
}
interface TrainOfThoughtObject {
type: string;
data: string;
}
export interface SingleChatMessage {
automationId: string;
by: string;
@@ -136,6 +141,7 @@ export interface SingleChatMessage {
context: Context[];
onlineContext: OnlineContext;
codeContext: CodeContext;
trainOfThought?: TrainOfThoughtObject[];
rawQuery?: string;
intent?: Intent;
agent?: AgentData;