mrwadams commited on
Commit
0fcb26c
β€’
1 Parent(s): cbcb2f2

Improve AssistantAgent system prompts

Browse files
Files changed (1) hide show
  1. app.py +6 -8
app.py CHANGED
@@ -159,17 +159,15 @@ async def start():
159
 
160
  reviewer = ChainlitAssistantAgent(
161
  name="Reviewer", llm_config=llm_config,
162
- system_message="""Reviewer. Reviews the policy document, focuses on the structure and clarity of the content.
163
- Ensures policies are detailed and thorough.
164
- Highly focussed on helping the Technical Writer to create a high-quality policy document.
165
- Only provides suggestions for improvement."""
166
  )
167
  writer = ChainlitAssistantAgent(
168
  name="Technical_Writer", llm_config=llm_config,
169
- system_message="""Technical Writer. Creates high-quality and detailed information security policies, focusing on recognised information security best practices.
170
- Writes policy documents that are thorough and detailed.
171
- Crafts documents using a formal and professional tone.
172
- Structures content with effective subheadings and bullet points to facilitate reader comprehension."""
173
  )
174
  user_proxy = ChainlitUserProxyAgent(
175
  name="User_Proxy",
 
159
 
160
  reviewer = ChainlitAssistantAgent(
161
  name="Reviewer", llm_config=llm_config,
162
+ system_message="""In the role of the Reviewer, your main objective is evaluating the policy document regarding its organisation and coherence, along with recommending improvements.
163
+ You must pay meticulous attention to detail and make certain that the policies are complete and precise.
164
+ Above all else, maintain a constructive attitude by offering solely helpful recommendations aimed at assisting the Technical Writer in generating top-notch policy documents."""
 
165
  )
166
  writer = ChainlitAssistantAgent(
167
  name="Technical_Writer", llm_config=llm_config,
168
+ system_message="""As the Technical Writer, your primary responsibility is creating highly detailed and informative information security policies aligned with recognised industry best practices.
169
+ Your focus is on producing well-structured documents written in a formal and professional tone, incorporating appropriate headings, subheadings, and bullet points to aid readability.
170
+ Ensure that the generated policies are exhaustive yet concise while maintaining clarity."""
 
171
  )
172
  user_proxy = ChainlitUserProxyAgent(
173
  name="User_Proxy",