ofermend commited on
Commit
382520d
·
1 Parent(s): 6812632

updated variable name in agent

Browse files
Files changed (1) hide show
  1. agent.py +3 -4
agent.py CHANGED
@@ -46,11 +46,10 @@ def create_assistant_tools(cfg):
46
  state: Optional[str] = Field(default=None,
47
  description="The two digit state code. Optional.",
48
  examples=['CA', 'US', 'WA'])
49
- type: Optional[str] = Field(default=None,
50
- description="The type of policy. Optional",
51
- examples = ['Laws and Regulations', 'State Incentives', 'Incentives', 'Utility / Private Incentives', 'Programs'])
52
 
53
-
54
 
55
  ask_policies = vec_factory_2.create_rag_tool(
56
  tool_name = "ask_policies",
 
46
  state: Optional[str] = Field(default=None,
47
  description="The two digit state code. Optional.",
48
  examples=['CA', 'US', 'WA'])
49
+ policy_type: Optional[str] = Field(default=None,
50
+ description="The type of policy. Optional",
51
+ examples = ['Laws and Regulations', 'State Incentives', 'Incentives', 'Utility / Private Incentives', 'Programs'])
52
 
 
53
 
54
  ask_policies = vec_factory_2.create_rag_tool(
55
  tool_name = "ask_policies",