Method: OpenApiOpenAIClient::ChatApi#create_chat_completion
- Defined in:
- lib/openapi_openai/api/chat_api.rb
#create_chat_completion(create_chat_completion_request, opts = {}) ⇒ CreateChatCompletionResponse
Creates a model response for the given chat conversation.
26 27 28 29 |
# File 'lib/openapi_openai/api/chat_api.rb', line 26 def create_chat_completion(create_chat_completion_request, opts = {}) data, _status_code, _headers = create_chat_completion_with_http_info(create_chat_completion_request, opts) data end |