Spaces:
Paused
Paused
dtrejopizzo
commited on
Commit
•
a5d9ed3
1
Parent(s):
4cca4c9
Update app.py
Browse files
app.py
CHANGED
@@ -1,5 +1,6 @@
|
|
1 |
from llama_index import Prompt, SimpleDirectoryReader, LLMPredictor, PromptHelper, StorageContext, ServiceContext, GPTVectorStoreIndex, load_index_from_storage
|
2 |
from langchain.chat_models import ChatOpenAI
|
|
|
3 |
from langchain.prompts import HumanMessagePromptTemplate
|
4 |
from langchain.schema.messages import SystemMessage
|
5 |
import gradio as gr
|
|
|
1 |
from llama_index import Prompt, SimpleDirectoryReader, LLMPredictor, PromptHelper, StorageContext, ServiceContext, GPTVectorStoreIndex, load_index_from_storage
|
2 |
from langchain.chat_models import ChatOpenAI
|
3 |
+
from langchain.prompts import ChatPromptTemplate
|
4 |
from langchain.prompts import HumanMessagePromptTemplate
|
5 |
from langchain.schema.messages import SystemMessage
|
6 |
import gradio as gr
|