Skip to content

Commit d50ddaf

Browse files
committed
Update README.md
- Update the version number and download links. - Minor example change.
1 parent 3ac77b1 commit d50ddaf

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
# IntelliJava-OpenaiAPI
2-
*IntelliJava V0.1 beta*
2+
*IntelliJava V0.2 beta*
33

44
IntelliJava allows java developers to easily integrate with the latest language models and deep learning frameworks like GPT-3 using few lines of code.
55
The first version supports only Openai APIs. It provides a simple and intuitive API with convenient methods for sending text input to GPT-3 and receiving generated text in return.
66

77

88
# How to use
9-
1. Import the core jar file to your project [intellijava.jar](https://insta-answer-public.s3.amazonaws.com/opensource/IntelliJava/version0.1/com.intellijava.core-0.1-SNAPSHOT.jar).
9+
1. Import the core jar file to your project [intellijava.jar](https://insta-answer-public.s3.amazonaws.com/opensource/IntelliJava/version0.2/com.intellijava.core-0.2.jar).
1010
2. Add gson dependency using maven or the jar file (check the dependencies section).
1111
3. Call the RemoteLanguageModel as described in the code example.
1212

@@ -17,7 +17,7 @@ String apiKey = "<todo-add-api-key>";
1717
RemoteLanguageModel wrapper = new RemoteLanguageModel(apiKey, "openai");
1818
1919
// 2- call generateText with any command !
20-
String command = "write a java code that says hello wrold";
20+
String command = "return a java code that says hello wrold";
2121
String resValue = wrapper.generateText("text-davinci-002", command, 0.5F, 100);
2222
```
2323
For full example check the samples projects inside sample_code folder.

0 commit comments

Comments
 (0)