Wykres commitów

16 Commity (4c28632510daf63ec29b2175e195b71b48eabbc6)

Autor SHA1 Wiadomość Data
spenceryonce ea7d6fa2b1
Merge branch 'main' into main 2023-04-14 18:37:49 -05:00
Felix Boehme 4db9d1bf43 more cleanup 2023-04-14 17:49:09 -04:00
Felix Boehme e1d0a790f8 cleanup 2023-04-14 17:46:18 -04:00
Felix Boehme b044882dc3 remove duplicate code from rebase 2023-04-14 17:37:27 -04:00
Felix Boehme dd174cf30e add DEFAULT_MODEL to .env.sample
+ fix typo
2023-04-14 17:15:07 -04:00
Felix Boehme 2497fb816b move json_validated_response to standalone function 2023-04-14 17:12:00 -04:00
Felix Boehme 0656a83da7 recursive calls if not json parsable
- makes recursive calls to API (with a comment about it not being parsable) if response was not parsable
- pass prompt.txt as system prompt
- use env var for `DEFAULT_MODEL`
- use env var for OPENAI_API_KEY
2023-04-14 17:09:36 -04:00
spenceryonce fa84b1e7de Added Proper Logging
all commands are logged in a log file
with nicely formatted context and datetime
2023-04-14 10:20:55 -05:00
spenceryonce 270ac7af27 added interactive mode + CLI flag
allows for accepting changes of individual suggestions
2023-04-14 09:58:10 -05:00
spenceryonce d9d43d4b5e added better error handling
moved openai key to a function call for easier calling
2023-04-14 09:28:34 -05:00
Christopher Carroll Smith e8a893156e Implemented .env file API key storage 2023-04-12 13:45:54 -04:00
biobootloader 056dbdb6a5
remove import 2023-04-08 12:52:02 -07:00
biobootloader 791a41b312
Merge branch 'main' into select-model 2023-04-08 12:49:10 -07:00
BioBootloader 552600d671 use Fire for args, add flag to use 3.5-turbo 2023-04-08 12:38:14 -07:00
Gavin Lewis d3e9282fe8 Allow the user to select a model
- Implement argparse for handling command line options
- Add --model option to allow specifying the model name (default: gpt-4)
- Update send_error_to_gpt4 function to accept model_name as a parameter
- Rename send_error_to_gpt4 function to send_error_to_gpt
2023-04-08 10:23:58 -07:00
BioBootloader 4ff6bfae22 initial commit 2023-03-18 15:16:47 -07:00