Ley_Fill7 commited on
Commit
7a8bebe
·
1 Parent(s): 66ce967

Updated app title and text

Browse files
Files changed (1) hide show
  1. app.py +2 -3
app.py CHANGED
@@ -5,7 +5,6 @@ from llama_index.core.indices.query.query_transform import HyDEQueryTransform
5
  from llama_index.core.llms import ChatMessage, MessageRole
6
  from llama_index.llms.nvidia import NVIDIA
7
  from llama_index.embeddings.nvidia import NVIDIAEmbedding
8
- from llama_index.core.embeddings.utils import resolve_embed_model
9
  from llama_index.core.query_engine import TransformQueryEngine
10
  from langchain_core.documents import Document as LangDocument
11
  from llama_index.core import Document as LlamaDocument
@@ -168,8 +167,8 @@ def query_model_with_context(question):
168
 
169
 
170
  # Streamlit UI
171
- st.title("Chat with HyDE + Rerank RAG App")
172
- question = st.text_input("Enter your question:")
173
 
174
  if st.button("Submit"):
175
  if question:
 
5
  from llama_index.core.llms import ChatMessage, MessageRole
6
  from llama_index.llms.nvidia import NVIDIA
7
  from llama_index.embeddings.nvidia import NVIDIAEmbedding
 
8
  from llama_index.core.query_engine import TransformQueryEngine
9
  from langchain_core.documents import Document as LangDocument
10
  from llama_index.core import Document as LlamaDocument
 
167
 
168
 
169
  # Streamlit UI
170
+ st.title("Chat with this HyDE + Rerank RAG App")
171
+ question = st.text_input("Enter a relevant question to chat with the attached PhilDataset PDF file:")
172
 
173
  if st.button("Submit"):
174
  if question: