agentai
agentai copied to clipboard
No module named 'agentai.openai_function'
Hey, Nirant,
I ran the following as pr the README.md file: from agentai.api import chat_complete, chat_complete_execute_fn from agentai.openai_function import tool, ToolRegistry from agentai.conversation import Conversation from enum import Enum weather_registry = ToolRegistry()
Looks like openai_function is not found. This could be because in the updated agentai folder, there is no module named openai_function. Please look into that. Thanks
I believe the openai_function has been moved to annotations from which tool and tool registry can be imported as per the google colab notebook.
from agentai import tool, ToolRegistry
it works...