mlara commited on
Commit
34461a3
1 Parent(s): 7424316

third commit

Browse files
Files changed (1) hide show
  1. earnings_app.py +6 -1
earnings_app.py CHANGED
@@ -136,10 +136,15 @@ async def extract_information():
136
  response = query_engine.query(query)
137
  return str(response)
138
 
 
 
 
 
 
139
  auto_retrieve_tool = FunctionTool.from_defaults(
140
  fn=auto_retrieve_fn,
141
  name="earnings-transcripts",
142
- description="Earnings Bot",
143
  fn_schema=AutoRetrieveModel
144
  )
145
 
 
136
  response = query_engine.query(query)
137
  return str(response)
138
 
139
+ description = f"""
140
+ Who is the CEO of MSFT
141
+ The vector database schema is given below:
142
+ {vector_store_info.json()}
143
+ """
144
  auto_retrieve_tool = FunctionTool.from_defaults(
145
  fn=auto_retrieve_fn,
146
  name="earnings-transcripts",
147
+ description=description,
148
  fn_schema=AutoRetrieveModel
149
  )
150