Class: OpenAI::SearchResult
- Inherits:
-
Struct
- Object
- Struct
- OpenAI::SearchResult
- Defined in:
- lib/openai/search_result.rb
Instance Attribute Summary collapse
-
#document ⇒ Object
Returns the value of attribute document.
-
#object ⇒ Object
Returns the value of attribute object.
-
#score ⇒ Object
Returns the value of attribute score.
-
#text ⇒ Object
Returns the value of attribute text.
Instance Attribute Details
#document ⇒ Object
Returns the value of attribute document
2 3 4 |
# File 'lib/openai/search_result.rb', line 2 def document @document end |
#object ⇒ Object
Returns the value of attribute object
2 3 4 |
# File 'lib/openai/search_result.rb', line 2 def object @object end |
#score ⇒ Object
Returns the value of attribute score
2 3 4 |
# File 'lib/openai/search_result.rb', line 2 def score @score end |
#text ⇒ Object
Returns the value of attribute text
2 3 4 |
# File 'lib/openai/search_result.rb', line 2 def text @text end |