Update unit2/llama-index/components.ipynb

#56

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.

Hugging Face Agents Course org

Thanks for the update!
We're closing this since we've made some internal changes, updating the notebooks. If the issue persists, feel free to reopen the PR.
Apologies for the inconvenience, and thanks again for your contribution!

sergiopaniego changed pull request status to closed

Sign up or log in to comment