From d2a5b50ff8cb78c1245358940e75af14ce42a32a Mon Sep 17 00:00:00 2001 From: Taranjeet Singh Date: Thu, 25 Jan 2024 11:16:17 -0800 Subject: [PATCH] add support for openai embedding models - text-em-3 (#1216) --- docs/components/embedding-models.mdx | 22 +++++++++++++++++++++- 1 file changed, 21 insertions(+), 1 deletion(-) diff --git a/docs/components/embedding-models.mdx b/docs/components/embedding-models.mdx index d41e1145..ef928913 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' +``` + + + +* 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: + + + +```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' ```