From f18e9cb7b3be5354539275dc5fe622d0d0de4194 Mon Sep 17 00:00:00 2001 From: Louis Dureuil Date: Mon, 9 Sep 2024 13:09:35 +0200 Subject: [PATCH] Change openai default model --- milli/src/vector/openai.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/milli/src/vector/openai.rs b/milli/src/vector/openai.rs index cef45f90e..152d1fb7a 100644 --- a/milli/src/vector/openai.rs +++ b/milli/src/vector/openai.rs @@ -66,11 +66,11 @@ pub enum EmbeddingModel { // # WARNING // // If ever adding a model, make sure to add it to the list of supported models below. - #[default] #[serde(rename = "text-embedding-ada-002")] #[deserr(rename = "text-embedding-ada-002")] TextEmbeddingAda002, + #[default] #[serde(rename = "text-embedding-3-small")] #[deserr(rename = "text-embedding-3-small")] TextEmbedding3Small,