diff --git a/lib/src/core/base/chat/interfaces/create.dart b/lib/src/core/base/chat/interfaces/create.dart index 59e168b8..26062d42 100644 --- a/lib/src/core/base/chat/interfaces/create.dart +++ b/lib/src/core/base/chat/interfaces/create.dart @@ -19,7 +19,7 @@ abstract class CreateInterface { Map? logitBias, String? user, http.Client? client, - Map? responseFormat, + Map? responseFormat, int? seed, }); @@ -36,7 +36,7 @@ abstract class CreateInterface { double? presencePenalty, double? frequencyPenalty, Map? logitBias, - Map? responseFormat, + Map? responseFormat, String? user, http.Client? client, int? seed, @@ -57,7 +57,7 @@ abstract class CreateInterface { Map? logitBias, String? user, http.Client? client, - Map? responseFormat, + Map? responseFormat, int? seed, }); } diff --git a/lib/src/instance/chat/chat.dart b/lib/src/instance/chat/chat.dart index d9504e76..c6c4a198 100644 --- a/lib/src/instance/chat/chat.dart +++ b/lib/src/instance/chat/chat.dart @@ -80,7 +80,7 @@ interface class OpenAIChat implements OpenAIChatBase { double? frequencyPenalty, Map? logitBias, String? user, - Map? responseFormat, + Map? responseFormat, int? seed, bool? logprobs, int? topLogprobs, @@ -176,7 +176,7 @@ interface class OpenAIChat implements OpenAIChatBase { double? presencePenalty, double? frequencyPenalty, Map? logitBias, - Map? responseFormat, + Map? responseFormat, int? seed, String? user, http.Client? client, @@ -225,7 +225,7 @@ interface class OpenAIChat implements OpenAIChatBase { Map? logitBias, String? user, http.Client? client, - Map? responseFormat, + Map? responseFormat, int? seed, }) { return OpenAINetworkingClient.postStream(