siddh4rth commited on
Commit
09d4b23
·
1 Parent(s): 35efb8c

updated app file

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -15,7 +15,7 @@ limit = 5000
15
 
16
  embed_model = "text-embedding-ada-002"
17
 
18
- index_name = 'extractive-qa'
19
  index = pinecone.Index(index_name)
20
 
21
  # retrieve relevant answers
@@ -68,7 +68,7 @@ def complete(prompt):
68
  messages=[
69
  {
70
  "role": "system",
71
- "content": "Answer the question based on the context below."
72
  },
73
  {
74
  "role": "user",
 
15
 
16
  embed_model = "text-embedding-ada-002"
17
 
18
+ index_name = 'consulting-docs'
19
  index = pinecone.Index(index_name)
20
 
21
  # retrieve relevant answers
 
68
  messages=[
69
  {
70
  "role": "system",
71
+ "content": "Answer the question based on the context below and the document provided."
72
  },
73
  {
74
  "role": "user",