Hi,
I successfully ran the stock langchain and stopwatch examples, but somehow my own function is not found. My function is in the same file as the agent config code, but It's being called as functions.analyze_image (probably because https://github.com/microsoft/autogen/blob/main/autogen/agentchat/conversable_agent.py#L2146 uses the functions.namespace) . But there is no such namespace, so I'm confused.
Relevant chatbot-to-user proxy message:
Again, you can fetch and analyze the image in a similar way:
import requests
img_data = requests.get(url).content
with open('image.png', 'wb') as handler:
handler.write(img_data)
# Analyzing the fetched image
functions.analyze_image(filename='image.png')
GitHub
Enable Next-Gen Large Language Model Applications. Join our Discord: https://discord.gg/pAbnFJrkgZ - microsoft/autogen