arjunanand13 commited on
Commit
3fa5f3b
1 Parent(s): 8326015

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -2
app.py CHANGED
@@ -69,7 +69,7 @@ class DocumentRetrievalAndGeneration:
69
  print("CHUNK", idx)
70
  print(self.all_splits[idx].page_content)
71
  print("############################")
72
- prompt = f"""
73
  You are a knowledgeable assistant with access to a comprehensive database.
74
  I need you to answer my question and provide related information in a specific format.
75
  I have provided five relatable json files {content}, choose the most suitable chunks for answering the query
@@ -86,7 +86,8 @@ class DocumentRetrievalAndGeneration:
86
 
87
  Example2
88
  Query: "Can BQ25896 support I2C interface?",
89
- Solution: "Yes, the BQ25896 charger supports the I2C interface for communication.",
 
90
  """
91
  # prompt = f"Query: {query}\nSolution: {content}\n"
92
 
 
69
  print("CHUNK", idx)
70
  print(self.all_splits[idx].page_content)
71
  print("############################")
72
+ prompt = f"""<s>
73
  You are a knowledgeable assistant with access to a comprehensive database.
74
  I need you to answer my question and provide related information in a specific format.
75
  I have provided five relatable json files {content}, choose the most suitable chunks for answering the query
 
86
 
87
  Example2
88
  Query: "Can BQ25896 support I2C interface?",
89
+ Solution: "Yes, the BQ25896 charger supports the I2C interface for communication."
90
+ </s>
91
  """
92
  # prompt = f"Query: {query}\nSolution: {content}\n"
93