mirror of
https://github.com/imartinez/privateGPT.git
synced 2025-09-23 20:17:24 +00:00
Add required Ollama setting
This commit is contained in:
@@ -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,
|
||||
|
Reference in New Issue
Block a user