Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -10,10 +10,10 @@ from llama_index.core import (
|
|
10 |
VectorStoreIndex,
|
11 |
Document,
|
12 |
Settings,
|
13 |
-
ChatMessage,
|
14 |
)
|
15 |
from llama_index.llms.huggingface import (HuggingFaceLLM, )
|
16 |
from llama_index.llms.huggingface.api import (HuggingFaceInferenceAPI, )
|
|
|
17 |
from huggingface_hub import login
|
18 |
import chromadb as chromadb
|
19 |
from chromadb.utils import embedding_functions
|
|
|
10 |
VectorStoreIndex,
|
11 |
Document,
|
12 |
Settings,
|
|
|
13 |
)
|
14 |
from llama_index.llms.huggingface import (HuggingFaceLLM, )
|
15 |
from llama_index.llms.huggingface.api import (HuggingFaceInferenceAPI, )
|
16 |
+
from llama_index.core.base.llms import ChatMessage
|
17 |
from huggingface_hub import login
|
18 |
import chromadb as chromadb
|
19 |
from chromadb.utils import embedding_functions
|