* maintain underlying error structs to allow for type conversion and
defensive error checking
* allow Error.Is for Azure responses
* update readme, add tests to ensure type conversion
* fix whitespacing
* read me
* add import to readme example
* Add speech to text example in docs
* Add caption formats for audio transcription
* Add caption example to README
* Address sanity check errors
* Add tests for decodeResponse
* Use typechecker for audio response format
* Decoding response refactors
* add "name" property for ChatCompletionMessage
* added a comment to the "Name" property
* Added an example of image generation using DALL-E
---------
Co-authored-by: Contantine A <avdeev@embria.com>
* Add streaming support feature (#54)
* Add streaming support feature
removes golangci linting deprecation warnings
See: [Issue #49](https://github.com/sashabaranov/go-gpt3/issues/49)
* remove dead token
* Remove the goroutines from previous implementation
Set up separate test and file for streaming support
Add client code under cmd dir
* Supress CI errors
Need to update import path to test under feature/streaming-support
branch
* suppress linting errors
---------
Co-authored-by: sashabaranov <677093+sashabaranov@users.noreply.github.com>
* remove main.go
* remove code duplication
* use int64
* finalize streaming support
* lint
* fix tests
---------
Co-authored-by: e. alvarez <55966724+ealvar3z@users.noreply.github.com>