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 example prompt field to tools #1522

Open
nsarrazin opened this issue Oct 15, 2024 · 0 comments
Open

Add example prompt field to tools #1522

nsarrazin opened this issue Oct 15, 2024 · 0 comments
Labels
back This issue is related to the Svelte backend or the DB enhancement New feature or request front This issue is related to the front-end of the app. tools

Comments

@nsarrazin
Copy link
Collaborator

Describe your feature request

This lets the user specify a prompt that would call the tool. It can be shown as a demo if you're not sure how to use a tool.

We should show it somewhere in the UI so the user can easily start a conversation from that demo.

It can also be used for validating that a tool works. (run the example server-side, if the tool does not get called or does not return an output then something is wrong and dont let users publish it)

Implementation idea

Storing the prompt itself is straightforward since you can just store it as a string. Most tools use file inputs though so we should ideally also support that, which means storing example files in the DB.

@nsarrazin nsarrazin added enhancement New feature or request front This issue is related to the front-end of the app. back This issue is related to the Svelte backend or the DB tools labels Oct 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
back This issue is related to the Svelte backend or the DB enhancement New feature or request front This issue is related to the front-end of the app. tools
Projects
None yet
Development

No branches or pull requests

1 participant