Commit Graph
26 Commits
Author SHA1 Message Date
渡邉祐一 / Yuichi Watanabe 08c167fecf test: fix compile error in api integration test (#548) 2023-11-08 13:21:51 +04:00
渡邉祐一 / Yuichi Watanabe a14bc103f4 docs: Add Contributing Guidelines (#463) 2023-08-09 13:07:14 +09:00
渡邉祐一 / Yuichi WatanabeandAlexander Baranov 71a24931db docs: add Frequently Asked Questions to README.md (#462)
* docs: add Frequently Asked Questions to README.md

* Update README.md

Co-authored-by: Alexander Baranov <677093+sashabaranov@users.noreply.github.com>

---------

Co-authored-by: Alexander Baranov <677093+sashabaranov@users.noreply.github.com>
2023-07-31 04:58:49 +09:00
渡邉祐一 / Yuichi Watanabe 39b2acb5c9 ci: set up closing-inactive-issues in GitHub Action (129) (#428) 2023-07-12 17:15:39 +03:00
渡邉祐一 / Yuichi Watanabe c3b2451f7c fix: invalid schema for function 'func_name': None is not of type 'object' (#429)(#432) (#434)
* fix: invalid schema for function 'func_name': None is not of type 'object' (#429)(#432)

* test: add integration test for function call (#429)(#432)

* style: remove duplicate import (#429)(#432)
2023-07-11 14:48:15 +03:00
渡邉祐一 / Yuichi Watanabe f028c289d2 fix: function call error due to nil properties (429) (#431)
* fix: fix function call error due to nil properties (429)

* refactor: refactoring initializeProperties func in jsonschema pkg (429)
2023-07-09 20:07:01 +03:00
渡邉祐一 / Yuichi Watanabe 181fc2ade9 docs: explanation about LogitBias. (129) (#426) 2023-07-09 12:11:39 +03:00
渡邉祐一 / Yuichi Watanabe 619ad71735 docs: added instructions for obtaining OpenAI API key to README (#421)
* docs: added instructions for obtaining OpenAI API key to README

* docs: move 'Getting an OpenAI API key' before 'Other examples'
2023-07-06 00:54:27 +03:00
渡邉祐一 / Yuichi Watanabe 204260818e docs: remove medatada in PULL_REQUEST_TEMPLATE.md (#423) 2023-07-03 13:46:38 +03:00
渡邉祐一 / Yuichi Watanabe 1efcf2d23d fix: move pull request template (#420) 2023-06-30 14:49:36 +04:00
渡邉祐一 / Yuichi Watanabe 86d0f48d2d chore: add a pull request template (#412) 2023-06-28 21:18:34 +04:00
渡邉祐一 / Yuichi Watanabe 581f70b102 chore: add an issue template for bug report (#408) 2023-06-26 18:33:32 +04:00
渡邉祐一 / Yuichi Watanabe a3c0b36b35 chore: add an issue template for feature request (#410) 2023-06-26 18:32:57 +04:00
渡邉祐一 / Yuichi Watanabe f1b66967a4 refactor: refactoring http request creation and sending (#395)
* refactoring http request creation and sending

* fix lint error

* increase the test coverage of client.go

* refactor: Change the style of HTTPRequestBuilder.Build func to one-argument-per-line.
2023-06-22 13:57:52 +04:00
渡邉祐一 / Yuichi Watanabe 157de0680f add vvatanabe to FUNDING.yml (#402) 2023-06-22 13:49:46 +04:00
渡邉祐一 / Yuichi Watanabe e19b074a11 docs: add requires go version in README.md (#397) 2023-06-21 18:53:15 +04:00
渡邉祐一 / Yuichi Watanabe 68f9ef92be split integration test using go build tag (#392) 2023-06-19 12:12:38 +04:00
渡邉祐一 / Yuichi Watanabe b0959382c8 extract and split integration tests (#389) 2023-06-18 14:51:20 +04:00
渡邉祐一 / Yuichi Watanabe e49d771fff support for parsing error response message fields even if they are arrays (#381) (#384) 2023-06-17 17:57:29 +04:00
渡邉祐一 / Yuichi Watanabe b616090e69 refactoring tests with mock servers (#30) (#356) 2023-06-12 17:40:26 +04:00
渡邉祐一 / Yuichi Watanabe a243e7331f Support Retrieve file content API (#347) (#348)
* Support Retrieve file content API (#347)

* add timeout test for GetFileContent (#347)
2023-06-11 12:49:57 +04:00
渡邉祐一 / Yuichi Watanabe 06b16a7281 fix json marshaling error response of azure openai (#343) (#345)
* fix json marshaling error response of azure openai (#343)

* add a test case for handleErrorResp func (#343)
2023-06-08 19:32:03 +04:00
渡邉祐一 / Yuichi Watanabe 6830e00406 Support Retrieve model API (#340) (#341)
* Support Retrieve model API (#340)

* Test for GetModel error cases. (#340)

* Reduce the cognitive complexity of TestClientReturnsRequestBuilderErrors (#340)
2023-06-05 18:37:08 +04:00
渡邉祐一 / Yuichi Watanabe 1394329e44 move error_accumulator into internal pkg (#304) (#335)
* move error_accumulator into internal pkg (#304)

* move error_accumulator into internal pkg (#304)

* add a test for ErrTooManyEmptyStreamMessages in stream_reader (#304)
2023-06-05 18:35:46 +04:00
渡邉祐一 / Yuichi Watanabe 61ba5f3369 move request_builder into internal pkg (#304) (#329)
* move request_builder into internal pkg (#304)

* add some test for internal.RequestBuilder

* add a test for openai.GetEngine
2023-05-31 12:01:42 +04:00
渡邉祐一 / Yuichi Watanabe 62eb4beed2 move marshaller and unmarshaler into internal pkg (#304) (#325) 2023-05-28 05:51:07 +04:00