Wykres commitów

11 Commity (e1d0a790f8941a74c4857ac8404c4c1c9e4fb6ed)

Autor SHA1 Wiadomość Data
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
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