MCPcopy
hub / github.com/arc53/DocsGPT / Query

Interface Query

frontend/src/conversation/conversationModels.ts:56–77  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

54}
55
56export interface Query {
57 prompt: string;
58 response?: string;
59 feedback?: FEEDBACK;
60 conversationId?: string | null;
61 title?: string | null;
62 thought?: string;
63 sources?: { title: string; text: string; link: string }[];
64 tool_calls?: ToolCallsType[];
65 error?: string;
66 attachments?: { id: string; fileName: string }[];
67 structured?: boolean;
68 schema?: object;
69 research?: ResearchState;
70 // WAL placeholder id; lets the client tail an in-flight stream.
71 messageId?: string;
72 messageStatus?: MessageStatus;
73 requestId?: string;
74 lastHeartbeatAt?: string;
75 // Persisted so Retry can re-send the same key for server-side dedup.
76 idempotencyKey?: string;
77}
78
79export interface RetrievalPayload {
80 question: string;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected