Spaces:
Build error
Build error
Update rag_agent.py
Browse files- rag_agent.py +1 -1
rag_agent.py
CHANGED
|
@@ -1,6 +1,6 @@
|
|
| 1 |
import os
|
| 2 |
from llama_index.core import VectorStoreIndex, SimpleDirectoryReader, ServiceContext
|
| 3 |
-
from llama_index.
|
| 4 |
from llama_index.core.tools import QueryEngineTool, ToolMetadata
|
| 5 |
|
| 6 |
# Build Service Context with preferred model
|
|
|
|
| 1 |
import os
|
| 2 |
from llama_index.core import VectorStoreIndex, SimpleDirectoryReader, ServiceContext
|
| 3 |
+
from llama_index.llms.openai import OpenAI
|
| 4 |
from llama_index.core.tools import QueryEngineTool, ToolMetadata
|
| 5 |
|
| 6 |
# Build Service Context with preferred model
|