Open Sidebar
Close Sidebar
CrystalDoc.info
Source code
Shards.info
openai
main
OpenAI
APIError
APIErrorModel
ApiType
AuthenticationError
ChatCompletionChoice
ChatCompletionRequest
ChatCompletionResponse
ChatCompletionStream
ChatCompletionStreamChoice
ChatCompletionStreamChoiceDelta
ChatCompletionStreamResponse
ChatFunction
ChatFunctionCall
ChatMessage
ChatMessageRole
ChatTool
ToolType
ChatToolCall
Client
Config
ProxyConfig
CompletionChoice
CompletionRequest
CompletionResponse
CompletionStream
ContentFilterResults
Embedding
EmbeddingConverter
EmbeddingEncoding
EmbeddingModel
EmbeddingRequest
EmbeddingResponse
Engine
ErrorAccumulator
FileDeletionStatus
FileRequest
FileResponse
FileStatus
FineTuningJob
FineTuningJobEvent
FineTuningJobEventList
FineTuningJobRequest
FineTuningStatus
FinishReason
FuncMarker
FunctionExecutor
Callback
Hate
HyperParams
ImageEditRequest
ImageRequest
ImageRespData
ImageRespFormat
ImageResponse
ImageSize
ImageVariationRequest
InnerError
InvalidAPIType
List
LogprobResult
Model
ModerationModel
ModerationModelConverter
ModerationRequest
ModerationResponse
ModerationResult
ModerationResultCategories
ModerationResultCategoryScores
OpenAIError
Permission
PromptAnnotation
RequestError
ResponseError
ResponseFormat
FormatType
Segment
SelfHarm
Sexual
TranscriptionRequest
TranscriptionRespFormat
TranscriptionResponse
Usage
Violence
Generated using Crystal 1.11.2
2024-11-04 10:06:49 UTC
struct
OpenAI::
List(Type)
OpenAI::List(Type)
Struct
Value
Object
Included Modules
JSON::Serializable
Extended Modules
JSON::Schema
Defined in:
openai/api/model.cr
Constructors
.new
(pull : JSON::PullParser)
Instance Method Summary
#data
: Array(Type)
#object
: String
Constructor Detail
def self.
new
(pull : JSON::PullParser)
#
[
View source
]
Instance Method Detail
def
data
: Array(Type)
#
[
View source
]
def
object
: String
#
[
View source
]