mirror of
https://github.com/arc53/DocsGPT.git
synced 2025-11-30 17:13:15 +00:00
refactors the conversation model from singular messages to queries
consisting of prompt and response
This commit is contained in:
@@ -8,7 +8,7 @@ export interface Message {
|
||||
}
|
||||
|
||||
export interface ConversationState {
|
||||
conversation: Message[];
|
||||
queries: Query[];
|
||||
status: Status;
|
||||
}
|
||||
|
||||
@@ -22,4 +22,5 @@ export interface Query {
|
||||
prompt: string;
|
||||
response?: string;
|
||||
feedback?: FEEDBACK;
|
||||
error?: string;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user