Skip to content

add classify --local mode#2

Merged
hanxiao merged 1 commit intomainfrom
classify-local
Mar 14, 2026
Merged

add classify --local mode#2
hanxiao merged 1 commit intomainfrom
classify-local

Conversation

@hanxiao
Copy link
Member

@hanxiao hanxiao commented Mar 14, 2026

  • Add local_classify() in api.py: embeds texts + labels locally, cosine similarity picks best label
  • Add --local flag to jina classify command
  • Add unit tests with mock embeddings
  • Update README local mode section

Co-Authored-By: Claude <noreply@anthropic.com>
@hanxiao hanxiao merged commit f093e8a into main Mar 14, 2026
1 check passed
@hanxiao hanxiao deleted the classify-local branch March 14, 2026 10:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant