Skip to content

Commit fde6c63

Browse files
committed
added docstring
1 parent 5db07e3 commit fde6c63

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

nextpy/ai/agent/assistant_agent.py

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,23 @@ class AssistantAgent(BaseAgent):
5050
:type functions_before_call: List[Callable], optional
5151
:param functions_after_call: List of functions to be called after the main function call. Default is None.
5252
:type functions_after_call: List[Callable], optional
53+
54+
The assistant agent is built on top of the existing BaseAgent and serves as a simple interface for creating an AI assistant agent.
55+
It provides a convenient way to define an AI assistant agent that can interact with users in a conversational manner.
56+
The assistant agent can be customized with a name, language model, memory, and other parameters.
57+
It also supports asynchronous mode, allowing it to handle multiple conversations simultaneously.
58+
59+
MultiagentManager can be used to manage multiple assistant agents and coordinate their interactions with users.
60+
61+
62+
Example:
63+
64+
65+
tailwind_agent = AssistantAgent(name='Tailwind Class Generator', llm=llm, memory=None, async_mode=False,
66+
system_message='''automates the creation of Tailwind CSS classes, streamlining the process of building stylish and responsive user interfaces. By leveraging advanced algorithms and design principles, the Tailwind Class Generator analyzes your design elements and dynamically generates the optimal set of Tailwind utility classes.
67+
This tool is designed to enhance efficiency in web development, allowing developers to focus more on high-level design decisions and less on manually crafting individual CSS rules. With the Tailwind Class Generator, achieving a visually appealing and consistent design becomes a seamless experience.
68+
'''
69+
)
5370
"""
5471

5572
DEFAULT_PROMPT = '''

0 commit comments

Comments
 (0)