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.
15 lines
291 B
15 lines
291 B
1 year ago
|
# This might not work in the beginning but it's a starting point
|
||
1 year ago
|
from swarms.structs import Agent, GPT4V
|
||
1 year ago
|
|
||
|
llm = GPT4V()
|
||
|
|
||
1 year ago
|
agent = Agent(
|
||
1 year ago
|
max_loops="auto",
|
||
|
llm=llm,
|
||
|
)
|
||
|
|
||
1 year ago
|
agent.run(
|
||
1 year ago
|
task="Describe this image in a few sentences: ",
|
||
|
img="https://unsplash.com/photos/0pIC5ByPpZY",
|
||
|
)
|