mem0
mem0 copied to clipboard
configuration not effective
🐛 Describe the bug
openai_embeddings = OpenAIEmbeddings( model="text-embedding-3-small", dimensions=512, api_key="sk-xxxx", )
# 配置向量存储
config={
"vector_store": {
"provider": vector_store,
"config": {
"url": milvus_host,
"token": milvus_token
},
"embedder": {
"provider": "langchains",
"config": {
"model": openai_embeddings,
"embedding_dims": 512,
}
}
}}
client = Memory.from_config(config)
embedder configuration is not effective。 api_key is not effective
@qq1972474341 It's langchain as provider and not langchains. You can update the mem0 version and try it out again.
Closing as it's been fixed.