Fix: Properly check numpy array length instead of truthiness to avoid ambiguity error 8d18a79 jnalv commited on Jan 6
Fix: Use query_texts instead of query_embeddings for better compatibility with HF Spaces ChromaDB eada2c9 jnalv commited on Jan 6
Fix: Use query() with distances and compute actual similarities for least similar words a298b4e jnalv commited on Jan 6
Fix: Use get() with limit instead of query() to avoid ChromaDB query issues on HF Spaces 731a733 jnalv commited on Jan 6
Fix: Add error handling and use 2000-word sample for most/least similar 9fbadd1 jnalv commited on Jan 6
Fix: Properly compute cosine similarity for most/least similar by fetching subset and calculating manually c6796a5 jnalv commited on Jan 6
Fix: Use ChromaDB query() instead of get() to avoid memory issues with large collections 4f8a417 jnalv commited on Jan 6