jchen8000 commited on
Commit
52c1645
·
verified ·
1 Parent(s): 2e7924a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -31,9 +31,9 @@ It works by first retrieving relevant documents from an external knowledge sourc
31
  This method enhances factual correctness and allows the model to access up-to-date or domain-specific information without retraining.
32
 
33
  Click the button below to load a **User Guide** and an **Installation Guide** for a smoke alarm device into the vector database. It could take a couple of minutes to process.
34
- Once you see the message *"PDF indexed successfully!"*, go to the **Chatbot** tab to ask any relevant questions about the device.
35
 
36
- You can change the LLM models in the **Additional Inputs** at the bottom of the **Chatbot** tab, you can also adjust the LLM parameters there.
37
 
38
  """
39
 
@@ -103,7 +103,7 @@ def load_sample_pdf():
103
  # Store the embeddings in the vector store
104
  vector_store = FAISS.from_documents(texts, embeddings)
105
 
106
- return "PDFs indexed successfully!"
107
 
108
 
109
  def format_docs(docs):
 
31
  This method enhances factual correctness and allows the model to access up-to-date or domain-specific information without retraining.
32
 
33
  Click the button below to load a **User Guide** and an **Installation Guide** for a smoke alarm device into the vector database. It could take a couple of minutes to process.
34
+ Once you see the message *"PDF(s) indexed successfully!"*, go to the **Chatbot** tab to ask any relevant questions about the device.
35
 
36
+ You can change the LLM models in the **Additional Inputs** at the bottom of the **Chatbot** tab, in case of certain model is out of date. You can also adjust the LLM parameters there.
37
 
38
  """
39
 
 
103
  # Store the embeddings in the vector store
104
  vector_store = FAISS.from_documents(texts, embeddings)
105
 
106
+ return "PDF(s) indexed successfully!"
107
 
108
 
109
  def format_docs(docs):