Commit Graph

34 Commits

Author SHA1 Message Date
Hoani Bryson
5f4ff3ebfa Add Readme example to example_test.go (#298)
* 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

* Migrated examples to example_test.go

* Add some executable examples

* Update error docs

* Avoid linting example files which break conventions

* Restore README examples

* Enable linting for example_test
2023-05-08 20:16:01 +04:00
Quest Henkart
a24581dce2 maintain underlying error structs to allow for type conversion (#293)
* 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
2023-05-03 22:48:59 +04:00
Hoani Bryson
ecdea45b67 Adds support for audio captioning with Whisper (#267)
* 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
2023-04-20 14:07:04 +01:00
Rich Coggins
334ee6dbdd Update README.md with Azure OpenAI ChatGPT example (#239)
Co-authored-by: coggsflod <richard.coggins@officedepot.com>
2023-04-08 22:42:55 +04:00
sashabaranov
89219e31b2 Update readme (#236)
* Update readme

* update ci names
2023-04-08 19:34:03 +04:00
kotaro.yamazaki
428839400a Update README.md to rename the image file created to example.png (#192) 2023-03-22 16:04:09 +04:00
Ryuichi Maeda
d529d13ba1 Add readme example of ChatGPT streaming completion (#177) 2023-03-19 18:01:51 +04:00
Qihang Hu
fd44d3665e add readme exmaple: chatgpt support context (#166) 2023-03-16 10:46:18 +04:00
Constantine A
3c8be76770 Added an example of image generation using DALL-E (#168)
* 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>
2023-03-16 10:44:31 +04:00
sashabaranov
ba77a6476e Update README.md (#160) 2023-03-15 11:47:36 +04:00
Qihang Hu
6580bd7289 readme example print error (#147) 2023-03-11 11:32:39 +04:00
sashabaranov
14e1943c20 add code coverage github action (#134) 2023-03-08 19:14:34 +04:00
sashabaranov
ba6fd510c9 Update README.md 2023-03-05 10:56:28 +04:00
Hoani Bryson
ee9424e6b9 Add speech to text example in docs (#124) 2023-03-05 10:49:49 +04:00
sashabaranov
8be4dfe746 Update README.md 2023-03-04 20:59:37 +04:00
sashabaranov
d59ab48c58 Update README.md 2023-03-04 15:23:39 +04:00
sashabaranov
114a7d14b2 Update README.md 2023-03-04 15:22:48 +04:00
sashabaranov
90bb5e47e8 Update README.md 2023-03-04 15:21:16 +04:00
sashabaranov
f89133c6e0 Update README.md 2023-03-04 15:19:54 +04:00
sashabaranov
656f6b174c Update README.md 2023-03-04 15:19:19 +04:00
sashabaranov
47887bf123 Rename and update docs (#120) 2023-03-04 15:18:43 +04:00
sashabaranov
202b629bc1 Update README.md 2023-03-04 14:57:43 +04:00
sashabaranov
b0b26afd50 Update README.md 2023-03-02 00:56:50 +04:00
sashabaranov
f5fc232415 Update README.md 2023-03-02 00:53:48 +04:00
sashabaranov
ae06df7d9f Update README.md 2023-02-07 20:43:39 +04:00
sashabaranov
6758ec4d96 Streaming support (#61)
* 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>
2023-02-07 20:42:53 +04:00
sashabaranov
81b5788cd6 Update README.md 2023-01-12 12:02:07 +04:00
James Καρεφυλάκης
fa5319e59a Remove deprecated code (#40) 2022-12-15 12:13:16 +04:00
Oleg
53212c71df Migrate From Old Completions + Embedding Endpoint (#28)
* migrate away from deprecated OpenAI endpoints

Signed-off-by: Oleg <97077423+RobotSail@users.noreply.github.com>

* test embedding correctness

Signed-off-by: Oleg <97077423+RobotSail@users.noreply.github.com>
2022-08-02 14:16:54 +06:00
sashabaranov
64c0048394 Update README.md 2020-12-16 15:12:39 +03:00
bnwlkr
8e657b396a Replace Cyrillic 'C' in README 2020-11-23 09:27:18 -08:00
sashabaranov
7ed6fe128b Add Go Report Card 2020-09-02 20:51:04 +03:00
sashabaranov
eb1cc604f2 Update README.md 2020-08-19 13:06:58 +03:00
sashabaranov
0b788a8ae1 Create README.md 2020-08-19 13:06:47 +03:00