Skip to content

Commit a1a0c4c

Browse files
committed
chore: prepare release 3.2.5
1 parent b3f3650 commit a1a0c4c

File tree

4 files changed

+25
-6
lines changed

4 files changed

+25
-6
lines changed

CHANGELOG.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,10 @@
1+
# 3.2.5
2+
> Published 03 Jun 2023
3+
4+
### Added
5+
- Add `OpenAIHost` builder for Azure (#196)
6+
- Support of `OpenAIHost` with a base path (#196)
7+
18
# 3.2.4
29
> Published 21 May 2023
310

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ repositories {
1717
}
1818
1919
dependencies {
20-
implementation "com.aallam.openai:openai-client:3.2.4"
20+
implementation "com.aallam.openai:openai-client:3.2.5"
2121
}
2222
```
2323

@@ -30,7 +30,7 @@ Alternatively, you can use [openai-client-bom](/openai-client-bom) by adding th
3030
```groovy
3131
dependencies {
3232
// import Kotlin API client BOM
33-
implementation platform('com.aallam.openai:openai-client-bom:3.2.4')
33+
implementation platform('com.aallam.openai:openai-client-bom:3.2.5')
3434
3535
// define dependencies without versions
3636
implementation 'com.aallam.openai:openai-client'

gradle.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ kotlin.js.compiler=ir
55

66
# Lib
77
GROUP=com.aallam.openai
8-
VERSION_NAME=3.2.4
8+
VERSION_NAME=3.2.5
99

1010
# OSS
1111
SONATYPE_HOST=DEFAULT

openai-client/api/openai-client.api

Lines changed: 15 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,15 @@ public abstract interface class com/aallam/openai/client/Images {
4848
public abstract fun imageURL (Lcom/aallam/openai/api/image/ImageVariation;Lkotlin/coroutines/Continuation;)Ljava/lang/Object;
4949
}
5050

51+
public final class com/aallam/openai/client/LoggingConfig {
52+
public fun <init> ()V
53+
public fun <init> (Lcom/aallam/openai/api/logging/LogLevel;Lcom/aallam/openai/api/logging/Logger;Z)V
54+
public synthetic fun <init> (Lcom/aallam/openai/api/logging/LogLevel;Lcom/aallam/openai/api/logging/Logger;ZILkotlin/jvm/internal/DefaultConstructorMarker;)V
55+
public final fun getLogLevel ()Lcom/aallam/openai/api/logging/LogLevel;
56+
public final fun getLogger ()Lcom/aallam/openai/api/logging/Logger;
57+
public final fun getSanitize ()Z
58+
}
59+
5160
public abstract interface class com/aallam/openai/client/Models {
5261
public abstract fun model-Q3EJpKE (Ljava/lang/String;Lkotlin/coroutines/Continuation;)Ljava/lang/Object;
5362
public abstract fun models (Lkotlin/coroutines/Continuation;)Ljava/lang/Object;
@@ -63,10 +72,11 @@ public abstract interface class com/aallam/openai/client/OpenAI : com/aallam/ope
6372
public final class com/aallam/openai/client/OpenAIConfig {
6473
public fun <init> (Ljava/lang/String;Lcom/aallam/openai/api/logging/LogLevel;Lcom/aallam/openai/api/logging/Logger;Lcom/aallam/openai/api/http/Timeout;Ljava/lang/String;Ljava/util/Map;Lcom/aallam/openai/client/OpenAIHost;Lcom/aallam/openai/client/ProxyConfig;Lcom/aallam/openai/client/RetryStrategy;)V
6574
public synthetic fun <init> (Ljava/lang/String;Lcom/aallam/openai/api/logging/LogLevel;Lcom/aallam/openai/api/logging/Logger;Lcom/aallam/openai/api/http/Timeout;Ljava/lang/String;Ljava/util/Map;Lcom/aallam/openai/client/OpenAIHost;Lcom/aallam/openai/client/ProxyConfig;Lcom/aallam/openai/client/RetryStrategy;ILkotlin/jvm/internal/DefaultConstructorMarker;)V
75+
public fun <init> (Ljava/lang/String;Lcom/aallam/openai/client/LoggingConfig;Lcom/aallam/openai/api/http/Timeout;Ljava/lang/String;Ljava/util/Map;Lcom/aallam/openai/client/OpenAIHost;Lcom/aallam/openai/client/ProxyConfig;Lcom/aallam/openai/client/RetryStrategy;)V
76+
public synthetic fun <init> (Ljava/lang/String;Lcom/aallam/openai/client/LoggingConfig;Lcom/aallam/openai/api/http/Timeout;Ljava/lang/String;Ljava/util/Map;Lcom/aallam/openai/client/OpenAIHost;Lcom/aallam/openai/client/ProxyConfig;Lcom/aallam/openai/client/RetryStrategy;ILkotlin/jvm/internal/DefaultConstructorMarker;)V
6677
public final fun getHeaders ()Ljava/util/Map;
6778
public final fun getHost ()Lcom/aallam/openai/client/OpenAIHost;
68-
public final fun getLogLevel ()Lcom/aallam/openai/api/logging/LogLevel;
69-
public final fun getLogger ()Lcom/aallam/openai/api/logging/Logger;
79+
public final fun getLogging ()Lcom/aallam/openai/client/LoggingConfig;
7080
public final fun getOrganization ()Ljava/lang/String;
7181
public final fun getProxy ()Lcom/aallam/openai/client/ProxyConfig;
7282
public final fun getRetry ()Lcom/aallam/openai/client/RetryStrategy;
@@ -83,12 +93,14 @@ public final class com/aallam/openai/client/OpenAIHost {
8393
}
8494

8595
public final class com/aallam/openai/client/OpenAIHost$Companion {
96+
public final fun azure (Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Lcom/aallam/openai/client/OpenAIHost;
8697
public final fun getOpenAI ()Lcom/aallam/openai/client/OpenAIHost;
8798
}
8899

89100
public final class com/aallam/openai/client/OpenAIKt {
90101
public static final fun OpenAI (Lcom/aallam/openai/client/OpenAIConfig;)Lcom/aallam/openai/client/OpenAI;
91-
public static final fun OpenAI (Ljava/lang/String;)Lcom/aallam/openai/client/OpenAI;
102+
public static final fun OpenAI (Ljava/lang/String;Lcom/aallam/openai/client/LoggingConfig;Lcom/aallam/openai/api/http/Timeout;Ljava/lang/String;Ljava/util/Map;Lcom/aallam/openai/client/OpenAIHost;Lcom/aallam/openai/client/ProxyConfig;Lcom/aallam/openai/client/RetryStrategy;)Lcom/aallam/openai/client/OpenAI;
103+
public static synthetic fun OpenAI$default (Ljava/lang/String;Lcom/aallam/openai/client/LoggingConfig;Lcom/aallam/openai/api/http/Timeout;Ljava/lang/String;Ljava/util/Map;Lcom/aallam/openai/client/OpenAIHost;Lcom/aallam/openai/client/ProxyConfig;Lcom/aallam/openai/client/RetryStrategy;ILjava/lang/Object;)Lcom/aallam/openai/client/OpenAI;
92104
}
93105

94106
public abstract interface class com/aallam/openai/client/ProxyConfig {

0 commit comments

Comments
 (0)