Skip to content

Commit

Permalink
Version 0.3.2
Browse files Browse the repository at this point in the history
  • Loading branch information
peterbanda committed Apr 26, 2023
1 parent aae09eb commit 6889175
Show file tree
Hide file tree
Showing 7 changed files with 18 additions and 18 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# OpenAI Scala Client 🤖
[![version](https://img.shields.io/badge/version-0.3.1-green.svg)](https://cequence.io) [![License](https://img.shields.io/badge/License-MIT-lightgrey.svg)](https://opensource.org/licenses/MIT) ![GitHub Stars](https://img.shields.io/github/stars/cequence-io/openai-scala-client?style=social) [![Twitter Follow](https://img.shields.io/twitter/follow/0xbnd?style=social)](https://twitter.com/0xbnd)
[![version](https://img.shields.io/badge/version-0.3.2-green.svg)](https://cequence.io) [![License](https://img.shields.io/badge/License-MIT-lightgrey.svg)](https://opensource.org/licenses/MIT) ![GitHub Stars](https://img.shields.io/github/stars/cequence-io/openai-scala-client?style=social) [![Twitter Follow](https://img.shields.io/twitter/follow/0xbnd?style=social)](https://twitter.com/0xbnd)

This is a no-nonsense async Scala client for OpenAI API supporting all the available endpoints and params **including streaming**, the newest **ChatGPT completion**, and **voice routines** (as defined [here](https://beta.openai.com/docs/api-reference)), provided in a single, convenient service called [OpenAIService](./openai-core/src/main/scala/io/cequence/openaiscala/service/OpenAIService.scala). The supported calls are:

Expand Down Expand Up @@ -28,7 +28,7 @@ The currently supported Scala versions are **2.12, 2.13**, and **3**. Note that
To pull the library you have to add the following dependency to your *build.sbt*

```
"io.cequence" %% "openai-scala-client" % "0.3.1"
"io.cequence" %% "openai-scala-client" % "0.3.2"
```

or to *pom.xml* (if you use maven)
Expand All @@ -37,11 +37,11 @@ or to *pom.xml* (if you use maven)
<dependency>
<groupId>io.cequence</groupId>
<artifactId>openai-scala-client_2.12</artifactId>
<version>0.3.1</version>
<version>0.3.2</version>
</dependency>
```

If you want a streaming support use `"io.cequence" %% "openai-scala-client-stream" % "0.3.1"` instead.
If you want a streaming support use `"io.cequence" %% "openai-scala-client-stream" % "0.3.2"` instead.

## Config ⚙️

Expand Down
2 changes: 1 addition & 1 deletion build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ val scala3 = "3.2.2"

ThisBuild / organization := "io.cequence"
ThisBuild / scalaVersion := scala212
ThisBuild / version := "0.3.1"
ThisBuild / version := "0.3.2"
ThisBuild / isSnapshot := false

lazy val core = (project in file("openai-core"))
Expand Down
6 changes: 3 additions & 3 deletions openai-client-stream/README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# OpenAI Scala Client - Stream Support [![version](https://img.shields.io/badge/version-0.3.1-green.svg)](https://cequence.io) [![License](https://img.shields.io/badge/License-MIT-lightgrey.svg)](https://opensource.org/licenses/MIT)
# OpenAI Scala Client - Stream Support [![version](https://img.shields.io/badge/version-0.3.2-green.svg)](https://cequence.io) [![License](https://img.shields.io/badge/License-MIT-lightgrey.svg)](https://opensource.org/licenses/MIT)

This module provides streaming support for the client. Note that the full project documentation can be found [here](../README.md).

Expand All @@ -9,7 +9,7 @@ The currently supported Scala versions are **2.12, 2.13**, and **3**.
To pull the library you have to add the following dependency to your *build.sbt*

```
"io.cequence" %% "openai-scala-client-stream" % "0.3.1"
"io.cequence" %% "openai-scala-client-stream" % "0.3.2"
```

or to *pom.xml* (if you use maven)
Expand All @@ -18,6 +18,6 @@ or to *pom.xml* (if you use maven)
<dependency>
<groupId>io.cequence</groupId>
<artifactId>openai-scala-client-stream_2.12</artifactId>
<version>0.3.1</version>
<version>0.3.2</version>
</dependency>
```
2 changes: 1 addition & 1 deletion openai-client-stream/build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name := "openai-scala-client-stream"

description := "Stream support for the OpenAI Scala client."

val akkaHttpVersion = "10.5.0-M1"
val akkaHttpVersion = "10.5.0-M1" // TODO: migrate to 10.5.1

libraryDependencies ++= Seq(
"com.typesafe.akka" %% "akka-http" % akkaHttpVersion // JSON WS Streaming
Expand Down
6 changes: 3 additions & 3 deletions openai-client/README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# OpenAI Scala Client - Client [![version](https://img.shields.io/badge/version-0.3.1-green.svg)](https://cequence.io) [![License](https://img.shields.io/badge/License-MIT-lightgrey.svg)](https://opensource.org/licenses/MIT)
# OpenAI Scala Client - Client [![version](https://img.shields.io/badge/version-0.3.2-green.svg)](https://cequence.io) [![License](https://img.shields.io/badge/License-MIT-lightgrey.svg)](https://opensource.org/licenses/MIT)

This module provides the actual meat, i.e. WS client implementation ([OpenAIServiceImpl and OpenAIServiceFactory](./src/main/scala/io/cequence/openaiscala/service/OpenAIServiceImpl.scala)).
Note that the full project documentation can be found [here](../README.md).
Expand All @@ -10,7 +10,7 @@ The currently supported Scala versions are **2.12, 2.13**, and **3**.
To pull the library you have to add the following dependency to your *build.sbt*

```
"io.cequence" %% "openai-scala-client" % "0.3.1"
"io.cequence" %% "openai-scala-client" % "0.3.2"
```

or to *pom.xml* (if you use maven)
Expand All @@ -19,6 +19,6 @@ or to *pom.xml* (if you use maven)
<dependency>
<groupId>io.cequence</groupId>
<artifactId>openai-scala-client_2.12</artifactId>
<version>0.3.1</version>
<version>0.3.2</version>
</dependency>
```
6 changes: 3 additions & 3 deletions openai-core/README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# OpenAI Scala Client - Core [![version](https://img.shields.io/badge/version-0.3.1-green.svg)](https://cequence.io) [![License](https://img.shields.io/badge/License-MIT-lightgrey.svg)](https://opensource.org/licenses/MIT)
# OpenAI Scala Client - Core [![version](https://img.shields.io/badge/version-0.3.2-green.svg)](https://cequence.io) [![License](https://img.shields.io/badge/License-MIT-lightgrey.svg)](https://opensource.org/licenses/MIT)

This is the core module, which contains mostly domain classes and the [OpenAIService](./src/main/scala/io/cequence/openaiscala/service/OpenAIService.scala) definition.
Note that the full project documentation can be found [here](../README.md).
Expand All @@ -10,7 +10,7 @@ The currently supported Scala versions are **2.12, 2.13**, and **3**.
To pull the library you have to add the following dependency to your *build.sbt*

```
"io.cequence" %% "openai-scala-core" % "0.3.1"
"io.cequence" %% "openai-scala-core" % "0.3.2"
```

or to *pom.xml* (if you use maven)
Expand All @@ -19,6 +19,6 @@ or to *pom.xml* (if you use maven)
<dependency>
<groupId>io.cequence</groupId>
<artifactId>openai-scala-core_2.12</artifactId>
<version>0.3.1</version>
<version>0.3.2</version>
</dependency>
```
6 changes: 3 additions & 3 deletions openai-guice/README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# OpenAI Scala Client - Guice [![version](https://img.shields.io/badge/version-0.3.1-green.svg)](https://cequence.io) [![License](https://img.shields.io/badge/License-MIT-lightgrey.svg)](https://opensource.org/licenses/MIT)
# OpenAI Scala Client - Guice [![version](https://img.shields.io/badge/version-0.3.2-green.svg)](https://cequence.io) [![License](https://img.shields.io/badge/License-MIT-lightgrey.svg)](https://opensource.org/licenses/MIT)

This module provides dependency injection for the OpenAI Scala client with a help of `Guice` library.
Note that the full project documentation can be found [here](../README.md).
Expand All @@ -10,7 +10,7 @@ The currently supported Scala versions are **2.12** and **2.13**.
To pull the library you have to add the following dependency to your *build.sbt*

```
"io.cequence" %% "openai-scala-guice" % "0.3.1"
"io.cequence" %% "openai-scala-guice" % "0.3.2"
```

or to *pom.xml* (if you use maven)
Expand All @@ -19,6 +19,6 @@ or to *pom.xml* (if you use maven)
<dependency>
<groupId>io.cequence</groupId>
<artifactId>openai-scala-guice_2.12</artifactId>
<version>0.3.1</version>
<version>0.3.2</version>
</dependency>
```

0 comments on commit 6889175

Please sign in to comment.