From ce0dd1f5a63c7b22b49ebfa47131e11c759433eb Mon Sep 17 00:00:00 2001 From: Kye Date: Wed, 28 Feb 2024 12:13:59 -0800 Subject: [PATCH] [AZURE] --- .../structs/basic_agent_with_azure_openai.py | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 playground/structs/basic_agent_with_azure_openai.py diff --git a/playground/structs/basic_agent_with_azure_openai.py b/playground/structs/basic_agent_with_azure_openai.py new file mode 100644 index 00000000..76135a9f --- /dev/null +++ b/playground/structs/basic_agent_with_azure_openai.py @@ -0,0 +1,14 @@ +from swarms import Agent, AzureOpenAI + +## Initialize the workflow +agent = Agent( + llm=AzureOpenAI(), + max_loops="auto", + autosave=True, + dashboard=False, + streaming_on=True, + verbose=True, +) + +# Run the workflow on a task +agent("Understand the risk profile of this account")