You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
swarms/playground/structs/multi_modal_flow_example.py

15 lines
291 B

# This might not work in the beginning but it's a starting point
from swarms.structs import GPT4V, Agent
llm = GPT4V()
agent = Agent(
max_loops="auto",
llm=llm,
)
agent.run(
task="Describe this image in a few sentences: ",
img="https://unsplash.com/photos/0pIC5ByPpZY",
)