### What problem does this PR solve? #1771 add supprot for OpenAI-API-Compatible ### Type of change - [x] New Feature (non-breaking change which adds functionality) --------- Co-authored-by: Zhedong Cen <cenzhedong2@126.com>
13 lines
293 B
TypeScript
13 lines
293 B
TypeScript
export interface IAddLlmRequestBody {
|
|
llm_factory: string; // Ollama
|
|
llm_name: string;
|
|
model_type: string;
|
|
api_base?: string; // chat|embedding|speech2text|image2text
|
|
api_key: string;
|
|
}
|
|
|
|
export interface IDeleteLlmRequestBody {
|
|
llm_factory: string; // Ollama
|
|
llm_name: string;
|
|
}
|