xuyingliKepler commited on
Commit
9d5ac82
·
1 Parent(s): 001e5de

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -86,7 +86,7 @@ def answer_uniswap_question(question, qa_chain):
86
  return response["answer"]
87
 
88
  def setup_agents(config_list, answer_function):
89
- llm_config = {
90
  "request_timeout": 600,
91
  "seed": 42,
92
  "config_list": config_list,
@@ -94,13 +94,13 @@ def setup_agents(config_list, answer_function):
94
  "functions": [
95
  {
96
  "name": "answer_uniswap_question",
97
- "description": "Answer all paper related questions",
98
  "parameters": {
99
  "type": "object",
100
  "properties": {
101
  "question": {
102
  "type": "string",
103
- "description": "The question to ask in relation to the document",
104
  }
105
  },
106
  "required": ["question"],
 
86
  return response["answer"]
87
 
88
  def setup_agents(config_list, answer_function):
89
+ llm_config={
90
  "request_timeout": 600,
91
  "seed": 42,
92
  "config_list": config_list,
 
94
  "functions": [
95
  {
96
  "name": "answer_uniswap_question",
97
+ "description": "Answer any questions relate to the paper",
98
  "parameters": {
99
  "type": "object",
100
  "properties": {
101
  "question": {
102
  "type": "string",
103
+ "description": "The question to ask in relation to the paper",
104
  }
105
  },
106
  "required": ["question"],