Class: OpenAI::Logprobs

Inherits:
Struct
  • Object
show all
Defined in:
lib/openai/logprobs.rb

Instance Attribute Summary collapse

Instance Attribute Details

#text_offsetObject

Returns the value of attribute text_offset

Returns:

  • (Object)

    the current value of text_offset



2
3
4
# File 'lib/openai/logprobs.rb', line 2

def text_offset
  @text_offset
end

#token_logprobsObject

Returns the value of attribute token_logprobs

Returns:

  • (Object)

    the current value of token_logprobs



2
3
4
# File 'lib/openai/logprobs.rb', line 2

def token_logprobs
  @token_logprobs
end

#tokensObject

Returns the value of attribute tokens

Returns:

  • (Object)

    the current value of tokens



2
3
4
# File 'lib/openai/logprobs.rb', line 2

def tokens
  @tokens
end

#top_logprobsObject

Returns the value of attribute top_logprobs

Returns:

  • (Object)

    the current value of top_logprobs



2
3
4
# File 'lib/openai/logprobs.rb', line 2

def top_logprobs
  @top_logprobs
end