Skip to content

Commit

Permalink
fix: evaluator
Browse files Browse the repository at this point in the history
  • Loading branch information
hanxiao committed Feb 22, 2025
1 parent c73a673 commit 86c9ccb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/tools/jina-dedup.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import {TokenTracker} from "../utils/token-tracker";
import {JINA_API_KEY} from "../config";

const JINA_API_URL = 'https://api.jina.ai/v1/embeddings';
const SIMILARITY_THRESHOLD = 0.93; // Adjustable threshold for cosine similarity
const SIMILARITY_THRESHOLD = 0.88; // Adjustable threshold for cosine similarity

const JINA_API_CONFIG = {
MODEL: 'jina-embeddings-v3',
Expand Down

0 comments on commit 86c9ccb

Please sign in to comment.