Spaces:
Sleeping
Sleeping
Update rag_routerv2.py
Browse files- rag_routerv2.py +1 -0
rag_routerv2.py
CHANGED
@@ -12,6 +12,7 @@ import csv
|
|
12 |
|
13 |
# LlamaIndex imports
|
14 |
from llama_index.core import Settings, SimpleDirectoryReader, VectorStoreIndex
|
|
|
15 |
from llama_index.vector_stores.lancedb import LanceDBVectorStore
|
16 |
from llama_index.embeddings.fastembed import FastEmbedEmbedding
|
17 |
from llama_index.core import StorageContext, load_index_from_storage
|
|
|
12 |
|
13 |
# LlamaIndex imports
|
14 |
from llama_index.core import Settings, SimpleDirectoryReader, VectorStoreIndex
|
15 |
+
from llama_index.core.schema import TextNode
|
16 |
from llama_index.vector_stores.lancedb import LanceDBVectorStore
|
17 |
from llama_index.embeddings.fastembed import FastEmbedEmbedding
|
18 |
from llama_index.core import StorageContext, load_index_from_storage
|