I changed the description to this: tool_metadata = ToolMetadata(
name=f"vector
tool{email_metadata['message_id']}",
description=f"Useful for analyzing specific aspects of this email with the id: {email_metadata['message_id']}."
)
No matter what I do, I get this answer: I apologize, but as an AI language model, I do not have access to external datasets or the ability to browse the internet. Therefore, I cannot read or summarize specific emails from Mark Sagel to John Arnold. However, if you provide me with the content or specific details of the emails, I would be happy to help you summarize them.
The same happens with this notebook:
https://github.com/run-llama/llama_index/blob/f470398e99a97293bd242bb7ea6083d326484f6e/docs/examples/agent/agent_runner/agent_runner_rag.ipynb#L232Strangely, I had problems with this as well. The LLM simply made up an answer (all calculations were wrong) and didn't use the tools at all:
https://docs.llamaindex.ai/en/stable/examples/agent/openai_agent.htmlIs Azure OpenAI an issue? I've checked the source code and I can't find anything that would cause problems.