mirror of https://github.com/arc53/DocsGPT
Merge branch 'arc53:main' into feature
commit
062b108259
@ -0,0 +1,14 @@
|
|||||||
|
# Security Policy
|
||||||
|
|
||||||
|
## Supported Versions
|
||||||
|
|
||||||
|
Supported Versions:
|
||||||
|
|
||||||
|
Currently, we support security patches by committing changes and bumping the version published on Github.
|
||||||
|
|
||||||
|
## Reporting a Vulnerability
|
||||||
|
|
||||||
|
Found a vulnerability? Please email us:
|
||||||
|
|
||||||
|
security@arc53.com
|
||||||
|
|
@ -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