fix the word embedding cache being included in git and try switching to v3 which might fix jina being so slow

This commit is contained in:
csd4ni3l
2025-08-21 19:23:13 +02:00
parent ab43d9bceb
commit e9d0bf914a
2 changed files with 3 additions and 2 deletions

3
.gitignore vendored
View File

@@ -180,4 +180,5 @@ test*.py
logs/
logs
uploads/
data.db
data.db
compared_word_emb.json

View File

@@ -14,7 +14,7 @@ def get_embedding(input: list):
headers["Authorization"] = f"Bearer {os.environ['JINA_TOKEN']}"
data = {
"model": "jina-embeddings-v4",
"model": "jina-embeddings-v3",
"task": "text-matching",
"input": input
}