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

Active Mode #13

Closed
slavakurilyak opened this issue Apr 1, 2023 · 6 comments
Closed

Active Mode #13

slavakurilyak opened this issue Apr 1, 2023 · 6 comments
Labels
enhancement New feature or request good first issue Good for newcomers

Comments

@slavakurilyak
Copy link
Contributor

Summary

I would like to suggest a new feature called "Active Mode," which enables the AI to run while actively prompting the user with chain-of-thought questions when executing each subsequent action. This allows users to actively participate while the AI agent runs, ensuring a human-in-the-loop experience.

Background

Currently, there is a feature called "Continuous Mode," which allows the AI to run without user authorization and is 100% automated. However, this mode is not recommended due to its potential dangers, such as running indefinitely or performing actions that users might not approve.

To mitigate these risks and enhance user engagement, I propose a new feature called "Active Mode."

Feature Description

In "Active Mode," the AI will:

  1. Execute an action.
  2. Prompt the user with a chain-of-thought question related to the action.
  3. Wait for the user's input or approval before proceeding to the next action.

This interaction pattern ensures that users have control over the AI's actions while still benefiting from its capabilities. It also fosters a more collaborative environment between the user and the AI system.

Examples

  1. AI: I am about to generate a summary for this article. Do you have any specific points you would like me to focus on?
  2. AI: I found an interesting dataset that could be useful for your project. Would you like me to analyze it and provide insights?
  3. AI: I have drafted an email response based on your guidelines. Please review and let me know if you would like me to make any changes before sending.

Benefits

  • Enhanced user engagement
  • Reduced risk of AI performing unwanted actions
  • Increased collaboration between the user and the AI
  • Improved user control over AI actions

Risks and Mitigations

  • This feature may slow down the overall AI operation due to the need for user input. However, this trade-off is acceptable, considering the increased control and collaboration it provides.

Request for Comments

I would appreciate feedback from the community on this suggested feature. Please share your thoughts, suggestions, and any potential concerns you may have.

@Torantulino Torantulino added the enhancement New feature or request label Apr 1, 2023
@Torantulino
Copy link
Member

Torantulino commented Apr 1, 2023

Thank you so much for your contribution.

This is an excellent idea.

Benefits

Improved user control over AI actions

This is the main benefit for me, having this direct, in-the-loop, control would allow the user to prevent the AI from wasting time and resources on silly tasks, and keep it on track.

Suggestions

I suggest the following format:

# Sudo implementation:
user_approval = Input("Approve [Yes/No]:")

if user_approval.lower() == no
    reason = Input("Reason:")

# If yes, continue execution, If no, send to AI "Request Denied by user with reason: {reason}".
...

Would you be interested in implementing this?
If not, no worries, just let me know and I'll get around to it. 😄

@ResourceHog
Copy link

Picking this one up.

@ResourceHog
Copy link

#36

@leoxs22
Copy link

leoxs22 commented Apr 3, 2023

I think this idea might be improved a bit.
Some actions might need human intervention. Like completing a captcha, paying something, interacting with some GUI.
This could be a good place for the AI to ask the user to do something that it cannot do by itself

@slavakurilyak
Copy link
Contributor Author

slavakurilyak commented Apr 4, 2023

@leoxs22 While 'Active Mode` is more of a 'co-pilot', I think asking users for interactions is a promising extension of Continuous Mode. I created a new issue to explore this idea. 👇

@Pwuts
Copy link
Member

Pwuts commented Apr 17, 2023

Implemented in #133

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

5 participants