-
Notifications
You must be signed in to change notification settings - Fork 44.5k
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
Implement Logging of Self-Feedback in logs/Debug Folder #3868
Implement Logging of Self-Feedback in logs/Debug Folder #3868
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
Codecov ReportPatch coverage:
Additional details and impacted files@@ Coverage Diff @@
## master #3868 +/- ##
==========================================
+ Coverage 62.75% 62.82% +0.06%
==========================================
Files 73 73
Lines 3367 3373 +6
Branches 487 487
==========================================
+ Hits 2113 2119 +6
Misses 1107 1107
Partials 147 147
☔ View full report in Codecov by Sentry. |
Changes position
This pull request has conflicts with the base branch, please resolve those so we can evaluate the pull request. |
Conflicts have been resolved! 🎉 A maintainer will review the pull request shortly. |
@AndresCdo do it like that:
in autogpt/agent/agent.py 1st log call it prompt_self_feedback.json and the second log call it self_feedback.txt |
This PR exceeds the recommended size of 200 lines. Please make sure you are NOT addressing multiple issues with one PR. Note this PR might be rejected due to its size |
This PR exceeds the recommended size of 200 lines. Please make sure you are NOT addressing multiple issues with one PR. Note this PR might be rejected due to its size |
Indeed, improving self feedback (#3934) could be used as "reward" inside a fitness function (just be sure to provide a "maximize score" objective to the LLM, and pass current score to it as part of the current context).
|
…Gravitas#3868) * Adds SELF_FEEDBACK_FILE_NAME * Add self-feedback logging to logs/Debug folder * Reformatting * Uses JSON file * Update agent.py Changes position * Update agent.py * Adds PROMPT_FEEDBACK_FILE_NAME * Update agent.py * Update agent.py * Reformatting * Update agent.py * Update agent.py * Changes file names * Update agent.py * Reformatting * Update agent.py * Changes conts names * Update agent_manager.py * Update agent_manager.py * HARD reset * Update test_get_self_feedback.py * Update test_get_self_feedback.py --------- Co-authored-by: merwanehamadi <[email protected]>
Background
To improve the performance of our application and understand how it functions in different scenarios, we decided to implement self-feedback logging. This feature will enable the application to log its own feedback regarding its performance and decisions, providing valuable insights for future optimization and development.
Changes
Developed a self-feedback logging mechanism that captures application feedback and appends it to the log file within the logs/DEBUG folder.
Documentation
Descriptions were added in new lines on tests.
Test Plan
I did test it, and it seems to work fine.
PR Quality Checklist