Skip to content

Commit

Permalink
chore: update README.md [skip ci]
Browse files Browse the repository at this point in the history
  • Loading branch information
aallam committed Nov 24, 2023
1 parent 00989ce commit fcfd8b7
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,18 +47,19 @@ an [engine](https://ktor.io/docs/http-client-engines.html) for each target.

Gradle is required for multiplatform support, but there's nothing stopping you from using the jvm client in a Maven
project. You still need to add to your dependencies one
of [Ktor's engines](https://ktor.io/docs/http-client-engines.html). For example:
of [Ktor's engines](https://ktor.io/docs/http-client-engines.html).

<details>
<summary>Setup the client with maven</summary>

```xml
<dependencies>
<!-- https://mvnrepository.com/artifact/com.aallam.openai/openai-client-jvm -->
<dependency>
<groupId>com.aallam.openai</groupId>
<artifactId>openai-client-jvm</artifactId>
<version>3.6.0</version>
</dependency>

<!-- https://mvnrepository.com/artifact/io.ktor/ktor-client-okhttp-jvm -->
<dependency>
<groupId>io.ktor</groupId>
<artifactId>ktor-client-okhttp-jvm</artifactId>
Expand All @@ -68,6 +69,8 @@ of [Ktor's engines](https://ktor.io/docs/http-client-engines.html). For example:
</dependencies>
```

</details>

The BOM is not supported for Maven projects.

## ⚡️ Getting Started
Expand Down

0 comments on commit fcfd8b7

Please sign in to comment.