Improve AssistantAgent system prompts
Browse files
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
|
163 |
-
|
164 |
-
|
165 |
-
Only provides suggestions for improvement."""
|
166 |
)
|
167 |
writer = ChainlitAssistantAgent(
|
168 |
name="Technical_Writer", llm_config=llm_config,
|
169 |
-
system_message="""Technical Writer
|
170 |
-
|
171 |
-
|
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",
|