Change openai default model

This commit is contained in:
Louis Dureuil 2024-09-09 13:09:35 +02:00
parent db0cf3b2ed
commit f18e9cb7b3
No known key found for this signature in database

View File

@ -66,11 +66,11 @@ pub enum EmbeddingModel {
// # WARNING // # WARNING
// //
// If ever adding a model, make sure to add it to the list of supported models below. // If ever adding a model, make sure to add it to the list of supported models below.
#[default]
#[serde(rename = "text-embedding-ada-002")] #[serde(rename = "text-embedding-ada-002")]
#[deserr(rename = "text-embedding-ada-002")] #[deserr(rename = "text-embedding-ada-002")]
TextEmbeddingAda002, TextEmbeddingAda002,
#[default]
#[serde(rename = "text-embedding-3-small")] #[serde(rename = "text-embedding-3-small")]
#[deserr(rename = "text-embedding-3-small")] #[deserr(rename = "text-embedding-3-small")]
TextEmbedding3Small, TextEmbedding3Small,