Add examples for mixture of agents; patch doc strings (#108)

* add examples for mixture of agents

* format
This commit is contained in:
Eric Zhu
2024-06-24 07:46:53 -07:00
committed by GitHub
parent b3ef035e3e
commit 60acf8757d
6 changed files with 292 additions and 3 deletions

View File

@@ -37,7 +37,6 @@ class ChatCompletionAgent(TypeRoutedAgent):
Args:
description (str): The description of the agent.
runtime (AgentRuntime): The runtime to register the agent.
system_messages (List[SystemMessage]): The system messages to use for
the ChatCompletion API.
memory (ChatMemory[Message]): The memory to store and retrieve messages.

View File

@@ -15,7 +15,6 @@ class OpenAIAssistantAgent(TypeRoutedAgent):
Args:
description (str): The description of the agent.
runtime (AgentRuntime): The runtime to register the agent.
client (openai.AsyncClient): The client to use for the OpenAI API.
assistant_id (str): The assistant ID to use for the OpenAI API.
thread_id (str): The thread ID to use for the OpenAI API.

View File

@@ -11,7 +11,6 @@ class UserProxyAgent(TypeRoutedAgent):
Args:
description (str): The description of the agent.
runtime (AgentRuntime): The runtime to register the agent.
user_input_prompt (str): The console prompt to show to the user when asking for input.
"""