Skip to content

Commit

Permalink
chore: prepare release 3.2.5
Browse files Browse the repository at this point in the history
  • Loading branch information
aallam committed Jun 3, 2023
1 parent b3f3650 commit a1a0c4c
Show file tree
Hide file tree
Showing 4 changed files with 25 additions and 6 deletions.
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
# 3.2.5
> Published 03 Jun 2023
### Added
- Add `OpenAIHost` builder for Azure (#196)
- Support of `OpenAIHost` with a base path (#196)

# 3.2.4
> Published 21 May 2023
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ repositories {
}
dependencies {
implementation "com.aallam.openai:openai-client:3.2.4"
implementation "com.aallam.openai:openai-client:3.2.5"
}
```

Expand All @@ -30,7 +30,7 @@ Alternatively, you can use [openai-client-bom](/openai-client-bom) by adding th
```groovy
dependencies {
// import Kotlin API client BOM
implementation platform('com.aallam.openai:openai-client-bom:3.2.4')
implementation platform('com.aallam.openai:openai-client-bom:3.2.5')
// define dependencies without versions
implementation 'com.aallam.openai:openai-client'
Expand Down
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ kotlin.js.compiler=ir

# Lib
GROUP=com.aallam.openai
VERSION_NAME=3.2.4
VERSION_NAME=3.2.5

# OSS
SONATYPE_HOST=DEFAULT
Expand Down
18 changes: 15 additions & 3 deletions openai-client/api/openai-client.api
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,15 @@ public abstract interface class com/aallam/openai/client/Images {
public abstract fun imageURL (Lcom/aallam/openai/api/image/ImageVariation;Lkotlin/coroutines/Continuation;)Ljava/lang/Object;
}

public final class com/aallam/openai/client/LoggingConfig {
public fun <init> ()V
public fun <init> (Lcom/aallam/openai/api/logging/LogLevel;Lcom/aallam/openai/api/logging/Logger;Z)V
public synthetic fun <init> (Lcom/aallam/openai/api/logging/LogLevel;Lcom/aallam/openai/api/logging/Logger;ZILkotlin/jvm/internal/DefaultConstructorMarker;)V
public final fun getLogLevel ()Lcom/aallam/openai/api/logging/LogLevel;
public final fun getLogger ()Lcom/aallam/openai/api/logging/Logger;
public final fun getSanitize ()Z
}

public abstract interface class com/aallam/openai/client/Models {
public abstract fun model-Q3EJpKE (Ljava/lang/String;Lkotlin/coroutines/Continuation;)Ljava/lang/Object;
public abstract fun models (Lkotlin/coroutines/Continuation;)Ljava/lang/Object;
Expand All @@ -63,10 +72,11 @@ public abstract interface class com/aallam/openai/client/OpenAI : com/aallam/ope
public final class com/aallam/openai/client/OpenAIConfig {
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
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
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
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
public final fun getHeaders ()Ljava/util/Map;
public final fun getHost ()Lcom/aallam/openai/client/OpenAIHost;
public final fun getLogLevel ()Lcom/aallam/openai/api/logging/LogLevel;
public final fun getLogger ()Lcom/aallam/openai/api/logging/Logger;
public final fun getLogging ()Lcom/aallam/openai/client/LoggingConfig;
public final fun getOrganization ()Ljava/lang/String;
public final fun getProxy ()Lcom/aallam/openai/client/ProxyConfig;
public final fun getRetry ()Lcom/aallam/openai/client/RetryStrategy;
Expand All @@ -83,12 +93,14 @@ public final class com/aallam/openai/client/OpenAIHost {
}

public final class com/aallam/openai/client/OpenAIHost$Companion {
public final fun azure (Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Lcom/aallam/openai/client/OpenAIHost;
public final fun getOpenAI ()Lcom/aallam/openai/client/OpenAIHost;
}

public final class com/aallam/openai/client/OpenAIKt {
public static final fun OpenAI (Lcom/aallam/openai/client/OpenAIConfig;)Lcom/aallam/openai/client/OpenAI;
public static final fun OpenAI (Ljava/lang/String;)Lcom/aallam/openai/client/OpenAI;
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;
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;
}

public abstract interface class com/aallam/openai/client/ProxyConfig {
Expand Down

0 comments on commit a1a0c4c

Please sign in to comment.