mirror of
https://github.com/QuivrHQ/quivr.git
synced 2024-12-15 01:21:48 +03:00
fix(brains): default brains to private because front doesn't enforce
This commit is contained in:
parent
35740ece3d
commit
3e62ddeb91
@ -25,7 +25,7 @@ class CreateApiBrainDefinition(BaseModel, extra=Extra.forbid):
|
|||||||
class CreateBrainProperties(BaseModel, extra=Extra.forbid):
|
class CreateBrainProperties(BaseModel, extra=Extra.forbid):
|
||||||
name: Optional[str] = "Default brain"
|
name: Optional[str] = "Default brain"
|
||||||
description: str = "This is a description"
|
description: str = "This is a description"
|
||||||
status: Optional[str] = "public"
|
status: Optional[str] = "private"
|
||||||
model: Optional[str]
|
model: Optional[str]
|
||||||
temperature: Optional[float] = 0.0
|
temperature: Optional[float] = 0.0
|
||||||
max_tokens: Optional[int] = 256
|
max_tokens: Optional[int] = 256
|
||||||
|
Loading…
Reference in New Issue
Block a user