Update README.md
Browse files
README.md
CHANGED
@@ -257,7 +257,8 @@ model = SentenceTransformer(
|
|
257 |
"jinaai/jina-embeddings-v3", trust_remote_code=True
|
258 |
)
|
259 |
|
260 |
-
|
|
|
261 |
```
|
262 |
|
263 |
|
|
|
257 |
"jinaai/jina-embeddings-v3", trust_remote_code=True
|
258 |
)
|
259 |
|
260 |
+
task='retrieval.query'
|
261 |
+
embeddings = model.encode(['What is the weather like in Berlin today?'], task_type=task_type, prompt_name=task)
|
262 |
```
|
263 |
|
264 |
|