Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Function as Tool Description #4281

Open
theswerd opened this issue Jan 5, 2025 · 0 comments
Open

Function as Tool Description #4281

theswerd opened this issue Jan 5, 2025 · 0 comments
Labels
ai/core enhancement New feature or request

Comments

@theswerd
Copy link

theswerd commented Jan 5, 2025

Feature Description

in tool declaration I want to optionally be able to set tool description as a function that is called every time at inference time rather than at instantiation.

Use Cases

I created a package called ai-sql, at start time it pulls the schema off the database and puts it in the tool description for the tool to use when writing queries. However, the issue comes when I want to let the AI manage my schemas/update them/create tables. I'd like to pull the schema right before inference every time so the AI can always have an up to date picture.

Additional context

No response

@theswerd theswerd added the enhancement New feature or request label Jan 5, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ai/core enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants