mirror of
https://github.com/rzmk/learnhouse.git
synced 2025-12-19 04:19:25 +00:00
feat: enable ai in orgs by default
This commit is contained in:
parent
90f330e4f8
commit
457899b8fb
2 changed files with 2 additions and 2 deletions
|
|
@ -20,7 +20,7 @@ class AIEnabledFeatures(BaseModel):
|
||||||
class AIConfig(BaseModel):
|
class AIConfig(BaseModel):
|
||||||
enabled: bool = True
|
enabled: bool = True
|
||||||
limits: AILimitsSettings = AILimitsSettings()
|
limits: AILimitsSettings = AILimitsSettings()
|
||||||
embeddings: Literal["text-embedding-ada-002",] = "text-embedding-ada-002"
|
embeddings: Literal["text-embedding-ada-002"] = "text-embedding-ada-002"
|
||||||
ai_model: Literal["gpt-3.5-turbo", "gpt-4-1106-preview"] = "gpt-3.5-turbo"
|
ai_model: Literal["gpt-3.5-turbo", "gpt-4-1106-preview"] = "gpt-3.5-turbo"
|
||||||
features: AIEnabledFeatures = AIEnabledFeatures()
|
features: AIEnabledFeatures = AIEnabledFeatures()
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -165,7 +165,7 @@ async def create_org(
|
||||||
active=True,
|
active=True,
|
||||||
),
|
),
|
||||||
AIConfig=AIConfig(
|
AIConfig=AIConfig(
|
||||||
enabled=False,
|
enabled=True,
|
||||||
limits=AILimitsSettings(
|
limits=AILimitsSettings(
|
||||||
limits_enabled=False,
|
limits_enabled=False,
|
||||||
max_asks=0,
|
max_asks=0,
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue