How to load existing db to similarity search?

Hi @MartinMin !!

O believe you are facing the same issue from this thread:

This error seems to come from hugging face interface at langchain:

langchain_community/embeddings/huggingface.py", line 331,

can you try this?

db = WeaviateVectorStore.from_documents(embeddings=embedding_model, client=weaviate_client, index_name='test')

My guess is that the huggingface interface in langchain is not checking when the documents passed as parameter is an empty list.