Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 1a463b6

Browse filesBrowse files
authored
docs: add maven documentation (TheoKanning#73)
While most Maven developers will be able to make the conversion, it is still nice to have for quicker on-boarding and avoiding manual conversions
1 parent c55aba9 commit 1a463b6
Copy full SHA for 1a463b6

File tree

Expand file treeCollapse file tree

1 file changed

+19
-0
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+19
-0
lines changed

‎README.md

Copy file name to clipboardExpand all lines: README.md
+19Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,25 @@ as well as an example project using the client.
3131
or
3232
`implementation 'com.theokanning.openai-gpt3-java:client:<version>'`
3333

34+
### Importing into a Maven project
35+
```xml
36+
<dependency>
37+
<groupId>com.theokanning.openai-gpt3-java</groupId>
38+
<artifactId>api</artifactId>
39+
<version>version</version>
40+
</dependency>
41+
```
42+
43+
or
44+
45+
```xml
46+
<dependency>
47+
<groupId>com.theokanning.openai-gpt3-java</groupId>
48+
<artifactId>client</artifactId>
49+
<version>version</version>
50+
</dependency>
51+
```
52+
3453
### Using OpenAiService
3554
If you're looking for the fastest solution, import the `client` and use [OpenAiService](client/src/main/java/com/theokanning/openai/OpenAiService.java).
3655
```

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.