Download ragflow-main/web/src/pages/chat/interface.ts from pandaall/ragflow: direct link, hf CLI and curl.
- Browser
- Download file 740 Bytes
-
https://huggingface.co/datasets/pandaall/ragflow/resolve/main/ragflow-main/web/src/pages/chat/interface.ts
- Command line
-
hf download hf://datasets/pandaall/ragflow/ragflow-main/web/src/pages/chat/interface.ts
-
curl -L -o interface.ts https://huggingface.co/datasets/pandaall/ragflow/resolve/main/ragflow-main/web/src/pages/chat/interface.ts
740 Bytes
| import { IConversation, IReference, Message } from '@/interfaces/database/chat'; | |
| import { FormInstance } from 'antd'; | |
| export interface ISegmentedContentProps { | |
| show: boolean; | |
| form: FormInstance; | |
| } | |
| export interface IVariable { | |
| temperature: number; | |
| top_p: number; | |
| frequency_penalty: number; | |
| presence_penalty: number; | |
| max_tokens: number; | |
| } | |
| export interface VariableTableDataType { | |
| key: string; | |
| variable: string; | |
| optional: boolean; | |
| } | |
| export type IPromptConfigParameters = Omit<VariableTableDataType, 'variable'>; | |
| export interface IMessage extends Message { | |
| id: string; | |
| reference?: IReference; // the latest news has reference | |
| } | |
| export interface IClientConversation extends IConversation { | |
| message: IMessage[]; | |
| } | |