|
1 | 1 | # IntelliJava-OpenaiAPI |
2 | | -*IntelliJava V0.5.5* |
| 2 | +*IntelliJava V0.6.0* |
3 | 3 |
|
4 | | -IntelliJava allows java developers to easily integrate with the latest language models and deep learning frameworks using few lines of java code. |
5 | | -The first version supports only Openai APIs. It provides a simple and intuitive API with convenient methods for sending text input to models like (GPT-3 and DALL·E) and receiving generated text or images in return. |
| 4 | +IntelliJava is the ultimate tool for Java developers looking to integrate with the latest language models and deep learning frameworks. The library provides a simple and intuitive API with convenient methods for sending text input to models like GPT-3 and DALL·E, and receiving generated text or images in return. With just a few lines of code, you can easily access the power of cutting-edge AI models to enhance your projects. |
| 5 | + |
| 6 | +The supported models in this version: |
| 7 | +- OpenAI: Access GPT-3 to generate text and DALL·E to generate images. OpenAI is preferred when you want quality results without tuning. |
| 8 | +- Cohere.ai: generate text; Cohere allows you to generate your language model to suit your specific needs. |
6 | 9 |
|
7 | 10 |
|
8 | 11 | # How to use |
9 | 12 | 1. Import the core jar file to your project or add the maven package (check Integration section). |
10 | 13 | 2. Add gson dependency using maven or the jar file (check dependencies section). |
11 | | -3. Call the ``RemoteLanguageModel`` for the language model and ``RemoateImageModel`` for image generation. |
| 14 | +3. Call the ``RemoteLanguageModel`` for the language models and ``RemoateImageModel`` for image generation. |
12 | 15 |
|
13 | 16 | ## Integration |
14 | | -The package released to [Maven Central Repository](https://central.sonatype.dev/artifact/io.github.barqawiz/intellijava.core/0.5.5). |
| 17 | +The package released to [Maven Central Repository](https://central.sonatype.dev/artifact/io.github.barqawiz/intellijava.core/0.6.0). |
15 | 18 |
|
16 | 19 | Maven: |
17 | 20 | ```xml |
18 | 21 | <dependency> |
19 | 22 | <groupId>io.github.barqawiz</groupId> |
20 | 23 | <artifactId>intellijava.core</artifactId> |
21 | | - <version>0.5.5</version> |
| 24 | + <version>0.6.0</version> |
22 | 25 | </dependency> |
23 | 26 | ``` |
24 | 27 |
|
25 | 28 | Gradle: |
26 | 29 |
|
27 | 30 | ``` |
28 | | -implementation group: 'io.github.barqawiz', name: 'intellijava.core', version: '0.5.5' |
| 31 | +implementation group: 'io.github.barqawiz', name: 'intellijava.core', version: '0.6.0' |
29 | 32 | ``` |
30 | 33 |
|
31 | 34 | Gradle(Kotlin): |
32 | 35 | ``` |
33 | | -implementation("io.github.barqawiz:intellijava.core:0.5.5") |
| 36 | +implementation("io.github.barqawiz:intellijava.core:0.6.0") |
34 | 37 | ``` |
35 | 38 |
|
36 | 39 | Jar download: |
37 | | -[intellijava.jar](https://insta-answer-public.s3.amazonaws.com/opensource/IntelliJava/version0.5.5/intellijava.core-0.5.5.jar). |
| 40 | +[intellijava.jar](https://repo1.maven.org/maven2/io/github/barqawiz/intellijava.core/0.6.0/intellijava.core-0.6.0.jar). |
38 | 41 |
|
39 | 42 | For ready integration: try the sample_code. |
40 | 43 |
|
@@ -95,7 +98,7 @@ Call for contributors: |
95 | 98 | - [x] Add support to OpenAI Completion API. |
96 | 99 | - [x] Add support to OpenAI DALL·E 2. |
97 | 100 | - [ ] Add support to other OpenAI functions. |
98 | | -- [ ] Add support to cohere generate API. |
| 101 | +- [x] Add support to cohere generate API. |
99 | 102 | - [ ] Add support to Google language models. |
100 | 103 | - [ ] Add support to Amazon language models. |
101 | 104 | - [ ] Add support to Midjourney image generation. |
|
0 commit comments