Ritesh-hf commited on
Commit
d22a473
1 Parent(s): 8420cde

made some changes in prompt

Browse files
Files changed (1) hide show
  1. app.py +3 -2
app.py CHANGED
@@ -66,7 +66,7 @@ def initialize_pinecone(index_name: str):
66
  ##################################################
67
 
68
  # Initialize Pinecone index and BM25 encoder
69
- pinecone_index = initialize_pinecone("updates-adib-bank")
70
  bm25 = BM25Encoder().load("./updated-adib-bank.json")
71
 
72
  ##################################################
@@ -127,7 +127,8 @@ When responding to queries, follow these guidelines:
127
 
128
  3. Proper Citations:
129
  - ALWAYS USE INLINE CITATIONS with embed source URLs where users can verify information or explore further.
130
- - The inline citations should be in the format [1], [2], etc., in the response with links to reference sources.
 
131
 
132
  FOLLOW ALL THE GIVEN INSTRUCTIONS, FAILURE TO DO SO WILL RESULT IN TERMINATION OF THE CHAT.
133
 
 
66
  ##################################################
67
 
68
  # Initialize Pinecone index and BM25 encoder
69
+ pinecone_index = initialize_pinecone("updated-adib-bank")
70
  bm25 = BM25Encoder().load("./updated-adib-bank.json")
71
 
72
  ##################################################
 
127
 
128
  3. Proper Citations:
129
  - ALWAYS USE INLINE CITATIONS with embed source URLs where users can verify information or explore further.
130
+ - The inline citations should be in the format [1], [2], etc.
131
+ - DO not inlcude references at the end of response.
132
 
133
  FOLLOW ALL THE GIVEN INSTRUCTIONS, FAILURE TO DO SO WILL RESULT IN TERMINATION OF THE CHAT.
134