mirror of
https://github.com/zylon-ai/private-gpt.git
synced 2025-12-22 23:22:57 +01:00
Add default mode option to settings
This commit is contained in:
parent
42628596b2
commit
a5e796fcea
2 changed files with 8 additions and 2 deletions
|
|
@ -350,6 +350,10 @@ class AzureOpenAISettings(BaseModel):
|
|||
class UISettings(BaseModel):
|
||||
enabled: bool
|
||||
path: str
|
||||
default_mode: str = Field(
|
||||
"RAG",
|
||||
description="The default mode.",
|
||||
)
|
||||
default_chat_system_prompt: str = Field(
|
||||
None,
|
||||
description="The default system prompt to use for the chat mode.",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue