struct OpenAI::SearchResult

Included Modules

Defined in:

openai/search_result.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(document : Int32, score : Float64) #

[View source]
def self.new(pull : JSON::PullParser) #

[View source]

Instance Method Detail

def clone #

[View source]
def copy_with(document _document = @document, score _score = @score) #

[View source]
def document : Int32 #

def score : Float64 #