Module: OpenApiOpenAIClient
- Defined in:
- lib/openapi_openai/version.rb,
lib/openapi_openai.rb,
lib/openapi_openai/api_error.rb,
lib/openapi_openai/api_client.rb,
lib/openapi_openai/api/chat_api.rb,
lib/openapi_openai/models/error.rb,
lib/openapi_openai/models/image.rb,
lib/openapi_openai/models/model.rb,
lib/openapi_openai/api/audio_api.rb,
lib/openapi_openai/api/files_api.rb,
lib/openapi_openai/configuration.rb,
lib/openapi_openai/api/images_api.rb,
lib/openapi_openai/api/models_api.rb,
lib/openapi_openai/models/embedding.rb,
lib/openapi_openai/models/done_event.rb,
lib/openapi_openai/models/run_object.rb,
lib/openapi_openai/api/assistants_api.rb,
lib/openapi_openai/api/embeddings_api.rb,
lib/openapi_openai/models/error_event.rb,
lib/openapi_openai/api/completions_api.rb,
lib/openapi_openai/api/fine_tuning_api.rb,
lib/openapi_openai/api/moderations_api.rb,
lib/openapi_openai/models/open_ai_file.rb,
lib/openapi_openai/models/thread_object.rb,
lib/openapi_openai/models/error_response.rb,
lib/openapi_openai/models/message_object.rb,
lib/openapi_openai/models/fine_tuning_job.rb,
lib/openapi_openai/models/function_object.rb,
lib/openapi_openai/models/images_response.rb,
lib/openapi_openai/models/run_step_object.rb,
lib/openapi_openai/models/assistant_object.rb,
lib/openapi_openai/models/completion_usage.rb,
lib/openapi_openai/models/run_stream_event.rb,
lib/openapi_openai/models/truncation_object.rb,
lib/openapi_openai/models/create_run_request.rb,
lib/openapi_openai/models/list_runs_response.rb,
lib/openapi_openai/models/modify_run_request.rb,
lib/openapi_openai/models/transcription_word.rb,
lib/openapi_openai/models/list_files_response.rb,
lib/openapi_openai/models/message_file_object.rb,
lib/openapi_openai/models/thread_stream_event.rb,
lib/openapi_openai/models/assistant_tools_code.rb,
lib/openapi_openai/models/chat_completion_role.rb,
lib/openapi_openai/models/chat_completion_tool.rb,
lib/openapi_openai/models/create_image_request.rb,
lib/openapi_openai/models/delete_file_response.rb,
lib/openapi_openai/models/list_models_response.rb,
lib/openapi_openai/models/message_delta_object.rb,
lib/openapi_openai/models/message_stream_event.rb,
lib/openapi_openai/models/run_completion_usage.rb,
lib/openapi_openai/models/run_tool_call_object.rb,
lib/openapi_openai/models/assistant_file_object.rb,
lib/openapi_openai/models/create_speech_request.rb,
lib/openapi_openai/models/create_thread_request.rb,
lib/openapi_openai/models/delete_model_response.rb,
lib/openapi_openai/models/fine_tuning_job_error.rb,
lib/openapi_openai/models/fine_tuning_job_event.rb,
lib/openapi_openai/models/list_threads_response.rb,
lib/openapi_openai/models/modify_thread_request.rb,
lib/openapi_openai/models/run_object_last_error.rb,
lib/openapi_openai/models/run_step_delta_object.rb,
lib/openapi_openai/models/run_step_stream_event.rb,
lib/openapi_openai/models/transcription_segment.rb,
lib/openapi_openai/models/assistant_stream_event.rb,
lib/openapi_openai/models/create_message_request.rb,
lib/openapi_openai/models/delete_thread_response.rb,
lib/openapi_openai/models/list_messages_response.rb,
lib/openapi_openai/models/modify_message_request.rb,
lib/openapi_openai/models/delete_message_response.rb,
lib/openapi_openai/models/fine_tuning_integration.rb,
lib/openapi_openai/models/list_run_steps_response.rb,
lib/openapi_openai/models/run_stream_event_one_of.rb,
lib/openapi_openai/models/assistant_tools_function.rb,
lib/openapi_openai/models/create_assistant_request.rb,
lib/openapi_openai/models/create_embedding_request.rb,
lib/openapi_openai/models/create_run_request_model.rb,
lib/openapi_openai/models/list_assistants_response.rb,
lib/openapi_openai/models/modify_assistant_request.rb,
lib/openapi_openai/models/run_stream_event_one_of1.rb,
lib/openapi_openai/models/run_stream_event_one_of2.rb,
lib/openapi_openai/models/run_stream_event_one_of3.rb,
lib/openapi_openai/models/run_stream_event_one_of4.rb,
lib/openapi_openai/models/run_stream_event_one_of5.rb,
lib/openapi_openai/models/run_stream_event_one_of6.rb,
lib/openapi_openai/models/run_stream_event_one_of7.rb,
lib/openapi_openai/models/run_stream_event_one_of8.rb,
lib/openapi_openai/models/assistant_tools_retrieval.rb,
lib/openapi_openai/models/chat_completion_functions.rb,
lib/openapi_openai/models/create_completion_request.rb,
lib/openapi_openai/models/create_embedding_response.rb,
lib/openapi_openai/models/create_moderation_request.rb,
lib/openapi_openai/models/delete_assistant_response.rb,
lib/openapi_openai/models/run_step_completion_usage.rb,
lib/openapi_openai/models/create_completion_response.rb,
lib/openapi_openai/models/create_image_request_model.rb,
lib/openapi_openai/models/create_moderation_response.rb,
lib/openapi_openai/models/fine_tuning_job_checkpoint.rb,
lib/openapi_openai/models/message_delta_object_delta.rb,
lib/openapi_openai/models/run_object_required_action.rb,
lib/openapi_openai/models/run_step_object_last_error.rb,
lib/openapi_openai/models/thread_stream_event_one_of.rb,
lib/openapi_openai/models/create_speech_request_model.rb,
lib/openapi_openai/models/list_message_files_response.rb,
lib/openapi_openai/models/message_content_text_object.rb,
lib/openapi_openai/models/message_stream_event_one_of.rb,
lib/openapi_openai/models/run_step_delta_object_delta.rb,
lib/openapi_openai/models/assistant_object_tools_inner.rb,
lib/openapi_openai/models/message_object_content_inner.rb,
lib/openapi_openai/models/message_stream_event_one_of1.rb,
lib/openapi_openai/models/message_stream_event_one_of2.rb,
lib/openapi_openai/models/message_stream_event_one_of3.rb,
lib/openapi_openai/models/message_stream_event_one_of4.rb,
lib/openapi_openai/models/run_step_object_step_details.rb,
lib/openapi_openai/models/run_step_stream_event_one_of.rb,
lib/openapi_openai/models/chat_completion_token_logprob.rb,
lib/openapi_openai/models/create_assistant_file_request.rb,
lib/openapi_openai/models/create_thread_and_run_request.rb,
lib/openapi_openai/models/list_assistant_files_response.rb,
lib/openapi_openai/models/run_object_incomplete_details.rb,
lib/openapi_openai/models/run_step_stream_event_one_of1.rb,
lib/openapi_openai/models/run_step_stream_event_one_of2.rb,
lib/openapi_openai/models/run_step_stream_event_one_of3.rb,
lib/openapi_openai/models/run_step_stream_event_one_of4.rb,
lib/openapi_openai/models/run_step_stream_event_one_of5.rb,
lib/openapi_openai/models/run_step_stream_event_one_of6.rb,
lib/openapi_openai/models/run_tool_call_object_function.rb,
lib/openapi_openai/models/assistants_api_response_format.rb,
lib/openapi_openai/models/create_assistant_request_model.rb,
lib/openapi_openai/models/create_chat_completion_request.rb,
lib/openapi_openai/models/create_completion_request_stop.rb,
lib/openapi_openai/models/create_embedding_request_input.rb,
lib/openapi_openai/models/create_embedding_request_model.rb,
lib/openapi_openai/models/create_fine_tuning_job_request.rb,
lib/openapi_openai/models/create_translation200_response.rb,
lib/openapi_openai/models/delete_assistant_file_response.rb,
lib/openapi_openai/models/chat_completion_request_message.rb,
lib/openapi_openai/models/create_chat_completion_response.rb,
lib/openapi_openai/models/create_completion_request_model.rb,
lib/openapi_openai/models/create_embedding_response_usage.rb,
lib/openapi_openai/models/create_image_edit_request_model.rb,
lib/openapi_openai/models/create_moderation_request_input.rb,
lib/openapi_openai/models/create_moderation_request_model.rb,
lib/openapi_openai/models/fine_tuning_job_hyperparameters.rb,
lib/openapi_openai/models/submit_tool_outputs_run_request.rb,
lib/openapi_openai/models/assistants_api_named_tool_choice.rb,
lib/openapi_openai/models/chat_completion_response_message.rb,
lib/openapi_openai/models/create_completion_request_prompt.rb,
lib/openapi_openai/models/create_transcription200_response.rb,
lib/openapi_openai/models/create_translation_response_json.rb,
lib/openapi_openai/models/message_content_text_object_text.rb,
lib/openapi_openai/models/assistants_api_tool_choice_option.rb,
lib/openapi_openai/models/chat_completion_message_tool_call.rb,
lib/openapi_openai/models/chat_completion_named_tool_choice.rb,
lib/openapi_openai/models/message_content_image_file_object.rb,
lib/openapi_openai/models/message_delta_content_text_object.rb,
lib/openapi_openai/models/message_object_incomplete_details.rb,
lib/openapi_openai/models/chat_completion_tool_choice_option.rb,
lib/openapi_openai/models/create_transcription_request_model.rb,
lib/openapi_openai/models/create_transcription_response_json.rb,
lib/openapi_openai/models/fine_tuning_job_checkpoint_metrics.rb,
lib/openapi_openai/models/fine_tuning_job_integrations_inner.rb,
lib/openapi_openai/models/run_step_details_tool_calls_object.rb,
lib/openapi_openai/models/create_chat_completion_request_stop.rb,
lib/openapi_openai/models/chat_completion_function_call_option.rb,
lib/openapi_openai/models/chat_completion_request_tool_message.rb,
lib/openapi_openai/models/chat_completion_request_user_message.rb,
lib/openapi_openai/models/create_chat_completion_request_model.rb,
lib/openapi_openai/models/create_fine_tuning_job_request_model.rb,
lib/openapi_openai/models/list_fine_tuning_job_events_response.rb,
lib/openapi_openai/models/assistants_api_response_format_option.rb,
lib/openapi_openai/models/chat_completion_stream_response_delta.rb,
lib/openapi_openai/models/chat_completion_request_system_message.rb,
lib/openapi_openai/models/create_chat_completion_stream_response.rb,
lib/openapi_openai/models/message_delta_content_text_object_text.rb,
lib/openapi_openai/models/chat_completion_message_tool_call_chunk.rb,
lib/openapi_openai/models/message_delta_content_image_file_object.rb,
lib/openapi_openai/models/run_step_details_tool_calls_code_object.rb,
lib/openapi_openai/models/chat_completion_request_function_message.rb,
lib/openapi_openai/models/create_chat_completion_function_response.rb,
lib/openapi_openai/models/create_completion_response_choices_inner.rb,
lib/openapi_openai/models/create_moderation_response_results_inner.rb,
lib/openapi_openai/models/create_translation_response_verbose_json.rb,
lib/openapi_openai/models/fine_tuning_job_hyperparameters_n_epochs.rb,
lib/openapi_openai/models/list_paginated_fine_tuning_jobs_response.rb,
lib/openapi_openai/models/message_delta_object_delta_content_inner.rb,
lib/openapi_openai/models/run_step_delta_object_delta_step_details.rb,
lib/openapi_openai/models/run_step_details_message_creation_object.rb,
lib/openapi_openai/models/chat_completion_request_assistant_message.rb,
lib/openapi_openai/models/create_thread_and_run_request_tools_inner.rb,
lib/openapi_openai/models/list_fine_tuning_job_checkpoints_response.rb,
lib/openapi_openai/models/chat_completion_message_tool_call_function.rb,
lib/openapi_openai/models/chat_completion_named_tool_choice_function.rb,
lib/openapi_openai/models/create_transcription_response_verbose_json.rb,
lib/openapi_openai/models/run_step_details_tool_calls_function_object.rb,
lib/openapi_openai/models/chat_completion_request_message_content_part.rb,
lib/openapi_openai/models/chat_completion_request_user_message_content.rb,
lib/openapi_openai/models/create_chat_completion_request_function_call.rb,
lib/openapi_openai/models/message_content_image_file_object_image_file.rb,
lib/openapi_openai/models/run_step_details_tool_calls_retrieval_object.rb,
lib/openapi_openai/models/create_chat_completion_response_choices_inner.rb,
lib/openapi_openai/models/run_step_delta_step_details_tool_calls_object.rb,
lib/openapi_openai/models/create_chat_completion_request_response_format.rb,
lib/openapi_openai/models/create_fine_tuning_job_request_hyperparameters.rb,
lib/openapi_openai/models/run_object_required_action_submit_tool_outputs.rb,
lib/openapi_openai/models/chat_completion_message_tool_call_chunk_function.rb,
lib/openapi_openai/models/chat_completion_token_logprob_top_logprobs_inner.rb,
lib/openapi_openai/models/chat_completion_request_message_content_part_text.rb,
lib/openapi_openai/models/create_completion_response_choices_inner_logprobs.rb,
lib/openapi_openai/models/create_fine_tuning_job_request_integrations_inner.rb,
lib/openapi_openai/models/message_content_text_annotations_file_path_object.rb,
lib/openapi_openai/models/chat_completion_request_message_content_part_image.rb,
lib/openapi_openai/models/message_content_text_object_text_annotations_inner.rb,
lib/openapi_openai/models/message_delta_content_image_file_object_image_file.rb,
lib/openapi_openai/models/run_step_delta_step_details_tool_calls_code_object.rb,
lib/openapi_openai/models/submit_tool_outputs_run_request_tool_outputs_inner.rb,
lib/openapi_openai/models/chat_completion_stream_response_delta_function_call.rb,
lib/openapi_openai/models/create_moderation_response_results_inner_categories.rb,
lib/openapi_openai/models/run_step_delta_step_details_message_creation_object.rb,
lib/openapi_openai/models/run_step_details_tool_calls_code_output_logs_object.rb,
lib/openapi_openai/models/run_step_details_tool_calls_object_tool_calls_inner.rb,
lib/openapi_openai/models/create_chat_completion_stream_response_choices_inner.rb,
lib/openapi_openai/models/run_step_details_tool_calls_code_output_image_object.rb,
lib/openapi_openai/models/run_step_details_tool_calls_function_object_function.rb,
lib/openapi_openai/models/message_content_text_annotations_file_citation_object.rb,
lib/openapi_openai/models/create_chat_completion_function_response_choices_inner.rb,
lib/openapi_openai/models/create_chat_completion_response_choices_inner_logprobs.rb,
lib/openapi_openai/models/create_fine_tuning_job_request_integrations_inner_type.rb,
lib/openapi_openai/models/run_step_delta_step_details_tool_calls_function_object.rb,
lib/openapi_openai/models/chat_completion_request_assistant_message_function_call.rb,
lib/openapi_openai/models/create_fine_tuning_job_request_hyperparameters_n_epochs.rb,
lib/openapi_openai/models/create_fine_tuning_job_request_integrations_inner_wandb.rb,
lib/openapi_openai/models/message_delta_content_text_annotations_file_path_object.rb,
lib/openapi_openai/models/run_step_delta_step_details_tool_calls_retrieval_object.rb,
lib/openapi_openai/models/create_moderation_response_results_inner_category_scores.rb,
lib/openapi_openai/models/message_delta_content_text_object_text_annotations_inner.rb,
lib/openapi_openai/models/run_step_details_tool_calls_code_object_code_interpreter.rb,
lib/openapi_openai/models/create_fine_tuning_job_request_hyperparameters_batch_size.rb,
lib/openapi_openai/models/run_step_details_message_creation_object_message_creation.rb,
lib/openapi_openai/models/run_step_details_tool_calls_code_output_image_object_image.rb,
lib/openapi_openai/models/message_content_text_annotations_file_path_object_file_path.rb,
lib/openapi_openai/models/message_delta_content_text_annotations_file_citation_object.rb,
lib/openapi_openai/models/chat_completion_request_message_content_part_image_image_url.rb,
lib/openapi_openai/models/run_step_delta_step_details_tool_calls_code_output_logs_object.rb,
lib/openapi_openai/models/run_step_delta_step_details_tool_calls_object_tool_calls_inner.rb,
lib/openapi_openai/models/run_step_delta_step_details_tool_calls_code_output_image_object.rb,
lib/openapi_openai/models/run_step_delta_step_details_tool_calls_function_object_function.rb,
lib/openapi_openai/models/message_delta_content_text_annotations_file_path_object_file_path.rb,
lib/openapi_openai/models/message_content_text_annotations_file_citation_object_file_citation.rb,
lib/openapi_openai/models/run_step_delta_step_details_tool_calls_code_object_code_interpreter.rb,
lib/openapi_openai/models/run_step_delta_step_details_message_creation_object_message_creation.rb,
lib/openapi_openai/models/run_step_delta_step_details_tool_calls_code_output_image_object_image.rb,
lib/openapi_openai/models/run_step_details_tool_calls_code_object_code_interpreter_outputs_inner.rb,
lib/openapi_openai/models/create_fine_tuning_job_request_hyperparameters_learning_rate_multiplier.rb,
lib/openapi_openai/models/message_delta_content_text_annotations_file_citation_object_file_citation.rb,
lib/openapi_openai/models/run_step_delta_step_details_tool_calls_code_object_code_interpreter_outputs_inner.rb
Overview
#OpenAI API
#The OpenAI REST API. Please see platform.openai.com/docs/api-reference for more details.
The version of the OpenAPI document: 2.0.0 Contact: [email protected] Generated by: openapi-generator.tech Generator version: 7.4.0
Defined Under Namespace
Modules: AssistantObjectToolsInner, AssistantStreamEvent, AssistantsApiResponseFormatOption, AssistantsApiToolChoiceOption, ChatCompletionRequestMessage, ChatCompletionRequestMessageContentPart, ChatCompletionRequestUserMessageContent, ChatCompletionToolChoiceOption, CreateAssistantRequestModel, CreateChatCompletionRequestFunctionCall, CreateChatCompletionRequestModel, CreateChatCompletionRequestStop, CreateCompletionRequestModel, CreateCompletionRequestPrompt, CreateCompletionRequestStop, CreateEmbeddingRequestInput, CreateEmbeddingRequestModel, CreateFineTuningJobRequestHyperparametersBatchSize, CreateFineTuningJobRequestHyperparametersLearningRateMultiplier, CreateFineTuningJobRequestHyperparametersNEpochs, CreateFineTuningJobRequestIntegrationsInnerType, CreateFineTuningJobRequestModel, CreateImageEditRequestModel, CreateImageRequestModel, CreateModerationRequestInput, CreateModerationRequestModel, CreateRunRequestModel, CreateSpeechRequestModel, CreateThreadAndRunRequestToolsInner, CreateTranscription200Response, CreateTranscriptionRequestModel, CreateTranslation200Response, FineTuningJobHyperparametersNEpochs, FineTuningJobIntegrationsInner, MessageContentTextObjectTextAnnotationsInner, MessageDeltaContentTextObjectTextAnnotationsInner, MessageDeltaObjectDeltaContentInner, MessageObjectContentInner, MessageStreamEvent, RunStepDeltaObjectDeltaStepDetails, RunStepDeltaStepDetailsToolCallsCodeObjectCodeInterpreterOutputsInner, RunStepDeltaStepDetailsToolCallsObjectToolCallsInner, RunStepDetailsToolCallsCodeObjectCodeInterpreterOutputsInner, RunStepDetailsToolCallsObjectToolCallsInner, RunStepObjectStepDetails, RunStepStreamEvent, RunStreamEvent, ThreadStreamEvent Classes: ApiClient, ApiError, AssistantFileObject, AssistantObject, AssistantToolsCode, AssistantToolsFunction, AssistantToolsRetrieval, AssistantsApi, AssistantsApiNamedToolChoice, AssistantsApiResponseFormat, AudioApi, ChatApi, ChatCompletionFunctionCallOption, ChatCompletionFunctions, ChatCompletionMessageToolCall, ChatCompletionMessageToolCallChunk, ChatCompletionMessageToolCallChunkFunction, ChatCompletionMessageToolCallFunction, ChatCompletionNamedToolChoice, ChatCompletionNamedToolChoiceFunction, ChatCompletionRequestAssistantMessage, ChatCompletionRequestAssistantMessageFunctionCall, ChatCompletionRequestFunctionMessage, ChatCompletionRequestMessageContentPartImage, ChatCompletionRequestMessageContentPartImageImageUrl, ChatCompletionRequestMessageContentPartText, ChatCompletionRequestSystemMessage, ChatCompletionRequestToolMessage, ChatCompletionRequestUserMessage, ChatCompletionResponseMessage, ChatCompletionRole, ChatCompletionStreamResponseDelta, ChatCompletionStreamResponseDeltaFunctionCall, ChatCompletionTokenLogprob, ChatCompletionTokenLogprobTopLogprobsInner, ChatCompletionTool, CompletionUsage, CompletionsApi, Configuration, CreateAssistantFileRequest, CreateAssistantRequest, CreateChatCompletionFunctionResponse, CreateChatCompletionFunctionResponseChoicesInner, CreateChatCompletionRequest, CreateChatCompletionRequestResponseFormat, CreateChatCompletionResponse, CreateChatCompletionResponseChoicesInner, CreateChatCompletionResponseChoicesInnerLogprobs, CreateChatCompletionStreamResponse, CreateChatCompletionStreamResponseChoicesInner, CreateCompletionRequest, CreateCompletionResponse, CreateCompletionResponseChoicesInner, CreateCompletionResponseChoicesInnerLogprobs, CreateEmbeddingRequest, CreateEmbeddingResponse, CreateEmbeddingResponseUsage, CreateFineTuningJobRequest, CreateFineTuningJobRequestHyperparameters, CreateFineTuningJobRequestIntegrationsInner, CreateFineTuningJobRequestIntegrationsInnerWandb, CreateImageRequest, CreateMessageRequest, CreateModerationRequest, CreateModerationResponse, CreateModerationResponseResultsInner, CreateModerationResponseResultsInnerCategories, CreateModerationResponseResultsInnerCategoryScores, CreateRunRequest, CreateSpeechRequest, CreateThreadAndRunRequest, CreateThreadRequest, CreateTranscriptionResponseJson, CreateTranscriptionResponseVerboseJson, CreateTranslationResponseJson, CreateTranslationResponseVerboseJson, DeleteAssistantFileResponse, DeleteAssistantResponse, DeleteFileResponse, DeleteMessageResponse, DeleteModelResponse, DeleteThreadResponse, DoneEvent, Embedding, EmbeddingsApi, Error, ErrorEvent, ErrorResponse, FilesApi, FineTuningApi, FineTuningIntegration, FineTuningJob, FineTuningJobCheckpoint, FineTuningJobCheckpointMetrics, FineTuningJobError, FineTuningJobEvent, FineTuningJobHyperparameters, FunctionObject, Image, ImagesApi, ImagesResponse, ListAssistantFilesResponse, ListAssistantsResponse, ListFilesResponse, ListFineTuningJobCheckpointsResponse, ListFineTuningJobEventsResponse, ListMessageFilesResponse, ListMessagesResponse, ListModelsResponse, ListPaginatedFineTuningJobsResponse, ListRunStepsResponse, ListRunsResponse, ListThreadsResponse, MessageContentImageFileObject, MessageContentImageFileObjectImageFile, MessageContentTextAnnotationsFileCitationObject, MessageContentTextAnnotationsFileCitationObjectFileCitation, MessageContentTextAnnotationsFilePathObject, MessageContentTextAnnotationsFilePathObjectFilePath, MessageContentTextObject, MessageContentTextObjectText, MessageDeltaContentImageFileObject, MessageDeltaContentImageFileObjectImageFile, MessageDeltaContentTextAnnotationsFileCitationObject, MessageDeltaContentTextAnnotationsFileCitationObjectFileCitation, MessageDeltaContentTextAnnotationsFilePathObject, MessageDeltaContentTextAnnotationsFilePathObjectFilePath, MessageDeltaContentTextObject, MessageDeltaContentTextObjectText, MessageDeltaObject, MessageDeltaObjectDelta, MessageFileObject, MessageObject, MessageObjectIncompleteDetails, MessageStreamEventOneOf, MessageStreamEventOneOf1, MessageStreamEventOneOf2, MessageStreamEventOneOf3, MessageStreamEventOneOf4, Model, ModelsApi, ModerationsApi, ModifyAssistantRequest, ModifyMessageRequest, ModifyRunRequest, ModifyThreadRequest, OpenAIFile, RunCompletionUsage, RunObject, RunObjectIncompleteDetails, RunObjectLastError, RunObjectRequiredAction, RunObjectRequiredActionSubmitToolOutputs, RunStepCompletionUsage, RunStepDeltaObject, RunStepDeltaObjectDelta, RunStepDeltaStepDetailsMessageCreationObject, RunStepDeltaStepDetailsMessageCreationObjectMessageCreation, RunStepDeltaStepDetailsToolCallsCodeObject, RunStepDeltaStepDetailsToolCallsCodeObjectCodeInterpreter, RunStepDeltaStepDetailsToolCallsCodeOutputImageObject, RunStepDeltaStepDetailsToolCallsCodeOutputImageObjectImage, RunStepDeltaStepDetailsToolCallsCodeOutputLogsObject, RunStepDeltaStepDetailsToolCallsFunctionObject, RunStepDeltaStepDetailsToolCallsFunctionObjectFunction, RunStepDeltaStepDetailsToolCallsObject, RunStepDeltaStepDetailsToolCallsRetrievalObject, RunStepDetailsMessageCreationObject, RunStepDetailsMessageCreationObjectMessageCreation, RunStepDetailsToolCallsCodeObject, RunStepDetailsToolCallsCodeObjectCodeInterpreter, RunStepDetailsToolCallsCodeOutputImageObject, RunStepDetailsToolCallsCodeOutputImageObjectImage, RunStepDetailsToolCallsCodeOutputLogsObject, RunStepDetailsToolCallsFunctionObject, RunStepDetailsToolCallsFunctionObjectFunction, RunStepDetailsToolCallsObject, RunStepDetailsToolCallsRetrievalObject, RunStepObject, RunStepObjectLastError, RunStepStreamEventOneOf, RunStepStreamEventOneOf1, RunStepStreamEventOneOf2, RunStepStreamEventOneOf3, RunStepStreamEventOneOf4, RunStepStreamEventOneOf5, RunStepStreamEventOneOf6, RunStreamEventOneOf, RunStreamEventOneOf1, RunStreamEventOneOf2, RunStreamEventOneOf3, RunStreamEventOneOf4, RunStreamEventOneOf5, RunStreamEventOneOf6, RunStreamEventOneOf7, RunStreamEventOneOf8, RunToolCallObject, RunToolCallObjectFunction, SubmitToolOutputsRunRequest, SubmitToolOutputsRunRequestToolOutputsInner, ThreadObject, ThreadStreamEventOneOf, TranscriptionSegment, TranscriptionWord, TruncationObject
Constant Summary collapse
- VERSION =
'1.1.0'
Class Method Summary collapse
-
.configure ⇒ Object
Customize default settings for the SDK using block.
Class Method Details
.configure ⇒ Object
Customize default settings for the SDK using block.
OpenApiOpenAIClient.configure do |config|
config.username = "xxx"
config.password = "xxx"
end
If no block given, return the default Configuration object.
281 282 283 284 285 286 287 |
# File 'lib/openapi_openai.rb', line 281 def configure if block_given? yield(Configuration.default) else Configuration.default end end |