mirror of
https://github.com/rzmk/learnhouse.git
synced 2025-12-19 04:19:25 +00:00
fix: remove heavy local embedding model
This commit is contained in:
parent
1b57195a7a
commit
15a2c6ab4b
6 changed files with 13 additions and 860 deletions
|
|
@ -21,8 +21,8 @@ class AIConfig(BaseModel):
|
|||
enabled : bool = True
|
||||
limits: AILimitsSettings = AILimitsSettings()
|
||||
embeddings: Literal[
|
||||
"text-embedding-ada-002", "all-MiniLM-L6-v2"
|
||||
] = "all-MiniLM-L6-v2"
|
||||
"text-embedding-ada-002",
|
||||
] = "text-embedding-ada-002"
|
||||
ai_model: Literal["gpt-3.5-turbo", "gpt-4-1106-preview"] = "gpt-3.5-turbo"
|
||||
features: AIEnabledFeatures = AIEnabledFeatures()
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue