Skip to content

Export toolkits from jupyter_ai_tools module root #12

@dlqqq

Description

@dlqqq

Since the main goal of this package is to provide tools to Jupyter AI, it should be easy to import the tools from this package.

Right now, since all the toolkits are stored in variables named toolkit, the consumer has to write long import aliases to get separate references to each toolkit:

from jupyter_ai_tools.toolkits.file_system import toolkit as fs_toolkit
from jupyter_ai_tools.toolkits.code_execution import toolkit as codeexec_toolkit
from jupyter_ai_tools.toolkits.git import toolkit as git_toolkit

...

Proposed solution

Allow a consumer to write:

from jupyter_ai_tools import (
    fs_toolkit,
    codeexec_toolkit,
    git_toolkit
)

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions