Closed shantanuo closed 2 months ago
Do you have the correct version of the openai
as mentioned in requirements.txt
? The embedding_utils
module does not work on newer library versions.
I am now getting this error:
RuntimeError: Error in faiss::Index* faiss::read_index(faiss::IOReader*, int) at /project/faiss/faiss/impl/index_read.cpp:1027: Index type 0x73726576 ("vers") not recognized
Please provide docker image if possible.
By the way your contributions are awesome!
I tried the code found on this page... https://github.com/rahular/itihasa/blob/gh-pages/cli_search.py
But got this error: ModuleNotFoundError: No module named 'openai.embeddings_utils'
For this line: from openai.embeddings_utils import get_embedding
Please update the code.