-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Seeks to re-factor the original repo w/ many breaking changes. Major goals: - Use more idiomatic go style. (Rename the package, accept and return pointers, shorter variable names, etc.) - Much better documentation. Add comments to all exported types, fields, methods, packages, etc. (from OpenAI's documentation). - Make option fields who's go default value is a valid parameter value (and also does not match the API's default) pointers, so omitempty does not strip explicitly set values. (See sashabaranov/go-openai#9 for more). - Have a consistent style throughout. Most endpoints in the original library were implemented independently (and thus their usages feel inconsistent). - Implement all endpoints. Reviewer: neilmadsen
- Loading branch information
Showing
34 changed files
with
1,734 additions
and
778 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
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 was deleted.
Oops, something went wrong.
Oops, something went wrong.