Comments (5)
@4thfever Here we use Openai embedding model, that's the reason it's asking for Openai key. I'll update the docs to make it more clear.
can we use other Embedding models like "models/text-embedding-004" instead of openai
from mem0.
Hi @4thfever
The issue is occurring because the default embedder is set to openai if not provided in config. And it requires api keys to be set.
You can try using different embedder in config (e.g. huggingface, ollama).
Please refer to #1574 before changing embedder to avoid exceptions.
from mem0.
Hi, thanks for reply.
I'll give it a try
from mem0.
@4thfever Here we use Openai embedding model, that's the reason it's asking for Openai key. I'll update the docs to make it more clear.
from mem0.
@Rajesh9998 We will soon add support to use different embedding models.
from mem0.
Related Issues (20)
- How to save and load a database from local in mem0? HOT 6
- Add method and search method bug HOT 3
- memory.add is bug
- Can't get useful result after indexing a github repo
- Compatibility with chromadb ^0.5.0
- [Question] Proper way to get memory_id
- How to use custom OLLAMA created model? HOT 5
- adding same memory twice deletes old memory HOT 4
- DOC: Incorrect Vector Store Provider Name in Documentation - Should be 'chromadb' Instead of 'chroma' HOT 2
- The local vector database configuration does not allow customizing the collection_name through the settings. HOT 1
- Missing param and return types in Chroma and Qdrant vector stores HOT 2
- Unable to configure custom embedding dimension for ChromaDB backend, resulted into embedding size mismatch HOT 2
- 'local' = True, does not work for embedder, only works for llm model
- Take api_key from config or os for llms HOT 4
- I can't set OPENAI_API_BASE
- set `api_version='v1.1'`. The current format will be removed in mem0ai 1.1.0 HOT 3
- adding same document multiple times should reject that in search level
- Does the llm not support models on hugging face (open source)?
- Warning: Missing property name is: name/embedding HOT 1
- Failed to add batch due to a bad request: Object of type function is not JSON serializable
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mem0.