omlakhani commited on
Commit
f35b6aa
1 Parent(s): 4015cd6

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -21,7 +21,7 @@ from llama_index import GPTSimpleVectorIndex, SimpleDirectoryReader
21
 
22
  index = GPTSimpleVectorIndex.load_from_disk('index.json')
23
 
24
- ef querying_db(query: str):
25
  response = index.query(query)
26
  return response
27
 
@@ -37,7 +37,7 @@ tools = [
37
  ]
38
 
39
  prefix = """Give a detailed answer to the question"""
40
- suffix = """Give answer in bullet points"
41
 
42
  Question: {input}
43
  {agent_scratchpad}"""
 
21
 
22
  index = GPTSimpleVectorIndex.load_from_disk('index.json')
23
 
24
+ def querying_db(query: str):
25
  response = index.query(query)
26
  return response
27
 
 
37
  ]
38
 
39
  prefix = """Give a detailed answer to the question"""
40
+ suffix = """Give answer in bullet points"""
41
 
42
  Question: {input}
43
  {agent_scratchpad}"""