For use is Eclipse, the lombok plugin requirement should be documented.
To eliminate compilation problems in the Eclipse IDE , the Lombok plugin needs to be added. https://projectlombok.org/setup/eclipse update site: https://projectlombok.org/p2
Closing as I was just using it incorrectly, Did not need to pull all the code into eclipse. Just needed to use the release via dependencies.
i.e for a maven project: the pom.xml would be:
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd"> <modelVersion>4.0.0</modelVersion> <groupId>com.myapp</groupId> <artifactId>openaitests</artifactId> <version>0.0.1-SNAPSHOT</version> <dependencies> <dependency> <groupId>com.theokanning.openai-gpt3-java</groupId> <artifactId>api</artifactId> <version>0.12.0</version> </dependency> <dependency> <groupId>com.theokanning.openai-gpt3-java</groupId> <artifactId>client</artifactId> <version>0.12.0</version> </dependency> <dependency> <groupId>com.theokanning.openai-gpt3-java</groupId> <artifactId>service</artifactId> <version>0.12.0</version> </dependency> <dependency> <groupId>org.junit.jupiter</groupId> <artifactId>junit-jupiter-api</artifactId> <version>5.9.3</version> </dependency> </dependencies> </project>