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

Enhancement: Dynamic prompt/instruction building for agents #5007

Open
1 task done
acehoss opened this issue Dec 16, 2024 · 0 comments
Open
1 task done

Enhancement: Dynamic prompt/instruction building for agents #5007

acehoss opened this issue Dec 16, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@acehoss
Copy link

acehoss commented Dec 16, 2024

What features would you like to see added?

Related to #5006, a way to pre-populate the context/instructions with dynamic information, but more generally.

More details

I'm envisioning some sort of capability to inject dynamic information into the instruction prompt, perhaps using an action or something like it. A very simple approach to start with would be to configure an action that runs on every prompt, perhaps with the result being put into a template variable or something.

I'm coming from using SillyTavern to build agents, which has some pretty powerful context management features that inject pieces of data from various sources into the prompt using a recursive set of regex triggers to activate world info entries. Though SillyTavern was built for roleplaying, I found that the toolset worked very well for building agents with tools and memory. But its heritage as roleplaying software means that it lacks considerations needed for proper enterprise deployment.

Looking at model context protocol host support which is already in development, probably be done with MCP Resources or Prompts. #4876

Which components are impacted by your request?

General

Pictures

No response

Code of Conduct

  • I agree to follow this project's Code of Conduct
@acehoss acehoss added the enhancement New feature or request label Dec 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant