struct OpenAI::PromptAnnotation

Included Modules

Extended Modules

Defined in:

openai/api/chat.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(prompt_index : Int32 | Nil, content_filter_results : ContentFilterResults | Nil) #

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

[View source]

Instance Method Detail

def clone #

[View source]
def content_filter_results : ContentFilterResults | Nil #

def copy_with(prompt_index _prompt_index = @prompt_index, content_filter_results _content_filter_results = @content_filter_results) #

[View source]
def prompt_index : Int32 | Nil #