Update unit2/llama-index/components.ipynb

#56
by YajieXu - opened

I found that the import statement
from llama_index.embeddings.huggingface import HuggingFaceInferenceAPIEmbedding
should be used instead of
from llama_index.embeddings.huggingface_api import HuggingFaceInferenceAPIEmbedding,
otherwise an error occurs.

Ready to merge
This branch is ready to get merged automatically.
Your need to confirm your account before you can post a new comment.

Sign up or log in to comment