Commit Graph

10 Commits

Author SHA1 Message Date
sashabaranov
b6e0908977 Run tests on PR (#57)
* run tests on PR

* fix tests+lint

* update linter config
2023-01-28 22:32:23 +04:00
sm2642
794a5512f6 -Added moderation endpoint test (#56)
-Rearrange some code

Co-authored-by: Shalin <shalinmehta85@gmail.com>
2023-01-28 22:25:38 +04:00
sashabaranov
cf013d3eb5 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
Andrew Poydence
2c55a49a34 Add Image generation API (#48) 2023-01-03 17:15:50 +04:00
Alexander Baranov
be08f204f0 Skip production API test by default 2022-08-11 15:41:37 +06:00
Oleg
d63df93c65 Add OpenAI Mock Server (#31)
* add constants for completions, refactor usage, add test server

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

* append v1 endpoint to test

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

* add makefile for easy targets

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

* lint files & add linter

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

* disable real API tests in short mode

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

Signed-off-by: Oleg <97077423+RobotSail@users.noreply.github.com>
2022-08-11 15:29:23 +06: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
Andy Day
d6c1c1855d Add new Embeddings endpoint (#12) 2021-12-15 11:45:22 +03:00
blfletcher
6297de371c Added a files endpoint, corrected a documents bug in answers requests, added error messages to API error handling (#6)
Co-authored-by: eyelevelai <33876565+eyelevelai@users.noreply.github.com>
2021-07-18 23:32:20 +03:00
Alexander Baranov
f5b3ec4ffe Add api client code 2020-08-19 12:57:32 +03:00