Commit Graph

16 Commits

Author SHA1 Message Date
YuCheng Hu 488f40b789 Change JDK version from 11 to 17 2023-03-28 10:07:37 -04:00
YuCheng Hu 5967337229 Update the test folder and sub-task 2023-01-07 08:41:19 -05:00
YuCheng Hu add90c312a Test to use maven 2023-01-06 12:11:02 -05:00
Theo Kanning 68e75010fd
Gradle 8.0 deprecation fix (#60)
Switched to the new method of setting the main class.
2023-01-02 15:40:27 -06:00
Theo Kanning c76923926e
Remove deprecated endpoints from example project (#40)
The engine APIs are deprecated, and OpenAI will shut them down eventually
2022-12-04 12:44:30 -06:00
Theo Kanning ff06ffb309
Mark Answer, Completion, and Search APIs as deprecated (#25)
OpenAI has officially deprecated these APIs, but I'll leave them in as long as the endpoints still work
The engines api is also deprecated, but I'll get to that when I add
model support.
2022-08-19 10:49:22 -05:00
Theo Kanning 77219d497b
Add user to CompletionRequest (#23)
Fixes https://github.com/TheoKanning/openai-java/issues/19
2022-08-19 09:44:38 -05:00
Theo Kanning 7f39df6e0b
Add Edit request functionality (#14) 2022-04-28 16:48:33 -05:00
Theo Kanning 00fa073446 Update package names
This matches the library groupId and makes it clear that this is not an OpenAI product
2020-10-05 17:44:18 -05:00
Theo Kanning d15dc718c2 Add builders to request objects
This is so much nicer
2020-10-05 17:41:16 -05:00
Theo Kanning f33aea18cb Rename modules to api and client
openai-api is unecessary here
2020-10-04 21:30:20 -05:00
Theo Kanning cdb7ae22c4 Add search objects and endpoint 2020-10-04 18:25:40 -05:00
Theo Kanning 61300727c8 Move data objects into separate openai-api package
People can import this if they want to make their own client or don't like retrofit
2020-10-04 18:09:48 -05:00
Theo Kanning 5d74cfde5a Add Completion api
Might add a builder or something to make setting specific parameters easier
2020-09-14 21:56:31 -05:00
Theo Kanning 13336e6cb6 Add lombok and retrieve engine endpoint 2020-09-14 21:29:30 -05:00
Theo Kanning b38f8681b1 Add OpenAiService and OpenAiApiExample
Added the ability to get all available engines, and added a example class to test it.
2020-09-14 19:22:46 -05:00