Skip to content

Commit

Permalink
chore: prepare release 3.3.1
Browse files Browse the repository at this point in the history
  • Loading branch information
aallam committed Jun 24, 2023
1 parent ab24fbc commit e79b5ef
Show file tree
Hide file tree
Showing 3 changed files with 34 additions and 31 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
# 3.3.1
> Published 24 Jun 2023
### Fix
- **Chat**: function mode serializer (#203) (thanks @emeasure-github-private)

# 3.3.0
> Published 19 Jun 2023
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.3.0
VERSION_NAME=3.3.1

# OSS
SONATYPE_HOST=DEFAULT
Expand Down
57 changes: 27 additions & 30 deletions openai-core/api/openai-core.api
Original file line number Diff line number Diff line change
Expand Up @@ -340,18 +340,18 @@ public final class com/aallam/openai/api/chat/ChatCompletionChunk$Companion {

public final class com/aallam/openai/api/chat/ChatCompletionFunction {
public static final field Companion Lcom/aallam/openai/api/chat/ChatCompletionFunction$Companion;
public synthetic fun <init> (ILjava/lang/String;Ljava/lang/String;Lkotlinx/serialization/json/JsonElement;Lkotlinx/serialization/internal/SerializationConstructorMarker;Lkotlin/jvm/internal/DefaultConstructorMarker;)V
public synthetic fun <init> (Ljava/lang/String;Ljava/lang/String;Lkotlinx/serialization/json/JsonElement;ILkotlin/jvm/internal/DefaultConstructorMarker;)V
public synthetic fun <init> (Ljava/lang/String;Ljava/lang/String;Lkotlinx/serialization/json/JsonElement;Lkotlin/jvm/internal/DefaultConstructorMarker;)V
public synthetic fun <init> (ILjava/lang/String;Ljava/lang/String;Lcom/aallam/openai/api/chat/Parameters;Lkotlinx/serialization/internal/SerializationConstructorMarker;)V
public fun <init> (Ljava/lang/String;Ljava/lang/String;Lcom/aallam/openai/api/chat/Parameters;)V
public synthetic fun <init> (Ljava/lang/String;Ljava/lang/String;Lcom/aallam/openai/api/chat/Parameters;ILkotlin/jvm/internal/DefaultConstructorMarker;)V
public final fun component1 ()Ljava/lang/String;
public final fun component2 ()Ljava/lang/String;
public final fun component3-siNK2OM ()Lkotlinx/serialization/json/JsonElement;
public final fun copy-5koiJTI (Ljava/lang/String;Ljava/lang/String;Lkotlinx/serialization/json/JsonElement;)Lcom/aallam/openai/api/chat/ChatCompletionFunction;
public static synthetic fun copy-5koiJTI$default (Lcom/aallam/openai/api/chat/ChatCompletionFunction;Ljava/lang/String;Ljava/lang/String;Lkotlinx/serialization/json/JsonElement;ILjava/lang/Object;)Lcom/aallam/openai/api/chat/ChatCompletionFunction;
public final fun component3 ()Lcom/aallam/openai/api/chat/Parameters;
public final fun copy (Ljava/lang/String;Ljava/lang/String;Lcom/aallam/openai/api/chat/Parameters;)Lcom/aallam/openai/api/chat/ChatCompletionFunction;
public static synthetic fun copy$default (Lcom/aallam/openai/api/chat/ChatCompletionFunction;Ljava/lang/String;Ljava/lang/String;Lcom/aallam/openai/api/chat/Parameters;ILjava/lang/Object;)Lcom/aallam/openai/api/chat/ChatCompletionFunction;
public fun equals (Ljava/lang/Object;)Z
public final fun getDescription ()Ljava/lang/String;
public final fun getName ()Ljava/lang/String;
public final fun getParameters-siNK2OM ()Lkotlinx/serialization/json/JsonElement;
public final fun getParameters ()Lcom/aallam/openai/api/chat/Parameters;
public fun hashCode ()I
public fun toString ()Ljava/lang/String;
public static final synthetic fun write$Self (Lcom/aallam/openai/api/chat/ChatCompletionFunction;Lkotlinx/serialization/encoding/CompositeEncoder;Lkotlinx/serialization/descriptors/SerialDescriptor;)V
Expand All @@ -377,10 +377,10 @@ public final class com/aallam/openai/api/chat/ChatCompletionFunctionBuilder {
public final fun build ()Lcom/aallam/openai/api/chat/ChatCompletionFunction;
public final fun getDescription ()Ljava/lang/String;
public final fun getName ()Ljava/lang/String;
public final fun getParameters-siNK2OM ()Lkotlinx/serialization/json/JsonElement;
public final fun getParameters ()Lcom/aallam/openai/api/chat/Parameters;
public final fun setDescription (Ljava/lang/String;)V
public final fun setName (Ljava/lang/String;)V
public final fun setParameters-E1B7bxQ (Lkotlinx/serialization/json/JsonElement;)V
public final fun setParameters (Lcom/aallam/openai/api/chat/Parameters;)V
}

public final class com/aallam/openai/api/chat/ChatCompletionFunctionKt {
Expand Down Expand Up @@ -674,39 +674,36 @@ public final class com/aallam/openai/api/chat/FunctionMode$Named$Companion {
public final fun serializer ()Lkotlinx/serialization/KSerializer;
}

public final class com/aallam/openai/api/chat/FunctionParameters {
public static final field Companion Lcom/aallam/openai/api/chat/FunctionParameters$Companion;
public static final synthetic fun box-impl (Lkotlinx/serialization/json/JsonElement;)Lcom/aallam/openai/api/chat/FunctionParameters;
public static fun constructor-impl (Lkotlinx/serialization/json/JsonElement;)Lkotlinx/serialization/json/JsonElement;
public final class com/aallam/openai/api/chat/FunctionsBuilder {
public fun <init> ()V
public final fun function (Lkotlin/jvm/functions/Function1;)V
}

public final class com/aallam/openai/api/chat/Parameters {
public static final field Companion Lcom/aallam/openai/api/chat/Parameters$Companion;
public fun <init> (Lkotlinx/serialization/json/JsonElement;)V
public final fun component1 ()Lkotlinx/serialization/json/JsonElement;
public final fun copy (Lkotlinx/serialization/json/JsonElement;)Lcom/aallam/openai/api/chat/Parameters;
public static synthetic fun copy$default (Lcom/aallam/openai/api/chat/Parameters;Lkotlinx/serialization/json/JsonElement;ILjava/lang/Object;)Lcom/aallam/openai/api/chat/Parameters;
public fun equals (Ljava/lang/Object;)Z
public static fun equals-impl (Lkotlinx/serialization/json/JsonElement;Ljava/lang/Object;)Z
public static final fun equals-impl0 (Lkotlinx/serialization/json/JsonElement;Lkotlinx/serialization/json/JsonElement;)Z
public final fun getSchema ()Lkotlinx/serialization/json/JsonElement;
public fun hashCode ()I
public static fun hashCode-impl (Lkotlinx/serialization/json/JsonElement;)I
public fun toString ()Ljava/lang/String;
public static fun toString-impl (Lkotlinx/serialization/json/JsonElement;)Ljava/lang/String;
public final synthetic fun unbox-impl ()Lkotlinx/serialization/json/JsonElement;
}

public final class com/aallam/openai/api/chat/FunctionParameters$Companion {
public final fun buildJson-MLBsoQg (Lkotlin/jvm/functions/Function1;)Lkotlinx/serialization/json/JsonElement;
public final fun fromJsonString-MLBsoQg (Ljava/lang/String;)Lkotlinx/serialization/json/JsonElement;
public final class com/aallam/openai/api/chat/Parameters$Companion {
public final fun buildJsonObject (Lkotlin/jvm/functions/Function1;)Lcom/aallam/openai/api/chat/Parameters;
public final fun fromJsonString (Ljava/lang/String;)Lcom/aallam/openai/api/chat/Parameters;
public final fun serializer ()Lkotlinx/serialization/KSerializer;
}

public final class com/aallam/openai/api/chat/FunctionParameters$JsonDataSerializer : kotlinx/serialization/KSerializer {
public static final field INSTANCE Lcom/aallam/openai/api/chat/FunctionParameters$JsonDataSerializer;
public final class com/aallam/openai/api/chat/Parameters$JsonDataSerializer : kotlinx/serialization/KSerializer {
public static final field INSTANCE Lcom/aallam/openai/api/chat/Parameters$JsonDataSerializer;
public fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Lcom/aallam/openai/api/chat/Parameters;
public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object;
public fun deserialize-MLBsoQg (Lkotlinx/serialization/encoding/Decoder;)Lkotlinx/serialization/json/JsonElement;
public fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor;
public fun serialize (Lkotlinx/serialization/encoding/Encoder;Lcom/aallam/openai/api/chat/Parameters;)V
public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V
public fun serialize-sO2LLWc (Lkotlinx/serialization/encoding/Encoder;Lkotlinx/serialization/json/JsonElement;)V
}

public final class com/aallam/openai/api/chat/FunctionsBuilder {
public fun <init> ()V
public final fun function (Lkotlin/jvm/functions/Function1;)V
}

public final class com/aallam/openai/api/completion/Choice {
Expand Down

0 comments on commit e79b5ef

Please sign in to comment.