-
Notifications
You must be signed in to change notification settings - Fork 94
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #4 from unconv/improvements
Added better GPT-3.5 support and other improvements
- Loading branch information
Showing
9 changed files
with
507 additions
and
121 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,3 +4,4 @@ config.json | |
old_demos/ | ||
code/ | ||
history/ | ||
versions/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
# Changelog | ||
|
||
All notable changes to this project will be documented in this file. | ||
|
||
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), | ||
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). | ||
|
||
## [0.1.0] 2023-06-23 | ||
|
||
### Added | ||
|
||
- Better support for GPT-3.5 models | ||
- More command line arguments | ||
- `--conv` to set previous conversation ID to continue from | ||
- `--prompt` to set initial prompt | ||
- `--delete` to delete existing code if present | ||
- `--versions` to create multiple versions of the same project at once | ||
- `--temp` to set temperature of GPT API | ||
- `--better` to automatically make prompt better with GPT | ||
- `--not-better` to not ask to make prompt better with GPT | ||
- `--ask-better` to ask for confirmation of using better prompt when automatically making better prompt | ||
- `--better-versions` to create a separate better prompt for every version | ||
|
||
### Fixed | ||
|
||
- API loop when invalid model was used in settings (issue #3) | ||
|
||
### Changed | ||
|
||
- Conversation ID is now set with `--conv` flag, instead of the first command line argument |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
import json | ||
|
||
def get_config(): | ||
try: | ||
with open("config.json") as f: | ||
config = json.load(f) | ||
except: | ||
config = { | ||
"model": "gpt-4-0613", | ||
} | ||
return config | ||
|
||
def save_config(config): | ||
with open("config.json", "w") as f: | ||
f.write(json.dumps(config, indent=4)) |
Oops, something went wrong.