Skip to content

Commit 6889175

Browse files
committed
Version 0.3.2
1 parent aae09eb commit 6889175

File tree

7 files changed

+18
-18
lines changed

7 files changed

+18
-18
lines changed

README.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# OpenAI Scala Client 🤖
2-
[![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)
2+
[![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)
33

44
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:
55

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

3030
```
31-
"io.cequence" %% "openai-scala-client" % "0.3.1"
31+
"io.cequence" %% "openai-scala-client" % "0.3.2"
3232
```
3333

3434
or to *pom.xml* (if you use maven)
@@ -37,11 +37,11 @@ or to *pom.xml* (if you use maven)
3737
<dependency>
3838
<groupId>io.cequence</groupId>
3939
<artifactId>openai-scala-client_2.12</artifactId>
40-
<version>0.3.1</version>
40+
<version>0.3.2</version>
4141
</dependency>
4242
```
4343

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

4646
## Config ⚙️
4747

build.sbt

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ val scala3 = "3.2.2"
77

88
ThisBuild / organization := "io.cequence"
99
ThisBuild / scalaVersion := scala212
10-
ThisBuild / version := "0.3.1"
10+
ThisBuild / version := "0.3.2"
1111
ThisBuild / isSnapshot := false
1212

1313
lazy val core = (project in file("openai-core"))

openai-client-stream/README.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# 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)
1+
# 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)
22

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

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

1111
```
12-
"io.cequence" %% "openai-scala-client-stream" % "0.3.1"
12+
"io.cequence" %% "openai-scala-client-stream" % "0.3.2"
1313
```
1414

1515
or to *pom.xml* (if you use maven)
@@ -18,6 +18,6 @@ or to *pom.xml* (if you use maven)
1818
<dependency>
1919
<groupId>io.cequence</groupId>
2020
<artifactId>openai-scala-client-stream_2.12</artifactId>
21-
<version>0.3.1</version>
21+
<version>0.3.2</version>
2222
</dependency>
2323
```

openai-client-stream/build.sbt

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ name := "openai-scala-client-stream"
22

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

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

77
libraryDependencies ++= Seq(
88
"com.typesafe.akka" %% "akka-http" % akkaHttpVersion // JSON WS Streaming

openai-client/README.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# 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)
1+
# 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)
22

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

1212
```
13-
"io.cequence" %% "openai-scala-client" % "0.3.1"
13+
"io.cequence" %% "openai-scala-client" % "0.3.2"
1414
```
1515

1616
or to *pom.xml* (if you use maven)
@@ -19,6 +19,6 @@ or to *pom.xml* (if you use maven)
1919
<dependency>
2020
<groupId>io.cequence</groupId>
2121
<artifactId>openai-scala-client_2.12</artifactId>
22-
<version>0.3.1</version>
22+
<version>0.3.2</version>
2323
</dependency>
2424
```

openai-core/README.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# 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)
1+
# 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)
22

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

1212
```
13-
"io.cequence" %% "openai-scala-core" % "0.3.1"
13+
"io.cequence" %% "openai-scala-core" % "0.3.2"
1414
```
1515

1616
or to *pom.xml* (if you use maven)
@@ -19,6 +19,6 @@ or to *pom.xml* (if you use maven)
1919
<dependency>
2020
<groupId>io.cequence</groupId>
2121
<artifactId>openai-scala-core_2.12</artifactId>
22-
<version>0.3.1</version>
22+
<version>0.3.2</version>
2323
</dependency>
2424
```

openai-guice/README.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# 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)
1+
# 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)
22

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

1212
```
13-
"io.cequence" %% "openai-scala-guice" % "0.3.1"
13+
"io.cequence" %% "openai-scala-guice" % "0.3.2"
1414
```
1515

1616
or to *pom.xml* (if you use maven)
@@ -19,6 +19,6 @@ or to *pom.xml* (if you use maven)
1919
<dependency>
2020
<groupId>io.cequence</groupId>
2121
<artifactId>openai-scala-guice_2.12</artifactId>
22-
<version>0.3.1</version>
22+
<version>0.3.2</version>
2323
</dependency>
2424
```

0 commit comments

Comments
 (0)