Skip to content

Commit

Permalink
Use model for jina that uses dimension parameter
Browse files Browse the repository at this point in the history
  • Loading branch information
dirkkul committed Oct 15, 2024
1 parent f773dfe commit 26fe6eb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -366,7 +366,7 @@
Configure.NamedVectors.text2vec_jinaai(
name="title_vector",
source_properties=["title"],
model="jina-embeddings-v2-small-en",
model="jina-embeddings-v3-small-en",
dimensions=512, # e.g. 1024, 256, 64
)
],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -488,7 +488,7 @@ await client.collections.create({
weaviate.configure.vectorizer.text2VecJina({
name: 'title_vector',
sourceProperties: ['title'],
// model: 'text-embedding-3-large'
// model: 'jina-embeddings-v3-small-en'
// dimensions: 512, // e.g. 1024, 256, 64 // Support for this parameter is coming soon
},
),
Expand Down

0 comments on commit 26fe6eb

Please sign in to comment.