Skip to content

armgit / mem0

Public Imported from GitHub
0

The Memory Layer for AI Agents - Drop-in memory infrastructure for AI agents and apps. Context that persists. Built for production.

add support for openai embedding models - text-em-3 (#1216)

Taranjeet Singhd2a5b50ff8cb
diff --git a/docs/components/embedding-models.mdx b/docs/components/embedding-models.mdx
index d41e1145d..ef9289138 100644
--- a/docs/components/embedding-models.mdx
+++ b/docs/components/embedding-models.mdx
@@ -40,7 +40,27 @@ app.query("What is OpenAI?")
embedder:
provider: openai
config:
- model: 'text-embedding-ada-002'
+ model: 'text-embedding-3-small'
+```
+
+</CodeGroup>
+
+* OpenAI announced two new embedding models: `text-embedding-3-small` and `text-embedding-3-large`. Embedchain supports both these models. Below you can find YAML config for both:
+
+<CodeGroup>
+
+```yaml text-embedding-3-small.yaml
+embedder:
+ provider: openai
+ config:
+ model: 'text-embedding-3-small'
+```
+
+```yaml text-embedding-3-large.yaml
+embedder:
+ provider: openai
+ config:
+ model: 'text-embedding-3-large'
```
</CodeGroup>