AminFaraji commited on
Commit
f556f7d
·
verified ·
1 Parent(s): a004f09

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +8 -0
app.py CHANGED
@@ -73,7 +73,15 @@ embeddings = MyEmbeddings()
73
 
74
  splitter = SemanticChunker(embeddings)
75
 
 
 
76
 
 
 
 
 
 
 
77
 
78
 
79
  # Create CLI.
 
73
 
74
  splitter = SemanticChunker(embeddings)
75
 
76
+ PROMPT_TEMPLATE = """
77
+ Answer the question based only on the following context:
78
 
79
+ {context}
80
+
81
+ ---
82
+
83
+ Answer the question based on the above context: {question}
84
+ """
85
 
86
 
87
  # Create CLI.