Alex Baranov and GitHub
80c2de9df3
Fix linter ( #943 )
...
* fix lint
* remove linters
2025-02-25 16:56:35 +00:00
Alex Baranov and GitHub
3915ee3181
Ignore test.mp3 ( #913 )
2024-12-08 13:16:48 +00:00
Alex Baranov and GitHub
fbea48625d
Cleanup ( #879 )
...
* remove obsolete files
* update readme
2024-10-15 20:09:34 +01:00
Alex Baranov and GitHub
a9e743f0ae
fix integration tests ( #834 )
2024-08-24 18:11:27 +01:00
Alex Baranov and GitHub
56be289aca
remove errors.Join ( #778 )
2024-06-26 14:06:52 +01:00
Alex Baranov and GitHub
b19d5aea5d
integration tests: pass openai secret ( #770 )
...
* pass openai secret
* only run in master branch
2024-06-13 19:21:25 +04:00
Alex Baranov and GitHub
a33674586b
run integration tests ( #769 )
2024-06-13 19:15:27 +04:00
Alexander Baranov and GitHub
66176276e8
make linter happy ( #701 )
2024-04-05 23:24:30 +04:00
Alexander Baranov and GitHub
f268bd0644
make linter happy ( #661 )
2024-02-15 16:02:48 +04:00
Alexander Baranov and GitHub
0182839b2a
Update PULL_REQUEST_TEMPLATE.md ( #606 )
2023-11-24 13:36:10 +04:00
Alexander Baranov and GitHub
54a309c1a1
Update README.md ( #511 )
2023-10-10 21:22:45 +04:00
Alexander Baranov and GitHub
43060800ea
Update README.md ( #406 )
2023-06-23 13:07:43 +04:00
Alexander Baranov and GitHub
74dce6f309
Update README.md ( #399 )
2023-06-21 18:54:10 +04:00
Alexander Baranov and GitHub
69ed35f3de
Create FUNDING.yml ( #371 )
2023-06-15 12:53:52 +04:00
sashabaranov and GitHub
ae79af49c0
fix expected error message ( #289 )
2023-05-01 02:41:40 +04:00
sashabaranov and GitHub
f71cd07148
Test request builder + streams ( #242 )
...
* test request builder + streams
* provide prompt to test
2023-04-09 18:46:58 +04:00
sashabaranov and GitHub
38fd1ae992
Add more tests ( #241 )
...
* add form builder tests
* lint
* add client tests
* lint
* add non-existent file test
2023-04-09 18:36:15 +04:00
sashabaranov and GitHub
995a1cbf68
Add files api tests ( #238 )
...
* drop support for downloading files
* use form builder to submit files
* update doc
* add form builder tests
2023-04-08 20:13:59 +04:00
sashabaranov and GitHub
93223a0093
add embeddings tests ( #237 )
2023-04-08 19:49:27 +04:00
sashabaranov and GitHub
94792d1240
Update readme ( #236 )
...
* Update readme
* update ci names
2023-04-08 19:34:03 +04:00
sashabaranov and GitHub
ce65985195
Add form builder ( #235 )
...
* add form builder
* cover VariImage
* test for closing errors
* simplify tests
* add audio api test coverage
* don't leak authToken when printed
* rename api->client
* fix test
2023-04-08 19:26:26 +04:00
sashabaranov and GitHub
26e8afc62c
simplify unmarshal ( #191 )
...
* simplify unmarshal
* simplify unmarshalError
* rename errorAccumulate -> defaultErrorAccumulator
* update converage
2023-03-22 09:56:05 +04:00
sashabaranov and GitHub
1aaa07d83b
Check for Stream parameter usage ( #174 )
...
* check for stream:true usage
* lint
2023-03-18 19:31:54 +04:00
sashabaranov and GitHub
5be127afc1
Add tests ( #171 )
...
* test models listing
* remove non-needed method
* test for .streamFinished
* add more error tests
* improve stream testing
* fix typo
2023-03-16 19:10:27 +04:00
b1838349d2
Check for GPT-4 models ( #169 )
...
* add chat gpt4 model support (#158 )
* remove check for gpt4 for CreateCompletion
* test for model check
---------
Co-authored-by: aeieli <[email protected] >
2023-03-16 10:43:41 +04:00
sashabaranov and GitHub
47d56ec0ad
Add testable request builder ( #162 )
...
* Add testable request builder
* improve tests
2023-03-15 13:16:33 +04:00
sashabaranov and GitHub
7cf5576ef1
add testable json marshaller ( #161 )
2023-03-15 12:16:47 +04:00
sashabaranov and GitHub
7ccc288d3d
Update README.md ( #160 )
2023-03-15 11:47:36 +04:00
sashabaranov and GitHub
53fc657819
Delete codeball.yml ( #159 )
2023-03-15 11:44:28 +04:00
sashabaranov and GitHub
81708bf53e
Create .github/workflows/codeball.yml ( #156 )
2023-03-15 01:02:30 +04:00
sashabaranov and GitHub
bd3d54e3a9
Update pr.yml ( #155 )
2023-03-14 23:15:35 +04:00
sashabaranov and GitHub
b590a0615c
Update pr.yml
2023-03-14 23:10:09 +04:00
sashabaranov and GitHub
ccf8c40d02
Revert "fix issue #149 ( #150 )" ( #151 )
...
This reverts commit 34185160a9 .
2023-03-13 15:42:51 +04:00
sashabaranov and GitHub
bf62c709dd
add more tests ( #140 )
...
* test models endpoint
* simplify
* add fine tune tests
2023-03-09 23:56:23 +04:00
sashabaranov and GitHub
654a49951b
add chatgpt logic tests ( #135 )
...
* add chatgpt logic tests
* lint
2023-03-08 19:50:41 +04:00
sashabaranov and GitHub
73e575dcb8
add code coverage github action ( #134 )
2023-03-08 19:14:34 +04:00
sashabaranov and GitHub
5623361db6
use float32 in embeddings ( #133 )
2023-03-08 14:08:08 +04:00
sashabaranov and GitHub
435e55bbbe
Warn about GPT3.5-turbo models in regular completion ( #127 )
2023-03-06 12:55:21 +04:00
sashabaranov and GitHub
a936256b1f
Update README.md
2023-03-05 10:56:28 +04:00
sashabaranov and GitHub
5f34ecbfef
Update README.md
2023-03-04 20:59:37 +04:00
sashabaranov and GitHub
0b71ca5c45
Update README.md
2023-03-04 15:23:39 +04:00
sashabaranov and GitHub
9e61f5f8bc
Update README.md
2023-03-04 15:22:48 +04:00
sashabaranov and GitHub
7ba4a47b87
Update README.md
2023-03-04 15:21:16 +04:00
sashabaranov and GitHub
033c0c731c
Update README.md
2023-03-04 15:19:54 +04:00
sashabaranov and GitHub
1c1551d2d8
Update README.md
2023-03-04 15:19:19 +04:00
sashabaranov and GitHub
8ec9aa1251
Rename and update docs ( #120 )
2023-03-04 15:18:43 +04:00
sashabaranov and GitHub
1e0b4c7662
Update README.md
2023-03-04 14:57:43 +04:00
sashabaranov and GitHub
d81865e964
remove deprecated answers API ( #108 )
2023-03-03 11:07:40 +04:00
sashabaranov and GitHub
59b826facb
Update README.md
2023-03-02 00:56:50 +04:00
sashabaranov and GitHub
f48a1b907f
Update README.md
2023-03-02 00:53:48 +04:00
sashabaranov and GitHub
ae54cf1a28
Add chat completions ( #90 )
2023-03-02 00:47:25 +04:00
sashabaranov and GitHub
ad3853713c
handle stream completion ( #86 )
...
* handle stream completion
* fix tests
2023-02-22 12:33:25 +04:00
f73f9a33a4
Better configuration ( #79 )
...
* Configurable Transport (#75 )
* new functions to allow HTTPClient configuration
* updated go.mod for testing from remote
* updated go.mod for remote testing
* revert go.mod replace directives
* Fixed NewOrgClientWithTransport comment
* Make client fully configurable
* make empty messages limit configurable #70 #71
* make auth token private in config
* add docs
* lint
---------
Co-authored-by: Michael Fox <[email protected] >
2023-02-21 00:16:44 +04:00
sashabaranov and GitHub
670f325b11
bump empty messages limit ( #72 )
2023-02-14 21:26:33 +04:00
sashabaranov and GitHub
fc52103ddb
Break infinite loops in case [DONE] is missing ( #67 )
...
* Break infinite loops in case [DONE] is missing
* lint
2023-02-12 16:21:43 +04:00
sashabaranov and GitHub
bb9f25a3d0
Update README.md
2023-02-07 20:43:39 +04:00
d2198d4172
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 <[email protected] >
* remove main.go
* remove code duplication
* use int64
* finalize streaming support
* lint
* fix tests
---------
Co-authored-by: e. alvarez <[email protected] >
2023-02-07 20:42:53 +04:00
sashabaranov and GitHub
0f72a2f717
use int64 timestamps everywhere ( #59 )
2023-01-28 23:18:59 +04:00
sashabaranov and GitHub
aae6f38bb9
Run tests on PR ( #57 )
...
* run tests on PR
* fix tests+lint
* update linter config
2023-01-28 22:32:23 +04:00
sashabaranov and GitHub
640a2f6778
Update README.md
2023-01-12 12:02:07 +04:00
sashabaranov and GitHub
abe4e065d3
Remove default timeout and search API ( #51 )
...
* remove 1 minute timeout
* remove deprecated search api test
* remove search api
2023-01-07 00:22:39 +04:00
sashabaranov and GitHub
1e543d78f1
Merge pull request #4 from hagemt/master
2021-06-04 19:38:48 +03:00
sashabaranov and GitHub
350d262f7e
Update README.md
2020-12-16 15:12:39 +03:00
sashabaranov and GitHub
a2f23a6136
Merge pull request #3 from bnwlkr/master
...
Replace Cyrillic 'C' in README
2020-11-23 20:31:14 +03:00
sashabaranov and GitHub
a444f9ad77
Merge pull request #2 from bnwlkr/master
...
Fix weird 'C' in CompletionResponse struct
2020-11-23 09:55:50 +03:00
sashabaranov and GitHub
1527663e8e
Add Go Report Card
2020-09-02 20:51:04 +03:00
sashabaranov and GitHub
2a39263c14
Merge pull request #1 from lucasjones/master
...
Add logprob support
2020-09-02 16:47:23 +03:00
sashabaranov and GitHub
1c14fc93f9
Update README.md
2020-08-19 13:06:58 +03:00
sashabaranov and GitHub
a2fc5aaf80
Create README.md
2020-08-19 13:06:47 +03:00
sashabaranov and GitHub
f2c16740fc
Initial commit
2020-08-18 17:42:55 +03:00