Spaces:
Running
Running
updated variable name in agent
Browse files
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 |
-
|
50 |
-
|
51 |
-
|
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",
|