forked from linweiyuan/go-chatgpt-api
-
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added user settings and synthesize endpoints
Three new API endpoints have been added to the chatgpt service: GetUserSetting, UpdateUserSetting, and GetSynthesize. The GetUserSetting and UpdateUserSetting functions allow for retrieval and modification of user settings respectively. The GetSynthesize function provides synthesized audio output based on given parameters. Additionally, some error messages related to these new functionalities have been defined in constants file. Also, the GetModels function has been simplified by removing a query parameter check.
- Loading branch information
Showing
3 changed files
with
52 additions
and
7 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