Class: OpenAI::Logprobs
- Inherits:
-
Struct
- Object
- Struct
- OpenAI::Logprobs
- Defined in:
- lib/openai/logprobs.rb
Instance Attribute Summary collapse
-
#text_offset ⇒ Object
Returns the value of attribute text_offset.
-
#token_logprobs ⇒ Object
Returns the value of attribute token_logprobs.
-
#tokens ⇒ Object
Returns the value of attribute tokens.
-
#top_logprobs ⇒ Object
Returns the value of attribute top_logprobs.
Instance Attribute Details
#text_offset ⇒ Object
Returns the value of attribute text_offset
2 3 4 |
# File 'lib/openai/logprobs.rb', line 2 def text_offset @text_offset end |
#token_logprobs ⇒ Object
Returns the value of attribute token_logprobs
2 3 4 |
# File 'lib/openai/logprobs.rb', line 2 def token_logprobs @token_logprobs end |
#tokens ⇒ Object
Returns the value of attribute tokens
2 3 4 |
# File 'lib/openai/logprobs.rb', line 2 def tokens @tokens end |
#top_logprobs ⇒ Object
Returns the value of attribute top_logprobs
2 3 4 |
# File 'lib/openai/logprobs.rb', line 2 def top_logprobs @top_logprobs end |