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

Create a list of synonyms for commands for when the AI hallucinates #1526

Merged
merged 2 commits into from
Apr 15, 2023

Conversation

richbeales
Copy link
Contributor

Background

We've seen issues where GPT has invented a command name that doesn't exist, but is close to an existing capability of Auto-GPT.
This PR creates the ability to configure a list of tuples of known or potential synonyms for existing commands.

Changes

commands.py modified with new method

Documentation

Docstring added.

Test Plan

No tests, simple string replacement.

PR Quality Checklist

  • [X ] My pull request is atomic and focuses on a single change.
  • I have thoroughly tested my changes with multiple different prompts.
  • I have considered potential risks and mitigations for my changes.
  • I have documented my changes clearly and comprehensively.
  • I have not snuck in any "extra" small tweaks changes

vikas0706
vikas0706 previously approved these changes Apr 15, 2023
nponeccop
nponeccop previously approved these changes Apr 15, 2023
@nponeccop
Copy link
Contributor

@richbeales There are conflicts now

@richbeales richbeales dismissed stale reviews from nponeccop and vikas0706 via a300309 April 15, 2023 17:09
@richbeales
Copy link
Contributor Author

@nponeccop resolved

@p-i- p-i- merged commit 6393620 into master Apr 15, 2023
@p-i- p-i- deleted the richbeales-patch-1 branch April 15, 2023 17:25
@nponeccop nponeccop mentioned this pull request Apr 15, 2023
1 task
sindlinger pushed a commit to Orgsindlinger/Auto-GPT-WebUI that referenced this pull request Sep 25, 2024
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

Successfully merging this pull request may close these issues.

4 participants