add word vector cache with JSON and add a constant for the word to compare with

This commit is contained in:
csd4ni3l
2025-08-09 10:30:57 +02:00
parent ba811d3ce7
commit a8ee1c90ae
2 changed files with 14 additions and 3 deletions

View File

@@ -7,5 +7,6 @@ JINA_HEADERS = {
RICKROLL_LINK = "https://www.youtube.com/watch?v=xvFZjo5PgG0"
UPLOAD_DIR = "uploads"
MINIMUM_COSINE_SIMILARITY = 0.7
WORD_TO_COMPARE = "hand touching grass"
UPLOAD_DIR = os.path.join(os.getcwd(), UPLOAD_DIR)