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

Add the "addTool()" fom Realtime API client SDK #1122

Open
1 task done
rdvo opened this issue Oct 6, 2024 · 0 comments
Open
1 task done

Add the "addTool()" fom Realtime API client SDK #1122

rdvo opened this issue Oct 6, 2024 · 0 comments

Comments

@rdvo
Copy link

rdvo commented Oct 6, 2024

Confirm this is a feature request for the Node library and not the underlying OpenAI API.

  • This is a feature request for the Node library

Describe the feature or improvement you're requesting

Working with tools is easy. Just call .addTool() and set a callback as the second parameter. The callback will be executed with the parameters for the tool, and the result will be automatically sent back to the model.

the way you can pass the tool spec + the actual logic for executing it easily in one thing and have it handle it s really convenient. Any chance that's added to this package?

Additional context

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant