fix: harden model catalog projections
This commit is contained in:
@@ -10,6 +10,8 @@ from tht.config import EmbeddingsConfig
|
||||
|
||||
|
||||
def _cfg(**kw):
|
||||
kw.setdefault("model", "nomic-embed-text-v2-moe")
|
||||
kw.setdefault("dim", 768)
|
||||
emb = EmbeddingsConfig(base_url="http://localhost:11434", **kw)
|
||||
return SimpleNamespace(embeddings=emb)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user