### What problem does this PR solve? add support for ollama Issue link:#221 ### Type of change - [x] New Feature (non-breaking change which adds functionality)
This commit is contained in:
6
web/src/interfaces/request/llm.ts
Normal file
6
web/src/interfaces/request/llm.ts
Normal file
@@ -0,0 +1,6 @@
|
||||
export interface IAddLlmRequestBody {
|
||||
llm_factory: string; // Ollama
|
||||
llm_name: string;
|
||||
model_type: string;
|
||||
api_base?: string; // chat|embedding|speech2text|image2text
|
||||
}
|
||||
Reference in New Issue
Block a user