-
Notifications
You must be signed in to change notification settings - Fork 8
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
feat: Have AI generate a check file for user #91
Conversation
Hello @Poiuy7312 and @AlishC1 and @AlishChhetri, is this feature finished? Is there a way that you can include screenshots or other details so that people can see how it works? Finally, Alish, we talked about the strategies that you need to take to test this feature effectively. Since you cannot include an API key inside of the test suite, what approach are you going to take? As soon as you are finished with this feature, please make sure to remove the draft label and then indicate that it is ready for review. |
31321e9
to
4855df7
Compare
A small thing I have noticed is that you have an analysis.md file included in this PR. If i am not mistaken, this is automatically generated by another feature of chasten and is unique to you. This file would need to be removed from the PR before it can be merged into the main branch. |
I have removed the analysis.md file that was included in this PR |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This feature is implemented and works as intended. Moreover, the code has been tested. However, @AlishChhetri told me there is an issue that chasten developers are not in control of. If chatGPT server overloads and crashes, then this feature will not work. Nonetheless, it still does what it is intended to do.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I know this has been in-progress for a long time and it looks great! Good work, everyone
Closes issue #33
This adds a command called:
chasten create-checks
Which will then display a textual app the code for which is in the configApp.py file:
It will also prompt for an API key if one has not been given already just through a terminal input which it will then store an encrypted version into a text file using fernet.
The code than takes the inputs given by the user and stores it in a csv file split that information up when then the app is closed and use the write_checks function in configApp.py to format it in way to have consistently formatted inputs to send to chatGPT in an attempt to make the program more consistent.
It then displays the checks and sends the information to chatGPT and gets the results which is handled in the createchecks.py file and then displays the results in the terminal and stores it in a YAML file called checks.yml or whatever the user specifys.