如何把向量模型改成使用ollama里的向量模型? #4677
Unanswered
icewizardry
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
我在ollama里装nomic-embed-text这个向量模型,把model_settings.yaml里的DEFAULT_EMBEDDING_MODEL改成了nomic-embed-text:v1.5,但是启动后进行知识库问答,还是提示“failed to access embed model 'bge-large-zh-v1.5': 'NoneType' object has no attribute 'embed_query'”,要怎么配置才能使用ollama里的向量模型?
下面是model_settings.yaml里修改关于向量模型的点:
DEFAULT_EMBEDDING_MODEL: nomic-embed-text:v1.5
auto_detect_model: false(改成true也不行)
embed_models: ['nomic-embed-text:v1.5']
MODEL_PLATFORMS:
embed_models:
Beta Was this translation helpful? Give feedback.
All reactions