run-llama / llama_docs_bot

Bottoms Up Development with LlamaIndex - Building a Documentation Chatbot
MIT License
138 stars 44 forks source link

TypeError in 4_embeddings/4_embeddings.ipynb #3

Open gaborberei opened 10 months ago

gaborberei commented 10 months ago

After running:

# set the batch size to 1 to avoid memory issues
# if you have a large GPU, you can increase this
instructor_embeddings = InstructorEmbeddings(embed_batch_size=1)

I receive this error:

TypeError: Can't instantiate abstract class InstructorEmbeddings with abstract methods _aget_query_embedding, _get_query_embedding, _get_text_embedding, class_name