Skip to content

Commit

Permalink
Add basic Jina v3 example
Browse files Browse the repository at this point in the history
  • Loading branch information
databyjp committed Oct 10, 2024
1 parent 91c67ef commit 2de463a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -366,7 +366,9 @@
Configure.NamedVectors.text2vec_jinaai(
name="title_vector",
source_properties=["title"],
model="jina-embeddings-v2-small-en"
model="jina-embeddings-v2-small-en",
dimensions=512, # e.g. 1024, 256, 64
task_type="retrieval.passage" # or "text-matching"
)
],
# highlight-end
Expand Down
1 change: 1 addition & 0 deletions developers/weaviate/model-providers/jinaai/embeddings.md
Original file line number Diff line number Diff line change
Expand Up @@ -262,6 +262,7 @@ The query below returns the `n` best scoring objects from the database, set by `

### Available models

- `jina-embeddings-v3` (Added in Weaviate `v1.26.5` and `v1.27`)
- `jina-embeddings-v2-base-en` (Default)
- `jina-embeddings-v2-small-en`

Expand Down

0 comments on commit 2de463a

Please sign in to comment.