Files
ragflow/web/src/interfaces/request/llm.ts
balibabu d65ba3e4d7 feat: delete the added model #503 and display an error message when the requested file fails to parse #684 (#708)
### What problem does this PR solve?

feat: delete the added model #503
feat: display an error message when the requested file fails to parse
#684

### Type of change

- [x] New Feature (non-breaking change which adds functionality)
2024-05-10 10:38:39 +08:00

12 lines
274 B
TypeScript

export interface IAddLlmRequestBody {
llm_factory: string; // Ollama
llm_name: string;
model_type: string;
api_base?: string; // chat|embedding|speech2text|image2text
}
export interface IDeleteLlmRequestBody {
llm_factory: string; // Ollama
llm_name: string;
}