Skip to content

Commit 22ac477

Browse files
committed
updated to version 0.3.3
1 parent 3784ed4 commit 22ac477

File tree

2 files changed

+10
-35
lines changed

2 files changed

+10
-35
lines changed

README.md

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
1-
# JavaAI is an open-source Java library for interacting with the OpenAI API
1+
# JavaAI
22

33
[![Maven Central](https://img.shields.io/maven-central/v/io.github.artemnefedov/javaai.svg?label=Maven%20Central)](https://search.maven.org/search?q=g:%22io.github.artemnefedov%22%20AND%20a:%22javaai%22)
44
[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)
5-
[![Codacy Badge](https://app.codacy.com/project/badge/Grade/1194ce221f4f46ed950d4b05e6fd248c)](https://app.codacy.com/gh/artemnefedov/JavaAI_OpenAI-SDK/dashboard?utm_source=gh&utm_medium=referral&utm_content=&utm_campaign=Badge_grade)
65

76
## The JavaAI Java SDK is a non-official open source library that allows Java developers to interact with OpenAI models with just a few lines of code.
87

@@ -22,12 +21,12 @@ _The package released to [Maven Central Repository](https://central.sonatype.com
2221
<dependency>
2322
<groupId>io.github.artemnefedov</groupId>
2423
<artifactId>javaai</artifactId>
25-
<version>0.3.2</version>
24+
<version>0.3.3</version>
2625
</dependency>
2726
```
2827
#### Gradle:
2928
```groovy
30-
implementation group: 'io.github.artemnefedov', name: 'javaai', version: '0.3.2'
29+
implementation group: 'io.github.artemnefedov', name: 'javaai', version: '0.3.3'
3130
```
3231
#### or download the JAR file from the [releases page](https://github.com/artemnefedov/JavaAI_OpenAI-SDK/releases)
3332

@@ -54,7 +53,7 @@ messages.add(new ChatMessage("user", "Hello!"));
5453

5554
String chatResponse = openAI.chat(messages);
5655
```
57-
#### Just in case, I added a [demo](https://github.com/artemnefedov/JavaAI_OpenAI-SDK/tree/demo).
56+
#### Just in case, I added a [demo](https://github.com/artemnefedov/JavaAI/tree/demo).
5857
<br>
5958

6059
**Notice:**
@@ -70,7 +69,7 @@ openAI.customImageBuilderConfig(imageBuilder);
7069
---
7170
## Models JavaAI can work with:
7271
1. [x] [Completions](https://platform.openai.com/docs/api-reference/completions)
73-
2. [x] [Chat](https://platform.openai.com/docs/api-reference/chat)
72+
2. [x] [Chat-GPT](https://platform.openai.com/docs/api-reference/chat)
7473
3. [x] [Create image](https://platform.openai.com/docs/api-reference/images/create)
7574

7675
---
@@ -82,4 +81,4 @@ openAI.customImageBuilderConfig(imageBuilder);
8281

8382
## License
8483
#### Distributed under the [MIT License](https://github.com/artemnefedov/OpenAI/blob/main/LICENSE)
85-
# JavaAI
84+
# JavaAI

pom.xml

Lines changed: 4 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -1,40 +1,16 @@
11
<?xml version="1.0" encoding="UTF-8"?>
2-
<!--
3-
~ MIT License
4-
~
5-
~ Copyright (c) 2023. Artyom Nefedov
6-
~
7-
~ Permission is hereby granted, free of charge, to any person obtaining a copy
8-
~ of this software and associated documentation files (the "Software"), to deal
9-
~ in the Software without restriction, including without limitation the rights
10-
~ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
11-
~ copies of the Software, and to permit persons to whom the Software is
12-
~ furnished to do so, subject to the following conditions:
13-
~
14-
~ The above copyright notice and this permission notice shall be included in all
15-
~ copies or substantial portions of the Software.
16-
~
17-
~ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
18-
~ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
19-
~ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
20-
~ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
21-
~ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
22-
~ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
23-
~ SOFTWARE.
24-
-->
25-
262
<project xmlns="http://maven.apache.org/POM/4.0.0"
273
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
284
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
295
<modelVersion>4.0.0</modelVersion>
306

317
<groupId>io.github.artemnefedov</groupId>
328
<artifactId>javaai</artifactId>
33-
<version>0.3.2</version>
9+
<version>0.3.3</version>
3410
<packaging>jar</packaging>
3511

3612
<name>JavaAI</name>
37-
<description>Open AI GPT-3 Java SDK</description>
13+
<description>JavaAI is an open-source Java library for interacting with the OpenAI API</description>
3814
<url>https://github.com/artemnefedov/JavaAI</url>
3915

4016
<issueManagement>
@@ -64,8 +40,8 @@
6440
</scm>
6541

6642
<properties>
67-
<maven.compiler.source>1.8</maven.compiler.source>
68-
<maven.compiler.target>1.8</maven.compiler.target>
43+
<maven.compiler.source>8</maven.compiler.source>
44+
<maven.compiler.target>8</maven.compiler.target>
6945
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
7046
<sonar.organization>artemnefedov</sonar.organization>
7147
<sonar.host.url>https://sonarcloud.io</sonar.host.url>

0 commit comments

Comments
 (0)