You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# Some parameter documentations has been truncated, see
375
370
# {OpenAI::Models::Chat::CompletionCreateParams} for more details.
376
371
#
@@ -426,8 +421,6 @@ class CompletionCreateParams < OpenAI::Internal::Type::BaseModel
426
421
#
427
422
# @param temperature [Float, nil] What sampling temperature to use, between 0 and 2. Higher values like 0.8 will m
428
423
#
429
-
# @param text [OpenAI::Models::Chat::CompletionCreateParams::Text]
430
-
#
431
424
# @param tool_choice [Symbol, OpenAI::Models::Chat::ChatCompletionToolChoiceOption::Auto, OpenAI::Models::Chat::ChatCompletionAllowedToolChoice, OpenAI::Models::Chat::ChatCompletionNamedToolChoice, OpenAI::Models::Chat::ChatCompletionNamedToolChoiceCustom] Controls which (if any) tool is called by the model.
432
425
#
433
426
# @param tools [Array<OpenAI::StructuredOutput::JsonSchemaConverter, OpenAI::Models::Chat::ChatCompletionFunctionTool, OpenAI::Models::Chat::ChatCompletionCustomTool>] A list of tools the model may call. You can provide either
# Some parameter documentations has been truncated, see
652
-
# {OpenAI::Models::Chat::CompletionCreateParams::Text} for more details.
653
-
#
654
-
# @param verbosity [Symbol, OpenAI::Models::Chat::CompletionCreateParams::Text::Verbosity, nil] Constrains the verbosity of the model's response. Lower values will result in
655
-
656
-
# Constrains the verbosity of the model's response. Lower values will result in
657
-
# more concise responses, while higher values will result in more verbose
658
-
# responses. Currently supported values are `low`, `medium`, and `high`.
@@ -41,7 +41,7 @@ class TextSimilarityGrader < OpenAI::Internal::Type::BaseModel
41
41
#
42
42
# A TextSimilarityGrader object which grades text based on similarity metrics.
43
43
#
44
-
# @param evaluation_metric [Symbol, OpenAI::Models::Graders::TextSimilarityGrader::EvaluationMetric] The evaluation metric to use. One of `fuzzy_match`, `bleu`, `gleu`, `meteor`, `r
44
+
# @param evaluation_metric [Symbol, OpenAI::Models::Graders::TextSimilarityGrader::EvaluationMetric] The evaluation metric to use. One of `cosine`, `fuzzy_match`, `bleu`,
45
45
#
46
46
# @param input [String] The text being graded.
47
47
#
@@ -51,13 +51,14 @@ class TextSimilarityGrader < OpenAI::Internal::Type::BaseModel
51
51
#
52
52
# @param type [Symbol, :text_similarity] The type of grader.
53
53
54
-
# The evaluation metric to use. One of `fuzzy_match`, `bleu`, `gleu`, `meteor`,
55
-
# `rouge_1`, `rouge_2`, `rouge_3`, `rouge_4`, `rouge_5`, or `rouge_l`.
54
+
# The evaluation metric to use. One of `cosine`, `fuzzy_match`, `bleu`, `gleu`,
55
+
# `meteor`, `rouge_1`, `rouge_2`, `rouge_3`, `rouge_4`, `rouge_5`, or `rouge_l`.
# Some parameter documentations has been truncated, see
508
-
# {OpenAI::Models::Responses::Response::Text} for more details.
509
-
#
510
-
# @param format_ [OpenAI::Models::ResponseFormatText, OpenAI::Models::Responses::ResponseFormatTextJSONSchemaConfig, OpenAI::Models::ResponseFormatJSONObject] An object specifying the format that the model must output.
511
-
#
512
-
# @param verbosity [Symbol, OpenAI::Models::Responses::Response::Text::Verbosity, nil] Constrains the verbosity of the model's response. Lower values will result in
513
-
514
-
# Constrains the verbosity of the model's response. Lower values will result in
515
-
# more concise responses, while higher values will result in more verbose
516
-
# responses. Currently supported values are `low`, `medium`, and `high`.
@@ -316,7 +318,7 @@ class ResponseCreateParams < OpenAI::Internal::Type::BaseModel
316
318
#
317
319
# @param temperature [Float, nil] What sampling temperature to use, between 0 and 2. Higher values like 0.8 will m
318
320
#
319
-
# @param text [OpenAI::Models::Responses::ResponseCreateParams::Text]
321
+
# @param text [OpenAI::Models::Responses::ResponseTextConfig] Configuration options for a text response from the model. Can be plain
320
322
#
321
323
# @param tool_choice [Symbol, OpenAI::Models::Responses::ToolChoiceOptions, OpenAI::Models::Responses::ToolChoiceAllowed, OpenAI::Models::Responses::ToolChoiceTypes, OpenAI::Models::Responses::ToolChoiceFunction, OpenAI::Models::Responses::ToolChoiceMcp, OpenAI::Models::Responses::ToolChoiceCustom] How the model should select which tool (or tools) to use when generating
322
324
#
@@ -407,62 +409,6 @@ class StreamOptions < OpenAI::Internal::Type::BaseModel
407
409
# @param include_obfuscation [Boolean] When true, stream obfuscation will be enabled. Stream obfuscation adds
408
410
end
409
411
410
-
classText < OpenAI::Internal::Type::BaseModel
411
-
# @!attribute format_
412
-
# An object specifying the format that the model must output.
413
-
#
414
-
# Configuring `{ "type": "json_schema" }` enables Structured Outputs, which
415
-
# ensures the model will match your supplied JSON schema. Learn more in the
# Some parameter documentations has been truncated, see
443
-
# {OpenAI::Models::Responses::ResponseCreateParams::Text} for more details.
444
-
#
445
-
# @param format_ [OpenAI::Models::ResponseFormatText, OpenAI::Models::Responses::ResponseFormatTextJSONSchemaConfig, OpenAI::Models::ResponseFormatJSONObject] An object specifying the format that the model must output.
446
-
#
447
-
# @param verbosity [Symbol, OpenAI::Models::Responses::ResponseCreateParams::Text::Verbosity, nil] Constrains the verbosity of the model's response. Lower values will result in
448
-
449
-
# Constrains the verbosity of the model's response. Lower values will result in
450
-
# more concise responses, while higher values will result in more verbose
451
-
# responses. Currently supported values are `low`, `medium`, and `high`.
0 commit comments