dify icon indicating copy to clipboard operation
dify copied to clipboard

Self prompting agent

Open vontainment opened this issue 11 months ago • 3 comments

Self Checks

  • [X] I have searched for existing issues search for existing issues, including closed ones.
  • [X] I confirm that I am using English to submit this report (我已阅读并同意 Language Policy).
  • [X] Pleas do not modify this template :) and fill in all the required fields.

1. Is this request related to a challenge you're experiencing?

No

2. Describe the feature you'd like to see

I'm wondering if it's possible to create a way for the agents to self prompt. Like if I ask the agent to web scrape website and give me the most logical search queries it would rank for. And asked to self prompt to web scrape 5 pages five times, events of prompt to create a CVS list.

Also be interesting being able to have the agent saved too temporary storage get around context windows. Such as great five pages of the following website and save the CVS list of the most logical search queries it would rank for to temporary storage. Self prompt to repeat this five times, append the search queries to the temporary storage. Then you can ask it to output the temperate storage.

3. How will this feature improve your workflow or experience?

Help with automozation

4. Additional context or comments

Temporary storage should be another section like tools and variables. Where you can set up so many named temporary storages. Function like tools save the temporary storage or edit it or clear it No response

5. Can you help us with this feature?

  • [X] I am interested in contributing to this feature.

vontainment avatar Mar 12 '24 02:03 vontainment

It seems like you've got this under control, if you want help or have specific questions, let me know what I can do for you!

About Dosu

This response is meant to be useful and save you time. It is not meant to be a precise solution, but rather a starting point for your own research.

Help me be more useful! Please leave a 👍 if this is helpful and 👎 if it is irrelevant.

If you want to continue the conversation, start your reply with @dosu-bot.

dosubot[bot] avatar Mar 12 '24 02:03 dosubot[bot]

Great idea, self-prompting brings lots of convenience to creating an Agent Assistant App, have you got an ideal design of this feature? it could be like GPT-Builder, so that we can ask the model to prompt instructions, maybe we should do some tests before and see if the performance is so good as we thought.

Yeuoly avatar Mar 13 '24 15:03 Yeuoly

I think the best way would maybe be something like the tools. You would have a tool called ""self prompt"" . I could instruct it to do something like search Google for something and find the information on whatever and if no decent information is found use the self prompt tool to give yourself further instructions on how to find it. As a quick example. When the self prompt tool would just have the system take the prompt It comes up with and auto enter it

vontainment avatar Mar 19 '24 04:03 vontainment