AutoGPT icon indicating copy to clipboard operation
AutoGPT copied to clipboard

Add defaults to env file for the AI Name and Role

Open joeswann opened this issue 2 years ago • 3 comments

Background

Happy to close if not useful, was just the first change that came to mind and thought it might be nice to share.

Changes

Changing a few lines to allow for name and role to be added to the env file (and thus not need to be filled in manually if they are often the same)

Note: Request is on stable as I am not up to speed on status of master, however happy to request there if preferable

Documentation

Added lines to general settings in .env.template

PR Quality Checklist

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

joeswann avatar May 01 '23 01:05 joeswann

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
docs ❌ Failed (Inspect) May 1, 2023 1:47am

vercel[bot] avatar May 01 '23 01:05 vercel[bot]

This pull request has conflicts with the base branch, please resolve those so we can evaluate the pull request.

github-actions[bot] avatar May 02 '23 14:05 github-actions[bot]

This looks like a straightforward and useful change that is primarily about adding a new config option and appyling that as a default, which probably makes it a good candidate to be considered for review prior to/during the ongoging re-arch effort.

Boostrix avatar May 05 '23 09:05 Boostrix

To edit autoGPT's AI Goals, Ai Name, Ai role and Ai budge edit the file "ai_settings.yaml" in the root folder. That root folder is "AutoGPT version in numbers". It is best to get an example of what to do by after starting Autogp set what you want to do. I will then set and save the AI_settings file. if you do not like how it is progressing you can stop by pressing "n" at the next opportunity to shut it down, and you will a good example to edit. . You can then edit the ai settings, then save it! on starting auto gpt again it will read the ai setting to you , and ask if you want it to continue. The name of the AI does not matter, just the role and goals. GL

good luck

example `ai_goals:

  • one of about 5 steps to achieve a goal. ai_name: gptname ai_role: the sentence about who and what you want it to be doing. api_budget: 0.0 `

ryanniccolls avatar May 27 '23 20:05 ryanniccolls