Spaces:
Runtime error
Runtime error
thoristhor
commited on
Commit
·
6dba01e
1
Parent(s):
3364520
Migrade from GPT_index to LLama Index
Browse files
app.py
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
import os
|
2 |
import gradio as gr
|
3 |
import pinecone
|
4 |
-
from
|
5 |
from langchain.agents import Tool
|
6 |
from langchain.chains.conversation.memory import ConversationBufferMemory
|
7 |
from langchain import OpenAI
|
|
|
1 |
import os
|
2 |
import gradio as gr
|
3 |
import pinecone
|
4 |
+
from llama_index import GPTIndexMemory, GPTPineconeIndex
|
5 |
from langchain.agents import Tool
|
6 |
from langchain.chains.conversation.memory import ConversationBufferMemory
|
7 |
from langchain import OpenAI
|