mirror of https://github.com/arc53/DocsGPT
refactored fs, fix: untracked dir
parent
d99569f005
commit
311716ed18
@ -0,0 +1,13 @@
|
|||||||
|
export type MESSAGE_TYPE = 'QUESTION' | 'ANSWER' | 'ERROR';
|
||||||
|
export type Status = 'idle' | 'loading' | 'failed';
|
||||||
|
export type FEEDBACK = 'LIKE' | 'DISLIKE';
|
||||||
|
|
||||||
|
export interface Query {
|
||||||
|
prompt: string;
|
||||||
|
response?: string;
|
||||||
|
feedback?: FEEDBACK;
|
||||||
|
error?: string;
|
||||||
|
sources?: { title: string; text: string }[];
|
||||||
|
conversationId?: string | null;
|
||||||
|
title?: string | null;
|
||||||
|
}
|
Loading…
Reference in New Issue