mirror of
https://github.com/zylon-ai/private-gpt.git
synced 2025-12-22 10:45:42 +01:00
Add required Ollama setting
This commit is contained in:
parent
94ef38cbba
commit
f469b4619d
3 changed files with 4 additions and 4 deletions
|
|
@ -210,8 +210,8 @@ class OllamaSettings(BaseModel):
|
|||
description="Base URL of Ollama API. Example: 'https://localhost:11434'.",
|
||||
)
|
||||
embedding_api_base: str = Field(
|
||||
api_base, # default is same as api_base, unless specified differently
|
||||
description="Base URL of Ollama embedding API. Defaults to the same value as api_base",
|
||||
"http://localhost:11434",
|
||||
description="Base URL of Ollama embedding API. Example: 'https://localhost:11434'.",
|
||||
)
|
||||
llm_model: str = Field(
|
||||
None,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue