openai-java icon indicating copy to clipboard operation
openai-java copied to clipboard

can't find class OpenAiService

Open AntoinouM opened this issue 2 years ago • 1 comments

When I try to load the library (example or not) the line service = new Open... is unresolved as the class doesn't exist

AntoinouM avatar Jan 18 '23 21:01 AntoinouM

You have imported must have imported the wrong dependency. You should import the client module. implementation 'com.theokanning.openai-gpt3-java:client:'

At the time of the response, you may use version 0.9.0

blackgerman avatar Jan 19 '23 18:01 blackgerman