You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
add classify command, dedup --local, update embed default model (#1)
- change embed default model from jina-embeddings-v3 to jina-embeddings-v5-text-small
- add classify subcommand: POST /v1/classify with --labels, stdin support
- add --local flag to dedup using local embeddings + cosine similarity
- extract _deduplicate_from_embeddings to share between API and local dedup
- add classify and pipe integration tests
- update README with classify docs, dedup --local, model reference
Co-authored-by: Claude <noreply@anthropic.com>
jina search "AI"| jina rerank "embeddings" --top-n 5
97
98
```
98
99
100
+
### Classify
101
+
102
+
```bash
103
+
jina classify "I love this product" --labels positive,negative,neutral
104
+
echo"stock prices rose sharply"| jina classify --labels business,sports,tech
105
+
cat texts.txt | jina classify --labels cat1,cat2,cat3 --json
106
+
```
107
+
99
108
### Deduplicate
100
109
101
110
```bash
@@ -195,7 +204,7 @@ jina grep serve stop # stop when done
195
204
196
205
## Local mode
197
206
198
-
`jina embed`and `jina rerank` support `--local` to run on Apple Silicon via the jina-grep embedding server instead of the Jina API. No API key needed.
207
+
`jina embed`, `jina rerank`, and `jina dedup` support `--local` to run on Apple Silicon via the jina-grep embedding server instead of the Jina API. No API key needed.
0 commit comments