mirror of
https://github.com/meilisearch/MeiliSearch
synced 2025-07-03 11:57:07 +02:00
Fix default dimensions for models
This commit is contained in:
parent
74c180267e
commit
32ee05ccef
1 changed files with 2 additions and 2 deletions
|
@ -68,8 +68,8 @@ impl EmbeddingModel {
|
|||
pub fn default_dimensions(&self) -> usize {
|
||||
match self {
|
||||
EmbeddingModel::TextEmbeddingAda002 => 1536,
|
||||
EmbeddingModel::TextEmbedding3Large => 1536,
|
||||
EmbeddingModel::TextEmbedding3Small => 3072,
|
||||
EmbeddingModel::TextEmbedding3Large => 3072,
|
||||
EmbeddingModel::TextEmbedding3Small => 1536,
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue