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
When passing tools to bind_tools() with pydantic classes, the method name can be included as 'title', which is ensured by using pydantics create_model method to build the pydantic class (See #245).
But when trying to pass the method name, including the module it is called from, eg. io.read_h5ad, there is an error thrown by open_ais bind_tools method. It seems, "." can not be included in the function name.
Generally it would be good to ensure the module is also returned by the LLM so the user can directly use a function.
Ideas:
Add it to the functions description by passing the names as strings to create_model(doc="This is a function that does xyz, it is callable from package.modulename.submodule ...")
The text was updated successfully, but these errors were encountered:
When passing tools to bind_tools() with pydantic classes, the method name can be included as 'title', which is ensured by using pydantics create_model method to build the pydantic class (See #245).
But when trying to pass the method name, including the module it is called from, eg. io.read_h5ad, there is an error thrown by open_ais bind_tools method. It seems, "." can not be included in the function name.
Generally it would be good to ensure the module is also returned by the LLM so the user can directly use a function.
Ideas:
The text was updated successfully, but these errors were encountered: