Class: OpenAI::Resources::Chat::Completions

Inherits:
Object
  • Object
show all
Defined in:
sig/_private/openai.rbs

Instance Method Summary collapse

Instance Method Details

#create(params) ⇒ OpenAI::Models::Chat::ChatCompletion #create(arg0) ⇒ OpenAI::Models::Chat::ChatCompletion #createvoid

Overloads:

  • #create(params) ⇒ OpenAI::Models::Chat::ChatCompletion

    Parameters:

    • params (Hash[Symbol, untyped])

    Returns:

    • (OpenAI::Models::Chat::ChatCompletion)
  • #create(arg0) ⇒ OpenAI::Models::Chat::ChatCompletion

    Parameters:

    • arg0 (Object)

    Returns:

    • (OpenAI::Models::Chat::ChatCompletion)
  • #createvoid

    This method returns an undefined value.



20
21
22
# File 'sig/_private/openai.rbs', line 20

def create: (Hash[Symbol, untyped] params) -> OpenAI::Models::Chat::ChatCompletion
| (**untyped) -> OpenAI::Models::Chat::ChatCompletion
| ...

#stream_raw(params) ⇒ Object #stream_raw(arg0) ⇒ Object #stream_rawvoid

Overloads:

  • #stream_raw(params) ⇒ Object

    Parameters:

    • params (Hash[Symbol, untyped])

    Returns:

    • (Object)
  • #stream_raw(arg0) ⇒ Object

    Parameters:

    • arg0 (Object)

    Returns:

    • (Object)
  • #stream_rawvoid

    This method returns an undefined value.



23
24
25
# File 'sig/_private/openai.rbs', line 23

def stream_raw: (Hash[Symbol, untyped] params) -> untyped
| (**untyped) -> untyped
| ...