|
|
|
@ -201,7 +201,8 @@
|
|
|
|
|
"metadata": {},
|
|
|
|
|
"outputs": [],
|
|
|
|
|
"source": [
|
|
|
|
|
"from swarms import Agent, Anthropic\n",
|
|
|
|
|
"from swarms import Agent
|
|
|
|
|
from swarm_models import Anthropic\n",
|
|
|
|
|
"\n",
|
|
|
|
|
"\n",
|
|
|
|
|
"## Initialize the workflow\n",
|
|
|
|
@ -240,7 +241,8 @@
|
|
|
|
|
"metadata": {},
|
|
|
|
|
"outputs": [],
|
|
|
|
|
"source": [
|
|
|
|
|
"from swarms import Agent, Anthropic, tool\n",
|
|
|
|
|
"from swarms import Agent
|
|
|
|
|
from swarm_models import Anthropic, tool\n",
|
|
|
|
|
"import subprocess\n",
|
|
|
|
|
"\n",
|
|
|
|
|
"# Model\n",
|
|
|
|
@ -361,7 +363,8 @@
|
|
|
|
|
"outputs": [],
|
|
|
|
|
"source": [
|
|
|
|
|
"from pydantic import BaseModel, Field\n",
|
|
|
|
|
"from swarms import Anthropic, Agent\n",
|
|
|
|
|
"from swarms import Agent
|
|
|
|
|
from swarm_models import Anthropic\n",
|
|
|
|
|
"\n",
|
|
|
|
|
"\n",
|
|
|
|
|
"# Initialize the schema for the person's information\n",
|
|
|
|
@ -1388,7 +1391,8 @@
|
|
|
|
|
"metadata": {},
|
|
|
|
|
"outputs": [],
|
|
|
|
|
"source": [
|
|
|
|
|
"from swarms import Agent, Anthropic, AgentRearrange \n",
|
|
|
|
|
"from swarms import Agent
|
|
|
|
|
from swarm_models import Anthropic, AgentRearrange \n",
|
|
|
|
|
"\n",
|
|
|
|
|
"## Initialize the workflow\n",
|
|
|
|
|
"agent = Agent(\n",
|
|
|
|
|