You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
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.
The text was updated successfully, but these errors were encountered: