swarms/playground/agents/omnimodal_agent_example.py

10 lines
194 B

from swarms.models import OpenAIChat
from swarms.agents import OmniModalAgent
llm = OpenAIChat(model_name="gpt-4")
agent = OmniModalAgent(llm)
agent.run("Create a video of a swarm of fish")