yetessam commited on
Commit
2160442
·
verified ·
1 Parent(s): cee00cf

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -3
app.py CHANGED
@@ -34,11 +34,10 @@ def initialize_agent(endpoint_uri: str):
34
  model=model,
35
  tools=combined_tools,
36
  max_steps=6,
37
- verbosity_level=3,
38
  name="content_agent",
39
  description="Evaluates whether text is polite or impolite.",
40
- #prompt_templates=custom_prompts, # override prompts
41
- #instructions = custom_prompts, # adds additional instructions instead of overriding default prompt
42
  additional_authorized_imports=["pytz"],
43
  stream_outputs=True
44
  )
 
34
  model=model,
35
  tools=combined_tools,
36
  max_steps=6,
37
+ verbosity_level=5,
38
  name="content_agent",
39
  description="Evaluates whether text is polite or impolite.",
40
+ prompt_templates=custom_prompts, # override prompts
 
41
  additional_authorized_imports=["pytz"],
42
  stream_outputs=True
43
  )