simple-openai
Used in:
components
- OverviewOverview
- VersionsVersions
- DependentsDependents
- DependenciesDependencies
<dependency> <groupId>io.github.sashirestela</groupId> <artifactId>simple-openai</artifactId> <version>3.19.4</version> </dependency>
<?xml version="1.0" encoding="UTF-8" standalone="no"?> <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 http://maven.apache.org/xsd/maven-4.0.0.xsd"> <modelVersion>4.0.0</modelVersion> <groupId>io.github.sashirestela</groupId> <artifactId>simple-openai</artifactId> <version>3.19.4</version> <packaging>jar</packaging> <name>simple-openai</name> <description>A Java library to use the OpenAI API in the simplest possible way.</description> <url>https://github.com/sashirestela/simple-openai</url> <licenses> <license> <name>MIT License</name> <url>http://www.opensource.org/licenses/mit-license.php</url> </license> </licenses> <developers> <developer> <name>Sashir Estela</name> <email>sashirestela@yahoo.com</email> <organization>Sashir Estela</organization> <organizationUrl>https://www.linkedin.com/in/sashirestela/</organizationUrl> </developer> </developers> <scm> <connection>scm:git:git://github.com/sashirestela/simple-openai.git</connection> <developerConnection>scm:git:ssh://github.com/sashirestela/simple-openai.git</developerConnection> <url>https://github.com/sashirestela/simple-openai/tree/main</url> </scm> <distributionManagement> <snapshotRepository> <id>ossrh</id> <url>https://s01.oss.sonatype.org/content/repositories/snapshots</url> </snapshotRepository> <repository> <id>ossrh</id> <url>https://s01.oss.sonatype.org/service/local/staging/deploy/maven2/</url> </repository> </distributionManagement> <properties> <!-- Build Properties --> <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> <maven.version>3.6.3</maven.version> <maven.compiler.release>11</maven.compiler.release> <maven.compiler.proc>full</maven.compiler.proc> <!-- Library Versions --> <cleverclient.version>2.2.1</cleverclient.version> <okhttp.version>4.12.0</okhttp.version> <slimvalidator.version>1.2.3</slimvalidator.version> <lombok.version>1.18.36</lombok.version> <jackson.version>2.18.3</jackson.version> <json.schema.version>4.37.0</json.schema.version> <slf4j.version>2.0.17</slf4j.version> <googleauth.version>1.33.1</googleauth.version> <!-- Test Library Versions--> <junit.version>[5.11.0,6.0.0)</junit.version> <mockito.version>[5.14.0,6.0.0)</mockito.version> <!-- Plugins Versions --> <compiler.version>3.14.0</compiler.version> <enforcer.version>3.5.0</enforcer.version> <surefire.version>3.5.2</surefire.version> <exec.version>3.5.0</exec.version> <jacoco.version>0.8.12</jacoco.version> <helper.version>3.6.0</helper.version> <versions.version>2.18.0</versions.version> <source.version>3.3.1</source.version> <javadoc.version>3.11.2</javadoc.version> <gpg.version>3.2.7</gpg.version> <sonatype.version>1.7.0</sonatype.version> <spotless.version>2.44.3</spotless.version> <dependency.version>3.8.1</dependency.version> </properties> <profiles> <profile> <id>dev</id> <activation> <activeByDefault>true</activeByDefault> </activation> <dependencies> <dependency> <groupId>org.slf4j</groupId> <artifactId>slf4j-simple</artifactId> <version>${slf4j.version}</version> </dependency> </dependencies> <build> <plugins> <plugin> <groupId>org.codehaus.mojo</groupId> <artifactId>build-helper-maven-plugin</artifactId> <version>${helper.version}</version> <executions> <execution> <id>add-source</id> <phase>generate-sources</phase> <goals> <goal>add-source</goal> </goals> <configuration> <sources> <source>src/demo/java</source> </sources> </configuration> </execution> <execution> <id>add-resource</id> <phase>generate-resources</phase> <goals> <goal>add-resource</goal> </goals> <configuration> <resources> <resource> <directory>src/demo/resources</directory> </resource> </resources> </configuration> </execution> </executions> </plugin> </plugins> </build> </profile> <profile> <id>release</id> <build> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-source-plugin</artifactId> <version>${source.version}</version> <executions> <execution> <id>attach-sources</id> <goals> <goal>jar-no-fork</goal> </goals> </execution> </executions> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-javadoc-plugin</artifactId> <version>${javadoc.version}</version> <executions> <execution> <id>attach-javadocs</id> <goals> <goal>jar</goal> </goals> </execution> </executions> <configuration> <show>package</show> <nohelp>true</nohelp> </configuration> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-gpg-plugin</artifactId> <version>${gpg.version}</version> <executions> <execution> <id>sign-artifacts</id> <phase>verify</phase> <goals> <goal>sign</goal> </goals> <configuration> <gpgArguments> <arg>--pinentry-mode</arg> <arg>loopback</arg> </gpgArguments> </configuration> </execution> </executions> </plugin> <plugin> <groupId>org.sonatype.plugins</groupId> <artifactId>nexus-staging-maven-plugin</artifactId> <version>${sonatype.version}</version> <extensions>true</extensions> <configuration> <serverId>ossrh</serverId> <nexusUrl>https://s01.oss.sonatype.org/</nexusUrl> <autoReleaseAfterClose>true</autoReleaseAfterClose> </configuration> </plugin> </plugins> </build> </profile> </profiles> <dependencies> <!-- Core Dependencies --> <dependency> <groupId>io.github.sashirestela</groupId> <artifactId>cleverclient</artifactId> <version>${cleverclient.version}</version> </dependency> <dependency> <groupId>com.squareup.okhttp3</groupId> <artifactId>okhttp</artifactId> <version>${okhttp.version}</version> <optional>true</optional> </dependency> <dependency> <groupId>io.github.sashirestela</groupId> <artifactId>slimvalidator</artifactId> <version>${slimvalidator.version}</version> </dependency> <dependency> <groupId>org.projectlombok</groupId> <artifactId>lombok</artifactId> <version>${lombok.version}</version> <scope>provided</scope> </dependency> <dependency> <groupId>com.fasterxml.jackson.core</groupId> <artifactId>jackson-databind</artifactId> <version>${jackson.version}</version> </dependency> <dependency> <groupId>com.google.auth</groupId> <artifactId>google-auth-library-oauth2-http</artifactId> <version>${googleauth.version}</version> <optional>true</optional> </dependency> <!-- Json Schema Dependencies --> <dependency> <groupId>com.github.victools</groupId> <artifactId>jsonschema-generator</artifactId> <version>${json.schema.version}</version> <exclusions> <exclusion> <groupId>com.fasterxml.jackson.core</groupId> <artifactId>jackson-core</artifactId> </exclusion> </exclusions> </dependency> <dependency> <groupId>com.github.victools</groupId> <artifactId>jsonschema-module-jackson</artifactId> <version>${json.schema.version}</version> </dependency> <!-- Logging Dependencies --> <dependency> <groupId>org.slf4j</groupId> <artifactId>slf4j-api</artifactId> <version>${slf4j.version}</version> </dependency> <dependency> <groupId>org.slf4j</groupId> <artifactId>slf4j-simple</artifactId> <version>${slf4j.version}</version> <optional>true</optional> </dependency> <!-- Test Dependencies --> <dependency> <groupId>org.junit.jupiter</groupId> <artifactId>junit-jupiter</artifactId> <version>${junit.version}</version> <scope>test</scope> </dependency> <dependency> <groupId>org.mockito</groupId> <artifactId>mockito-core</artifactId> <version>${mockito.version}</version> <scope>test</scope> </dependency> <dependency> <groupId>org.mockito</groupId> <artifactId>mockito-junit-jupiter</artifactId> <version>${mockito.version}</version> <scope>test</scope> </dependency> </dependencies> <build> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-compiler-plugin</artifactId> <version>${compiler.version}</version> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-dependency-plugin</artifactId> <version>${dependency.version}</version> <executions> <execution> <id>analyze</id> <goals> <goal>analyze-only</goal> </goals> </execution> </executions> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-enforcer-plugin</artifactId> <version>${enforcer.version}</version> <executions> <execution> <id>enforce-maven</id> <goals> <goal>enforce</goal> </goals> <configuration> <rules> <requireMavenVersion> <version>3.6.3</version> </requireMavenVersion> </rules> </configuration> </execution> </executions> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-surefire-plugin</artifactId> <version>${surefire.version}</version> </plugin> <plugin> <groupId>org.codehaus.mojo</groupId> <artifactId>exec-maven-plugin</artifactId> <version>${exec.version}</version> <configuration> <cleanupDaemonThreads>false</cleanupDaemonThreads> </configuration> </plugin> <plugin> <groupId>org.jacoco</groupId> <artifactId>jacoco-maven-plugin</artifactId> <version>${jacoco.version}</version> <configuration> <excludes> <exclude>**/demo/**</exclude> </excludes> </configuration> <executions> <execution> <goals> <goal>prepare-agent</goal> </goals> </execution> <execution> <id>report</id> <phase>prepare-package</phase> <goals> <goal>report</goal> </goals> </execution> </executions> </plugin> <plugin> <groupId>org.codehaus.mojo</groupId> <artifactId>versions-maven-plugin</artifactId> <version>${versions.version}</version> <configuration> <ruleSet> <ignoreVersions> <ignoreVersion> <type>regex</type> <version>.+-(alpha|beta).*</version> </ignoreVersion> </ignoreVersions> </ruleSet> </configuration> </plugin> <!-- https://github.com/diffplug/spotless/blob/main/plugin-maven/README.md --> <plugin> <groupId>com.diffplug.spotless</groupId> <artifactId>spotless-maven-plugin</artifactId> <version>${spotless.version}</version> <configuration> <ratchetFrom>origin/main</ratchetFrom> <java> <toggleOffOn /> <includes> <include>src/*/java/**/*.java</include> </includes> <cleanthat /> <eclipse> <file>${project.basedir}/codestyle/spotless_java_eclipseformat.xml</file> </eclipse> <importOrder> <wildcardsLast>false</wildcardsLast> <file>${project.basedir}/codestyle/spotless_java.importorder</file> </importOrder> <removeUnusedImports> <engine>cleanthat-javaparser-unnecessaryimport</engine> </removeUnusedImports> </java> </configuration> </plugin> </plugins> </build> </project>