Update unit2/llama-index/tools.ipynb
#47
by
spanev
- opened
unit2/llama-index/tools.ipynb
CHANGED
@@ -22,7 +22,7 @@
|
|
22 |
"metadata": {},
|
23 |
"outputs": [],
|
24 |
"source": [
|
25 |
-
"!pip install llama-index datasets llama-index-callbacks-arize-phoenix llama-index-vector-stores-chroma llama-index-llms-huggingface-api -U -q"
|
26 |
]
|
27 |
},
|
28 |
{
|
@@ -105,7 +105,7 @@
|
|
105 |
"\n",
|
106 |
"from llama_index.core import VectorStoreIndex\n",
|
107 |
"from llama_index.llms.huggingface_api import HuggingFaceInferenceAPI\n",
|
108 |
-
"from llama_index.embeddings.huggingface_api import HuggingFaceInferenceAPIEmbedding\n",
|
109 |
"from llama_index.core.tools import QueryEngineTool\n",
|
110 |
"from llama_index.vector_stores.chroma import ChromaVectorStore\n",
|
111 |
"\n",
|
|
|
22 |
"metadata": {},
|
23 |
"outputs": [],
|
24 |
"source": [
|
25 |
+
"!pip install llama-index datasets llama-index-callbacks-arize-phoenix llama-index-vector-stores-chroma llama-index-llms-huggingface-api llama-index-embeddings-huggingface-api -U -q"
|
26 |
]
|
27 |
},
|
28 |
{
|
|
|
105 |
"\n",
|
106 |
"from llama_index.core import VectorStoreIndex\n",
|
107 |
"from llama_index.llms.huggingface_api import HuggingFaceInferenceAPI\n",
|
108 |
+
"from llama_index.embeddings.huggingface_api.base import HuggingFaceInferenceAPIEmbedding\n",
|
109 |
"from llama_index.core.tools import QueryEngineTool\n",
|
110 |
"from llama_index.vector_stores.chroma import ChromaVectorStore\n",
|
111 |
"\n",
|