How to define configurations?
The config is defined as an object (or dictionary) with two main keys:embedder: Specifies the embedder provider and its configurationprovider: The name of the embedder (e.g., “openai”, “ollama”)config: A nested object or dictionary containing provider-specific settings
How to use configurations?
Here’s a general example of how to use the config with mem0:Why is Config Needed?
Config is essential for:- Specifying which embedding model to use.
- Providing necessary connection details (e.g., model, api_key, embedding_dims).
- Ensuring proper initialization and connection to your chosen embedder.
Master List of All Params in Config
Here’s a comprehensive list of all parameters that can be used across different embedders:- Python
- TypeScript