Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
OpenAI.Types
Synopsis
- data AssistantFileObject = AssistantFileObject {}
- data AssistantObject = AssistantObject {
- assistantObjectId :: Text
- assistantObjectObject :: Text
- assistantObjectCreatedUnderscoreat :: Int
- assistantObjectName :: Text
- assistantObjectDescription :: Text
- assistantObjectModel :: Text
- assistantObjectInstructions :: Text
- assistantObjectTools :: [AssistantObjectToolsInner]
- assistantObjectFileUnderscoreids :: [Text]
- assistantObjectMetadata :: Value
- data AssistantObjectToolsInner = AssistantObjectToolsInner {}
- data AssistantToolsCode = AssistantToolsCode {}
- data AssistantToolsFunction = AssistantToolsFunction {}
- data AssistantToolsRetrieval = AssistantToolsRetrieval {}
- data ChatCompletionFunctionCallOption = ChatCompletionFunctionCallOption {}
- data ChatCompletionFunctions = ChatCompletionFunctions {}
- data ChatCompletionMessageToolCall = ChatCompletionMessageToolCall {}
- data ChatCompletionMessageToolCallChunk = ChatCompletionMessageToolCallChunk {}
- data ChatCompletionMessageToolCallChunkFunction = ChatCompletionMessageToolCallChunkFunction {}
- data ChatCompletionMessageToolCallFunction = ChatCompletionMessageToolCallFunction {}
- data ChatCompletionNamedToolChoice = ChatCompletionNamedToolChoice {}
- data ChatCompletionNamedToolChoiceFunction = ChatCompletionNamedToolChoiceFunction {}
- data ChatCompletionRequestAssistantMessage = ChatCompletionRequestAssistantMessage {
- chatCompletionRequestAssistantMessageContent :: Maybe Text
- chatCompletionRequestAssistantMessageRole :: Text
- chatCompletionRequestAssistantMessageName :: Maybe Text
- chatCompletionRequestAssistantMessageToolUnderscorecalls :: Maybe [ChatCompletionMessageToolCall]
- chatCompletionRequestAssistantMessageFunctionUnderscorecall :: Maybe ChatCompletionRequestAssistantMessageFunctionCall
- data ChatCompletionRequestAssistantMessageFunctionCall = ChatCompletionRequestAssistantMessageFunctionCall {}
- data ChatCompletionRequestFunctionMessage = ChatCompletionRequestFunctionMessage {}
- data ChatCompletionRequestMessage = ChatCompletionRequestMessage {
- chatCompletionRequestMessageContent :: Maybe ChatCompletionRequestMessageContent
- chatCompletionRequestMessageRole :: Text
- chatCompletionRequestMessageName :: Maybe Text
- chatCompletionRequestMessageToolUnderscorecalls :: Maybe [ChatCompletionMessageToolCall]
- chatCompletionRequestMessageFunctionUnderscorecall :: Maybe ChatCompletionRequestAssistantMessageFunctionCall
- chatCompletionRequestMessageToolUnderscorecallUnderscoreid :: Maybe Text
- data ChatCompletionRequestMessageContent
- data ChatCompletionRequestMessageContentPart = ChatCompletionRequestMessageContentPart {}
- data ChatCompletionRequestMessageContentPartImage = ChatCompletionRequestMessageContentPartImage {}
- data ChatCompletionRequestMessageContentPartImageImageUrl = ChatCompletionRequestMessageContentPartImageImageUrl {}
- data ChatCompletionRequestMessageContentPartText = ChatCompletionRequestMessageContentPartText {}
- data ChatCompletionRequestSystemMessage = ChatCompletionRequestSystemMessage {}
- data ChatCompletionRequestToolMessage = ChatCompletionRequestToolMessage {}
- data ChatCompletionRequestUserMessage = ChatCompletionRequestUserMessage {}
- data ChatCompletionRequestUserMessageContent = ChatCompletionRequestUserMessageContent {
- data ChatCompletionResponseMessage = ChatCompletionResponseMessage {}
- data ChatCompletionRole = ChatCompletionRole {
- data ChatCompletionStreamResponseDelta = ChatCompletionStreamResponseDelta {
- chatCompletionStreamResponseDeltaContent :: Maybe Text
- chatCompletionStreamResponseDeltaFunctionUnderscorecall :: Maybe ChatCompletionStreamResponseDeltaFunctionCall
- chatCompletionStreamResponseDeltaToolUnderscorecalls :: Maybe [ChatCompletionMessageToolCallChunk]
- chatCompletionStreamResponseDeltaRole :: Maybe Text
- data ChatCompletionStreamResponseDeltaFunctionCall = ChatCompletionStreamResponseDeltaFunctionCall {}
- data ChatCompletionTokenLogprob = ChatCompletionTokenLogprob {}
- data ChatCompletionTokenLogprobTopLogprobsInner = ChatCompletionTokenLogprobTopLogprobsInner {}
- data ChatCompletionTool = ChatCompletionTool {}
- data ChatCompletionToolChoiceOption = ChatCompletionToolChoiceOption {}
- data CompletionUsage = CompletionUsage {}
- data CreateAssistantFileRequest = CreateAssistantFileRequest {}
- data CreateAssistantRequest = CreateAssistantRequest {
- createAssistantRequestModel :: CreateAssistantRequestModel
- createAssistantRequestName :: Maybe Text
- createAssistantRequestDescription :: Maybe Text
- createAssistantRequestInstructions :: Maybe Text
- createAssistantRequestTools :: Maybe [AssistantObjectToolsInner]
- createAssistantRequestFileUnderscoreids :: Maybe [Text]
- createAssistantRequestMetadata :: Maybe Value
- data CreateAssistantRequestModel = CreateAssistantRequestModel Text
- data CreateChatCompletionFunctionResponse = CreateChatCompletionFunctionResponse {
- createChatCompletionFunctionResponseId :: Text
- createChatCompletionFunctionResponseChoices :: [CreateChatCompletionFunctionResponseChoicesInner]
- createChatCompletionFunctionResponseCreated :: Int
- createChatCompletionFunctionResponseModel :: Text
- createChatCompletionFunctionResponseSystemUnderscorefingerprint :: Maybe Text
- createChatCompletionFunctionResponseObject :: Text
- createChatCompletionFunctionResponseUsage :: Maybe CompletionUsage
- data CreateChatCompletionFunctionResponseChoicesInner = CreateChatCompletionFunctionResponseChoicesInner {}
- data CreateChatCompletionRequest = CreateChatCompletionRequest {
- createChatCompletionRequestMessages :: [ChatCompletionRequestMessage]
- createChatCompletionRequestModel :: CreateChatCompletionRequestModel
- createChatCompletionRequestFrequencyUnderscorepenalty :: Maybe Double
- createChatCompletionRequestLogitUnderscorebias :: Maybe (Map String Int)
- createChatCompletionRequestLogprobs :: Maybe Bool
- createChatCompletionRequestTopUnderscorelogprobs :: Maybe Int
- createChatCompletionRequestMaxUnderscoretokens :: Maybe Int
- createChatCompletionRequestN :: Maybe Int
- createChatCompletionRequestPresenceUnderscorepenalty :: Maybe Double
- createChatCompletionRequestResponseUnderscoreformat :: Maybe CreateChatCompletionRequestResponseFormat
- createChatCompletionRequestSeed :: Maybe Int
- createChatCompletionRequestStop :: Maybe CreateChatCompletionRequestStop
- createChatCompletionRequestStream :: Maybe Bool
- createChatCompletionRequestTemperature :: Maybe Double
- createChatCompletionRequestTopUnderscorep :: Maybe Double
- createChatCompletionRequestTools :: Maybe [ChatCompletionTool]
- createChatCompletionRequestToolUnderscorechoice :: Maybe ChatCompletionToolChoiceOption
- createChatCompletionRequestUser :: Maybe Text
- createChatCompletionRequestFunctionUnderscorecall :: Maybe CreateChatCompletionRequestFunctionCall
- createChatCompletionRequestFunctions :: Maybe [ChatCompletionFunctions]
- data CreateChatCompletionRequestFunctionCall = CreateChatCompletionRequestFunctionCall {}
- newtype CreateChatCompletionRequestModel = CreateChatCompletionRequestModel Text
- data CreateChatCompletionRequestResponseFormat = CreateChatCompletionRequestResponseFormat {}
- data CreateChatCompletionRequestStop = CreateChatCompletionRequestStop {
- data CreateChatCompletionResponse = CreateChatCompletionResponse {
- createChatCompletionResponseId :: Text
- createChatCompletionResponseChoices :: [CreateChatCompletionResponseChoicesInner]
- createChatCompletionResponseCreated :: Int
- createChatCompletionResponseModel :: Text
- createChatCompletionResponseSystemUnderscorefingerprint :: Maybe Text
- createChatCompletionResponseObject :: Text
- createChatCompletionResponseUsage :: Maybe CompletionUsage
- data CreateChatCompletionResponseChoicesInner = CreateChatCompletionResponseChoicesInner {
- createChatCompletionResponseChoicesInnerFinishUnderscorereason :: Text
- createChatCompletionResponseChoicesInnerIndex :: Int
- createChatCompletionResponseChoicesInnerMessage :: ChatCompletionResponseMessage
- createChatCompletionResponseChoicesInnerLogprobs :: Maybe CreateChatCompletionResponseChoicesInnerLogprobs
- data CreateChatCompletionResponseChoicesInnerLogprobs = CreateChatCompletionResponseChoicesInnerLogprobs {}
- data CreateChatCompletionStreamResponse = CreateChatCompletionStreamResponse {
- createChatCompletionStreamResponseId :: Text
- createChatCompletionStreamResponseChoices :: [CreateChatCompletionStreamResponseChoicesInner]
- createChatCompletionStreamResponseCreated :: Int
- createChatCompletionStreamResponseModel :: Text
- createChatCompletionStreamResponseSystemUnderscorefingerprint :: Maybe Text
- createChatCompletionStreamResponseObject :: Text
- data CreateChatCompletionStreamResponseChoicesInner = CreateChatCompletionStreamResponseChoicesInner {
- createChatCompletionStreamResponseChoicesInnerDelta :: ChatCompletionStreamResponseDelta
- createChatCompletionStreamResponseChoicesInnerLogprobs :: Maybe CreateChatCompletionResponseChoicesInnerLogprobs
- createChatCompletionStreamResponseChoicesInnerFinishUnderscorereason :: Text
- createChatCompletionStreamResponseChoicesInnerIndex :: Int
- data CreateCompletionRequest = CreateCompletionRequest {
- createCompletionRequestModel :: CreateCompletionRequestModel
- createCompletionRequestPrompt :: CreateCompletionRequestPrompt
- createCompletionRequestBestUnderscoreof :: Maybe Int
- createCompletionRequestEcho :: Maybe Bool
- createCompletionRequestFrequencyUnderscorepenalty :: Maybe Double
- createCompletionRequestLogitUnderscorebias :: Maybe (Map String Int)
- createCompletionRequestLogprobs :: Maybe Int
- createCompletionRequestMaxUnderscoretokens :: Maybe Int
- createCompletionRequestN :: Maybe Int
- createCompletionRequestPresenceUnderscorepenalty :: Maybe Double
- createCompletionRequestSeed :: Maybe Int
- createCompletionRequestStop :: Maybe CreateCompletionRequestStop
- createCompletionRequestStream :: Maybe Bool
- createCompletionRequestSuffix :: Maybe Text
- createCompletionRequestTemperature :: Maybe Double
- createCompletionRequestTopUnderscorep :: Maybe Double
- createCompletionRequestUser :: Maybe Text
- data CreateCompletionRequestModel = CreateCompletionRequestModel Text
- data CreateCompletionRequestPrompt = CreateCompletionRequestPrompt {
- data CreateCompletionRequestStop = CreateCompletionRequestStop {
- data CreateCompletionResponse = CreateCompletionResponse {
- createCompletionResponseId :: Text
- createCompletionResponseChoices :: [CreateCompletionResponseChoicesInner]
- createCompletionResponseCreated :: Int
- createCompletionResponseModel :: Text
- createCompletionResponseSystemUnderscorefingerprint :: Maybe Text
- createCompletionResponseObject :: Text
- createCompletionResponseUsage :: Maybe CompletionUsage
- data CreateCompletionResponseChoicesInner = CreateCompletionResponseChoicesInner {}
- data CreateCompletionResponseChoicesInnerLogprobs = CreateCompletionResponseChoicesInnerLogprobs {
- createCompletionResponseChoicesInnerLogprobsTextUnderscoreoffset :: Maybe [Int]
- createCompletionResponseChoicesInnerLogprobsTokenUnderscorelogprobs :: Maybe [Double]
- createCompletionResponseChoicesInnerLogprobsTokens :: Maybe [Text]
- createCompletionResponseChoicesInnerLogprobsTopUnderscorelogprobs :: Maybe [Map String Double]
- data CreateEmbeddingRequest = CreateEmbeddingRequest {}
- data CreateEmbeddingRequestInput = CreateEmbeddingRequestInput {
- data CreateEmbeddingRequestModel = CreateEmbeddingRequestModel Text
- data CreateEmbeddingResponse = CreateEmbeddingResponse {}
- data CreateEmbeddingResponseUsage = CreateEmbeddingResponseUsage {}
- data CreateFineTuningJobRequest = CreateFineTuningJobRequest {
- createFineTuningJobRequestModel :: CreateFineTuningJobRequestModel
- createFineTuningJobRequestTrainingUnderscorefile :: Text
- createFineTuningJobRequestHyperparameters :: Maybe CreateFineTuningJobRequestHyperparameters
- createFineTuningJobRequestSuffix :: Maybe Text
- createFineTuningJobRequestValidationUnderscorefile :: Maybe Text
- data CreateFineTuningJobRequestHyperparameters = CreateFineTuningJobRequestHyperparameters {
- createFineTuningJobRequestHyperparametersBatchUnderscoresize :: Maybe CreateFineTuningJobRequestHyperparametersBatchSize
- createFineTuningJobRequestHyperparametersLearningUnderscorerateUnderscoremultiplier :: Maybe CreateFineTuningJobRequestHyperparametersLearningRateMultiplier
- createFineTuningJobRequestHyperparametersNUnderscoreepochs :: Maybe CreateFineTuningJobRequestHyperparametersNEpochs
- data CreateFineTuningJobRequestHyperparametersBatchSize = CreateFineTuningJobRequestHyperparametersBatchSize {
- data CreateFineTuningJobRequestHyperparametersLearningRateMultiplier = CreateFineTuningJobRequestHyperparametersLearningRateMultiplier {
- data CreateFineTuningJobRequestHyperparametersNEpochs = CreateFineTuningJobRequestHyperparametersNEpochs {
- data CreateFineTuningJobRequestModel = CreateFineTuningJobRequestModel Text
- data CreateImageRequest = CreateImageRequest {
- createImageRequestPrompt :: Text
- createImageRequestModel :: Maybe CreateImageRequestModel
- createImageRequestN :: Maybe Int
- createImageRequestQuality :: Maybe Text
- createImageRequestResponseUnderscoreformat :: Maybe Text
- createImageRequestSize :: Maybe Text
- createImageRequestStyle :: Maybe Text
- createImageRequestUser :: Maybe Text
- data CreateImageRequestModel = CreateImageRequestModel Text
- data CreateMessageRequest = CreateMessageRequest {}
- data CreateModerationRequest = CreateModerationRequest {}
- data CreateModerationRequestInput = CreateModerationRequestInput {
- data CreateModerationRequestModel = CreateModerationRequestModel Text
- data CreateModerationResponse = CreateModerationResponse {}
- data CreateModerationResponseResultsInner = CreateModerationResponseResultsInner {}
- data CreateModerationResponseResultsInnerCategories = CreateModerationResponseResultsInnerCategories {
- createModerationResponseResultsInnerCategoriesHate :: Bool
- createModerationResponseResultsInnerCategoriesHateSlashthreatening :: Bool
- createModerationResponseResultsInnerCategoriesHarassment :: Bool
- createModerationResponseResultsInnerCategoriesHarassmentSlashthreatening :: Bool
- createModerationResponseResultsInnerCategoriesSelfDashharm :: Bool
- createModerationResponseResultsInnerCategoriesSelfDashharmSlashintent :: Bool
- createModerationResponseResultsInnerCategoriesSelfDashharmSlashinstructions :: Bool
- createModerationResponseResultsInnerCategoriesSexual :: Bool
- createModerationResponseResultsInnerCategoriesSexualSlashminors :: Bool
- createModerationResponseResultsInnerCategoriesViolence :: Bool
- createModerationResponseResultsInnerCategoriesViolenceSlashgraphic :: Bool
- data CreateModerationResponseResultsInnerCategoryScores = CreateModerationResponseResultsInnerCategoryScores {
- createModerationResponseResultsInnerCategoryScoresHate :: Double
- createModerationResponseResultsInnerCategoryScoresHateSlashthreatening :: Double
- createModerationResponseResultsInnerCategoryScoresHarassment :: Double
- createModerationResponseResultsInnerCategoryScoresHarassmentSlashthreatening :: Double
- createModerationResponseResultsInnerCategoryScoresSelfDashharm :: Double
- createModerationResponseResultsInnerCategoryScoresSelfDashharmSlashintent :: Double
- createModerationResponseResultsInnerCategoryScoresSelfDashharmSlashinstructions :: Double
- createModerationResponseResultsInnerCategoryScoresSexual :: Double
- createModerationResponseResultsInnerCategoryScoresSexualSlashminors :: Double
- createModerationResponseResultsInnerCategoryScoresViolence :: Double
- createModerationResponseResultsInnerCategoryScoresViolenceSlashgraphic :: Double
- data CreateRunRequest = CreateRunRequest {}
- data CreateSpeechRequest = CreateSpeechRequest {}
- data CreateSpeechRequestModel = CreateSpeechRequestModel Text
- data CreateThreadAndRunRequest = CreateThreadAndRunRequest {
- createThreadAndRunRequestAssistantUnderscoreid :: Text
- createThreadAndRunRequestThread :: Maybe CreateThreadRequest
- createThreadAndRunRequestModel :: Maybe Text
- createThreadAndRunRequestInstructions :: Maybe Text
- createThreadAndRunRequestTools :: Maybe [CreateThreadAndRunRequestToolsInner]
- createThreadAndRunRequestMetadata :: Maybe Value
- data CreateThreadAndRunRequestToolsInner = CreateThreadAndRunRequestToolsInner {}
- data CreateThreadRequest = CreateThreadRequest {}
- data CreateTranscription200Response = CreateTranscription200Response {}
- data CreateTranscriptionResponseJson = CreateTranscriptionResponseJson {}
- data CreateTranscriptionResponseVerboseJson = CreateTranscriptionResponseVerboseJson {
- createTranscriptionResponseVerboseJsonLanguage :: Text
- createTranscriptionResponseVerboseJsonDuration :: Text
- createTranscriptionResponseVerboseJsonText :: Text
- createTranscriptionResponseVerboseJsonWords :: Maybe [TranscriptionWord]
- createTranscriptionResponseVerboseJsonSegments :: Maybe [TranscriptionSegment]
- data CreateTranslation200Response = CreateTranslation200Response {}
- data CreateTranslationResponseJson = CreateTranslationResponseJson {}
- data CreateTranslationResponseVerboseJson = CreateTranslationResponseVerboseJson {}
- data DeleteAssistantFileResponse = DeleteAssistantFileResponse {}
- data DeleteAssistantResponse = DeleteAssistantResponse {}
- data DeleteFileResponse = DeleteFileResponse {}
- data DeleteMessageResponse = DeleteMessageResponse {}
- data DeleteModelResponse = DeleteModelResponse {}
- data DeleteThreadResponse = DeleteThreadResponse {}
- data Embedding = Embedding {}
- data Error = Error {
- errorCode :: Text
- errorMessage :: Text
- errorParam :: Text
- errorType :: Text
- data ErrorResponse = ErrorResponse {}
- data FineTuningJob = FineTuningJob {
- fineTuningJobId :: Text
- fineTuningJobCreatedUnderscoreat :: Int
- fineTuningJobError :: FineTuningJobError
- fineTuningJobFineUnderscoretunedUnderscoremodel :: Text
- fineTuningJobFinishedUnderscoreat :: Int
- fineTuningJobHyperparameters :: FineTuningJobHyperparameters
- fineTuningJobModel :: Text
- fineTuningJobObject :: Text
- fineTuningJobOrganizationUnderscoreid :: Text
- fineTuningJobResultUnderscorefiles :: [Text]
- fineTuningJobStatus :: Text
- fineTuningJobTrainedUnderscoretokens :: Int
- fineTuningJobTrainingUnderscorefile :: Text
- fineTuningJobValidationUnderscorefile :: Text
- data FineTuningJobError = FineTuningJobError {}
- data FineTuningJobEvent = FineTuningJobEvent {}
- data FineTuningJobHyperparameters = FineTuningJobHyperparameters {}
- data FineTuningJobHyperparametersNEpochs = FineTuningJobHyperparametersNEpochs {
- data FunctionObject = FunctionObject {}
- data Image = Image {}
- data ImagesResponse = ImagesResponse {}
- data ListAssistantFilesResponse = ListAssistantFilesResponse {}
- data ListAssistantsResponse = ListAssistantsResponse {}
- data ListFilesResponse = ListFilesResponse {}
- data ListFineTuningJobEventsResponse = ListFineTuningJobEventsResponse {}
- data ListMessageFilesResponse = ListMessageFilesResponse {}
- data ListMessagesResponse = ListMessagesResponse {}
- data ListModelsResponse = ListModelsResponse {}
- data ListPaginatedFineTuningJobsResponse = ListPaginatedFineTuningJobsResponse {}
- data ListRunStepsResponse = ListRunStepsResponse {}
- data ListRunsResponse = ListRunsResponse {}
- data ListThreadsResponse = ListThreadsResponse {}
- data MessageContentImageFileObject = MessageContentImageFileObject {}
- data MessageContentImageFileObjectImageFile = MessageContentImageFileObjectImageFile {}
- data MessageContentTextAnnotationsFileCitationObject = MessageContentTextAnnotationsFileCitationObject {
- messageContentTextAnnotationsFileCitationObjectType :: Text
- messageContentTextAnnotationsFileCitationObjectText :: Text
- messageContentTextAnnotationsFileCitationObjectFileUnderscorecitation :: MessageContentTextAnnotationsFileCitationObjectFileCitation
- messageContentTextAnnotationsFileCitationObjectStartUnderscoreindex :: Int
- messageContentTextAnnotationsFileCitationObjectEndUnderscoreindex :: Int
- data MessageContentTextAnnotationsFileCitationObjectFileCitation = MessageContentTextAnnotationsFileCitationObjectFileCitation {}
- data MessageContentTextAnnotationsFilePathObject = MessageContentTextAnnotationsFilePathObject {
- messageContentTextAnnotationsFilePathObjectType :: Text
- messageContentTextAnnotationsFilePathObjectText :: Text
- messageContentTextAnnotationsFilePathObjectFileUnderscorepath :: MessageContentTextAnnotationsFilePathObjectFilePath
- messageContentTextAnnotationsFilePathObjectStartUnderscoreindex :: Int
- messageContentTextAnnotationsFilePathObjectEndUnderscoreindex :: Int
- data MessageContentTextAnnotationsFilePathObjectFilePath = MessageContentTextAnnotationsFilePathObjectFilePath {}
- data MessageContentTextObject = MessageContentTextObject {}
- data MessageContentTextObjectText = MessageContentTextObjectText {}
- data MessageContentTextObjectTextAnnotationsInner = MessageContentTextObjectTextAnnotationsInner {
- messageContentTextObjectTextAnnotationsInnerType :: Text
- messageContentTextObjectTextAnnotationsInnerText :: Text
- messageContentTextObjectTextAnnotationsInnerFileUnderscorecitation :: MessageContentTextAnnotationsFileCitationObjectFileCitation
- messageContentTextObjectTextAnnotationsInnerStartUnderscoreindex :: Int
- messageContentTextObjectTextAnnotationsInnerEndUnderscoreindex :: Int
- messageContentTextObjectTextAnnotationsInnerFileUnderscorepath :: MessageContentTextAnnotationsFilePathObjectFilePath
- data MessageFileObject = MessageFileObject {}
- data MessageObject = MessageObject {
- messageObjectId :: Text
- messageObjectObject :: Text
- messageObjectCreatedUnderscoreat :: Int
- messageObjectThreadUnderscoreid :: Text
- messageObjectRole :: Text
- messageObjectContent :: [MessageObjectContentInner]
- messageObjectAssistantUnderscoreid :: Text
- messageObjectRunUnderscoreid :: Text
- messageObjectFileUnderscoreids :: [Text]
- messageObjectMetadata :: Value
- data MessageObjectContentInner = MessageObjectContentInner {}
- data Model = Model {}
- data ModifyAssistantRequest = ModifyAssistantRequest {
- modifyAssistantRequestModel :: Maybe CreateAssistantRequestModel
- modifyAssistantRequestName :: Maybe Text
- modifyAssistantRequestDescription :: Maybe Text
- modifyAssistantRequestInstructions :: Maybe Text
- modifyAssistantRequestTools :: Maybe [AssistantObjectToolsInner]
- modifyAssistantRequestFileUnderscoreids :: Maybe [Text]
- modifyAssistantRequestMetadata :: Maybe Value
- data ModifyMessageRequest = ModifyMessageRequest {}
- data ModifyRunRequest = ModifyRunRequest {}
- data ModifyThreadRequest = ModifyThreadRequest {}
- data OpenAIFile = OpenAIFile {}
- data RunCompletionUsage = RunCompletionUsage {}
- data RunObject = RunObject {
- runObjectId :: Text
- runObjectObject :: Text
- runObjectCreatedUnderscoreat :: Int
- runObjectThreadUnderscoreid :: Text
- runObjectAssistantUnderscoreid :: Text
- runObjectStatus :: Text
- runObjectRequiredUnderscoreaction :: RunObjectRequiredAction
- runObjectLastUnderscoreerror :: RunObjectLastError
- runObjectExpiresUnderscoreat :: Int
- runObjectStartedUnderscoreat :: Int
- runObjectCancelledUnderscoreat :: Int
- runObjectFailedUnderscoreat :: Int
- runObjectCompletedUnderscoreat :: Int
- runObjectModel :: Text
- runObjectInstructions :: Text
- runObjectTools :: [AssistantObjectToolsInner]
- runObjectFileUnderscoreids :: [Text]
- runObjectMetadata :: Value
- runObjectUsage :: RunCompletionUsage
- data RunObjectLastError = RunObjectLastError {}
- data RunObjectRequiredAction = RunObjectRequiredAction {}
- data RunObjectRequiredActionSubmitToolOutputs = RunObjectRequiredActionSubmitToolOutputs {}
- data RunStepCompletionUsage = RunStepCompletionUsage {}
- data RunStepDetailsMessageCreationObject = RunStepDetailsMessageCreationObject {}
- data RunStepDetailsMessageCreationObjectMessageCreation = RunStepDetailsMessageCreationObjectMessageCreation {}
- data RunStepDetailsToolCallsCodeObject = RunStepDetailsToolCallsCodeObject {}
- data RunStepDetailsToolCallsCodeObjectCodeInterpreter = RunStepDetailsToolCallsCodeObjectCodeInterpreter {}
- data RunStepDetailsToolCallsCodeObjectCodeInterpreterOutputsInner = RunStepDetailsToolCallsCodeObjectCodeInterpreterOutputsInner {}
- data RunStepDetailsToolCallsCodeOutputImageObject = RunStepDetailsToolCallsCodeOutputImageObject {}
- data RunStepDetailsToolCallsCodeOutputImageObjectImage = RunStepDetailsToolCallsCodeOutputImageObjectImage {}
- data RunStepDetailsToolCallsCodeOutputLogsObject = RunStepDetailsToolCallsCodeOutputLogsObject {}
- data RunStepDetailsToolCallsFunctionObject = RunStepDetailsToolCallsFunctionObject {}
- data RunStepDetailsToolCallsFunctionObjectFunction = RunStepDetailsToolCallsFunctionObjectFunction {}
- data RunStepDetailsToolCallsObject = RunStepDetailsToolCallsObject {}
- data RunStepDetailsToolCallsObjectToolCallsInner = RunStepDetailsToolCallsObjectToolCallsInner {
- runStepDetailsToolCallsObjectToolCallsInnerId :: Text
- runStepDetailsToolCallsObjectToolCallsInnerType :: Text
- runStepDetailsToolCallsObjectToolCallsInnerCodeUnderscoreinterpreter :: RunStepDetailsToolCallsCodeObjectCodeInterpreter
- runStepDetailsToolCallsObjectToolCallsInnerRetrieval :: Value
- runStepDetailsToolCallsObjectToolCallsInnerFunction :: RunStepDetailsToolCallsFunctionObjectFunction
- data RunStepDetailsToolCallsRetrievalObject = RunStepDetailsToolCallsRetrievalObject {}
- data RunStepObject = RunStepObject {
- runStepObjectId :: Text
- runStepObjectObject :: Text
- runStepObjectCreatedUnderscoreat :: Int
- runStepObjectAssistantUnderscoreid :: Text
- runStepObjectThreadUnderscoreid :: Text
- runStepObjectRunUnderscoreid :: Text
- runStepObjectType :: Text
- runStepObjectStatus :: Text
- runStepObjectStepUnderscoredetails :: RunStepObjectStepDetails
- runStepObjectLastUnderscoreerror :: RunStepObjectLastError
- runStepObjectExpiredUnderscoreat :: Int
- runStepObjectCancelledUnderscoreat :: Int
- runStepObjectFailedUnderscoreat :: Int
- runStepObjectCompletedUnderscoreat :: Int
- runStepObjectMetadata :: Value
- runStepObjectUsage :: RunStepCompletionUsage
- data RunStepObjectLastError = RunStepObjectLastError {}
- data RunStepObjectStepDetails = RunStepObjectStepDetails {}
- data RunToolCallObject = RunToolCallObject {}
- data RunToolCallObjectFunction = RunToolCallObjectFunction {}
- data SubmitToolOutputsRunRequest = SubmitToolOutputsRunRequest {}
- data SubmitToolOutputsRunRequestToolOutputsInner = SubmitToolOutputsRunRequestToolOutputsInner {}
- data ThreadObject = ThreadObject {}
- data TranscriptionSegment = TranscriptionSegment {
- transcriptionSegmentId :: Int
- transcriptionSegmentSeek :: Int
- transcriptionSegmentStart :: Float
- transcriptionSegmentEnd :: Float
- transcriptionSegmentText :: Text
- transcriptionSegmentTokens :: [Int]
- transcriptionSegmentTemperature :: Float
- transcriptionSegmentAvgUnderscorelogprob :: Float
- transcriptionSegmentCompressionUnderscoreratio :: Float
- transcriptionSegmentNoUnderscorespeechUnderscoreprob :: Float
- data TranscriptionWord = TranscriptionWord {}
Documentation
data AssistantFileObject Source #
A list of Files attached to an `assistant`.
Constructors
AssistantFileObject | |
Fields
|
Instances
data AssistantObject Source #
Represents an `assistant` that can call the model and use tools.
Constructors
AssistantObject | |
Fields
|
Instances
data AssistantObjectToolsInner Source #
Constructors
AssistantObjectToolsInner | |
Fields
|
Instances
data AssistantToolsCode Source #
Constructors
AssistantToolsCode | |
Fields
|
Instances
data AssistantToolsFunction Source #
Constructors
AssistantToolsFunction | |
Fields
|
Instances
data AssistantToolsRetrieval Source #
Constructors
AssistantToolsRetrieval | |
Fields
|
Instances
data ChatCompletionFunctionCallOption Source #
Specifying a particular function via `{"name": "my_function"}` forces the model to call that function.
Constructors
ChatCompletionFunctionCallOption | |
Fields
|
Instances
data ChatCompletionFunctions Source #
Constructors
ChatCompletionFunctions | |
Fields
|
Instances
data ChatCompletionMessageToolCall Source #
Constructors
ChatCompletionMessageToolCall | |
Fields
|
Instances
data ChatCompletionMessageToolCallChunk Source #
Constructors
ChatCompletionMessageToolCallChunk | |
Fields
|
Instances
data ChatCompletionMessageToolCallChunkFunction Source #
Constructors
ChatCompletionMessageToolCallChunkFunction | |
Fields
|
Instances
data ChatCompletionMessageToolCallFunction Source #
The function that the model called.
Constructors
ChatCompletionMessageToolCallFunction | |
Fields
|
Instances
data ChatCompletionNamedToolChoice Source #
Specifies a tool the model should use. Use to force the model to call a specific function.
Constructors
ChatCompletionNamedToolChoice | |
Fields
|
Instances
data ChatCompletionNamedToolChoiceFunction Source #
Constructors
ChatCompletionNamedToolChoiceFunction | |
Fields
|
Instances
data ChatCompletionRequestAssistantMessage Source #
Constructors
ChatCompletionRequestAssistantMessage | |
Fields
|
Instances
data ChatCompletionRequestAssistantMessageFunctionCall Source #
Deprecated and replaced by `tool_calls`. The name and arguments of a function that should be called, as generated by the model.
Constructors
ChatCompletionRequestAssistantMessageFunctionCall | |
Fields
|
Instances
data ChatCompletionRequestFunctionMessage Source #
Constructors
ChatCompletionRequestFunctionMessage | |
Fields
|
Instances
data ChatCompletionRequestMessage Source #
Constructors
ChatCompletionRequestMessage | |
Fields
|
Instances
data ChatCompletionRequestMessageContent Source #
Constructors
ChatCompletionRequestMessageContentText Text | |
ChatCompletionRequestMessageContentParts [ChatCompletionRequestMessageContentPart] |
Instances
data ChatCompletionRequestMessageContentPart Source #
Constructors
ChatCompletionRequestMessageContentPart | |
Fields
|
Instances
data ChatCompletionRequestMessageContentPartImage Source #
Constructors
ChatCompletionRequestMessageContentPartImage | |
Fields |
Instances
data ChatCompletionRequestMessageContentPartImageImageUrl Source #
Constructors
ChatCompletionRequestMessageContentPartImageImageUrl | |
Fields
|
Instances
data ChatCompletionRequestMessageContentPartText Source #
Constructors
ChatCompletionRequestMessageContentPartText | |
Fields
|
Instances
data ChatCompletionRequestSystemMessage Source #
Constructors
ChatCompletionRequestSystemMessage | |
Fields
|
Instances
data ChatCompletionRequestToolMessage Source #
Constructors
ChatCompletionRequestToolMessage | |
Fields
|
Instances
data ChatCompletionRequestUserMessage Source #
Constructors
ChatCompletionRequestUserMessage | |
Fields
|
Instances
data ChatCompletionRequestUserMessageContent Source #
The contents of the user message.
Constructors
ChatCompletionRequestUserMessageContent | |
Instances
data ChatCompletionResponseMessage Source #
A chat completion message generated by the model.
Constructors
ChatCompletionResponseMessage | |
Fields
|
Instances
data ChatCompletionRole Source #
The role of the author of a message
Constructors
ChatCompletionRole | |
Instances
data ChatCompletionStreamResponseDelta Source #
A chat completion delta generated by streamed model responses.
Constructors
ChatCompletionStreamResponseDelta | |
Fields
|
Instances
data ChatCompletionStreamResponseDeltaFunctionCall Source #
Deprecated and replaced by `tool_calls`. The name and arguments of a function that should be called, as generated by the model.
Constructors
ChatCompletionStreamResponseDeltaFunctionCall | |
Fields
|
Instances
data ChatCompletionTokenLogprob Source #
Constructors
ChatCompletionTokenLogprob | |
Fields
|
Instances
data ChatCompletionTokenLogprobTopLogprobsInner Source #
Constructors
ChatCompletionTokenLogprobTopLogprobsInner | |
Fields
|
Instances
data ChatCompletionTool Source #
Constructors
ChatCompletionTool | |
Fields
|
Instances
data ChatCompletionToolChoiceOption Source #
Controls which (if any) function is called by the model. `none` means the model will not call a function and instead generates a message. `auto` means the model can pick between generating a message or calling a function. Specifying a particular function via `{"type": "function", "function": {"name": "my_function"}}` forces the model to call that function. `none` is the default when no functions are present. `auto` is the default if functions are present.
Constructors
ChatCompletionToolChoiceOption | |
Fields
|
Instances
data CompletionUsage Source #
Usage statistics for the completion request.
Constructors
CompletionUsage | |
Fields
|
Instances
data CreateAssistantFileRequest Source #
Constructors
CreateAssistantFileRequest | |
Fields
|
Instances
data CreateAssistantRequest Source #
Constructors
CreateAssistantRequest | |
Fields
|
Instances
data CreateAssistantRequestModel Source #
ID of the model to use. You can use the List models API to see all of your available models, or see our Model overview for descriptions of them.
Constructors
CreateAssistantRequestModel Text |
Instances
data CreateChatCompletionFunctionResponse Source #
Represents a chat completion response returned by model, based on the provided input.
Constructors
CreateChatCompletionFunctionResponse | |
Fields
|
Instances
data CreateChatCompletionFunctionResponseChoicesInner Source #
Constructors
CreateChatCompletionFunctionResponseChoicesInner | |
Fields
|
Instances
data CreateChatCompletionRequest Source #
Constructors
CreateChatCompletionRequest | |
Fields
|
Instances
data CreateChatCompletionRequestFunctionCall Source #
Deprecated in favor of `tool_choice`. Controls which (if any) function is called by the model. `none` means the model will not call a function and instead generates a message. `auto` means the model can pick between generating a message or calling a function. Specifying a particular function via `{"name": "my_function"}` forces the model to call that function. `none` is the default when no functions are present. `auto` is the default if functions are present.
Constructors
CreateChatCompletionRequestFunctionCall | |
Fields
|
Instances
newtype CreateChatCompletionRequestModel Source #
ID of the model to use. See the model endpoint compatibility table for details on which models work with the Chat API.
Constructors
CreateChatCompletionRequestModel Text |
Instances
data CreateChatCompletionRequestResponseFormat Source #
An object specifying the format that the model must output. Compatible with GPT-4 Turbo and all GPT-3.5 Turbo models newer than `gpt-3.5-turbo-1106`. Setting to `{ "type": "json_object" }` enables JSON mode, which guarantees the message the model generates is valid JSON. **Important:** when using JSON mode, you **must** also instruct the model to produce JSON yourself via a system or user message. Without this, the model may generate an unending stream of whitespace until the generation reaches the token limit, resulting in a long-running and seemingly "stuck" request. Also note that the message content may be partially cut off if `finish_reason="length"`, which indicates the generation exceeded `max_tokens` or the conversation exceeded the max context length.
Constructors
CreateChatCompletionRequestResponseFormat | |
Fields
|
Instances
data CreateChatCompletionRequestStop Source #
Up to 4 sequences where the API will stop generating further tokens.
Constructors
CreateChatCompletionRequestStop | |
Instances
data CreateChatCompletionResponse Source #
Represents a chat completion response returned by model, based on the provided input.
Constructors
CreateChatCompletionResponse | |
Fields
|
Instances
data CreateChatCompletionResponseChoicesInner Source #
Constructors
CreateChatCompletionResponseChoicesInner | |
Fields
|
Instances
data CreateChatCompletionResponseChoicesInnerLogprobs Source #
Log probability information for the choice.
Constructors
CreateChatCompletionResponseChoicesInnerLogprobs | |
Fields
|
Instances
data CreateChatCompletionStreamResponse Source #
Represents a streamed chunk of a chat completion response returned by model, based on the provided input.
Constructors
CreateChatCompletionStreamResponse | |
Fields
|
Instances
data CreateChatCompletionStreamResponseChoicesInner Source #
Constructors
CreateChatCompletionStreamResponseChoicesInner | |
Fields
|
Instances
data CreateCompletionRequest Source #
Constructors
CreateCompletionRequest | |
Fields
|
Instances
data CreateCompletionRequestModel Source #
ID of the model to use. You can use the List models API to see all of your available models, or see our Model overview for descriptions of them.
Constructors
CreateCompletionRequestModel Text |
Instances
data CreateCompletionRequestPrompt Source #
The prompt(s) to generate completions for, encoded as a string, array of strings, array of tokens, or array of token arrays. Note that <|endoftext|> is the document separator that the model sees during training, so if a prompt is not specified the model will generate as if from the beginning of a new document.
Constructors
CreateCompletionRequestPrompt | |
Instances
data CreateCompletionRequestStop Source #
Up to 4 sequences where the API will stop generating further tokens. The returned text will not contain the stop sequence.
Constructors
CreateCompletionRequestStop | |
Instances
data CreateCompletionResponse Source #
Represents a completion response from the API. Note: both the streamed and non-streamed response objects share the same shape (unlike the chat endpoint).
Constructors
CreateCompletionResponse | |
Fields
|
Instances
data CreateCompletionResponseChoicesInner Source #
Constructors
CreateCompletionResponseChoicesInner | |
Fields
|
Instances
data CreateCompletionResponseChoicesInnerLogprobs Source #
Constructors
Instances
data CreateEmbeddingRequest Source #
Constructors
CreateEmbeddingRequest | |
Fields
|
Instances
data CreateEmbeddingRequestInput Source #
Input text to embed, encoded as a string or array of tokens. To embed multiple inputs in a single request, pass an array of strings or array of token arrays. The input must not exceed the max input tokens for the model (8192 tokens for `text-embedding-ada-002`), cannot be an empty string, and any array must be 2048 dimensions or less. Example Python code for counting tokens.
Constructors
CreateEmbeddingRequestInput | |
Instances
data CreateEmbeddingRequestModel Source #
ID of the model to use. You can use the List models API to see all of your available models, or see our Model overview for descriptions of them.
Constructors
CreateEmbeddingRequestModel Text |
Instances
data CreateEmbeddingResponse Source #
Constructors
CreateEmbeddingResponse | |
Fields
|
Instances
data CreateEmbeddingResponseUsage Source #
The usage information for the request.
Constructors
CreateEmbeddingResponseUsage | |
Fields
|
Instances
data CreateFineTuningJobRequest Source #
Constructors
CreateFineTuningJobRequest | |
Fields
|
Instances
data CreateFineTuningJobRequestHyperparameters Source #
The hyperparameters used for the fine-tuning job.
Constructors
Instances
data CreateFineTuningJobRequestHyperparametersBatchSize Source #
Number of examples in each batch. A larger batch size means that model parameters are updated less frequently, but with lower variance.
Instances
data CreateFineTuningJobRequestHyperparametersLearningRateMultiplier Source #
Scaling factor for the learning rate. A smaller learning rate may be useful to avoid overfitting.
Instances
data CreateFineTuningJobRequestHyperparametersNEpochs Source #
The number of epochs to train the model for. An epoch refers to one full cycle through the training dataset.
Constructors
CreateFineTuningJobRequestHyperparametersNEpochs | |
Instances
data CreateFineTuningJobRequestModel Source #
The name of the model to fine-tune. You can select one of the supported models.
Constructors
CreateFineTuningJobRequestModel Text |
Instances
data CreateImageRequest Source #
Constructors
CreateImageRequest | |
Fields
|
Instances
data CreateImageRequestModel Source #
The model to use for image generation.
Constructors
CreateImageRequestModel Text |
Instances
data CreateMessageRequest Source #
Constructors
CreateMessageRequest | |
Fields
|
Instances
data CreateModerationRequest Source #
Constructors
CreateModerationRequest | |
Instances
data CreateModerationRequestInput Source #
The input text to classify
Constructors
CreateModerationRequestInput | |
Instances
data CreateModerationRequestModel Source #
Two content moderations models are available: `text-moderation-stable` and `text-moderation-latest`. The default is `text-moderation-latest` which will be automatically upgraded over time. This ensures you are always using our most accurate model. If you use `text-moderation-stable`, we will provide advanced notice before updating the model. Accuracy of `text-moderation-stable` may be slightly lower than for `text-moderation-latest`.
Constructors
CreateModerationRequestModel Text |
Instances
data CreateModerationResponse Source #
Represents if a given text input is potentially harmful.
Constructors
CreateModerationResponse | |
Fields
|
Instances
data CreateModerationResponseResultsInner Source #
Constructors
Instances
data CreateModerationResponseResultsInnerCategories Source #
A list of the categories, and whether they are flagged or not.
Constructors
CreateModerationResponseResultsInnerCategories | |
Fields
|
Instances
data CreateModerationResponseResultsInnerCategoryScores Source #
A list of the categories along with their scores as predicted by model.
Constructors
Instances
data CreateRunRequest Source #
Constructors
CreateRunRequest | |
Fields
|
Instances
data CreateSpeechRequest Source #
Constructors
CreateSpeechRequest | |
Fields
|
Instances
data CreateSpeechRequestModel Source #
One of the available TTS models: `tts-1` or `tts-1-hd`
Constructors
CreateSpeechRequestModel Text |
Instances
data CreateThreadAndRunRequest Source #
Constructors
CreateThreadAndRunRequest | |
Fields
|
Instances
data CreateThreadAndRunRequestToolsInner Source #
Constructors
CreateThreadAndRunRequestToolsInner | |
Fields
|
Instances
data CreateThreadRequest Source #
Constructors
CreateThreadRequest | |
Fields
|
Instances
data CreateTranscription200Response Source #
Constructors
CreateTranscription200Response | |
Fields
|
Instances
data CreateTranscriptionResponseJson Source #
Represents a transcription response returned by model, based on the provided input.
Constructors
CreateTranscriptionResponseJson | |
Fields
|
Instances
data CreateTranscriptionResponseVerboseJson Source #
Represents a verbose json transcription response returned by model, based on the provided input.
Constructors
CreateTranscriptionResponseVerboseJson | |
Fields
|
Instances
data CreateTranslation200Response Source #
Constructors
CreateTranslation200Response | |
Fields
|
Instances
data CreateTranslationResponseJson Source #
Constructors
CreateTranslationResponseJson | |
Fields |
Instances
data CreateTranslationResponseVerboseJson Source #
Constructors
CreateTranslationResponseVerboseJson | |
Fields
|
Instances
data DeleteAssistantFileResponse Source #
Deletes the association between the assistant and the file, but does not delete the File object itself.
Constructors
DeleteAssistantFileResponse | |
Instances
data DeleteAssistantResponse Source #
Constructors
DeleteAssistantResponse | |
Instances
data DeleteFileResponse Source #
Constructors
DeleteFileResponse | |
Instances
data DeleteMessageResponse Source #
Constructors
DeleteMessageResponse | |
Instances
data DeleteModelResponse Source #
Constructors
DeleteModelResponse | |
Instances
data DeleteThreadResponse Source #
Constructors
DeleteThreadResponse | |
Instances
Represents an embedding vector returned by embedding endpoint.
Constructors
Embedding | |
Fields
|
Instances
FromJSON Embedding Source # | |
Defined in OpenAI.Types | |
ToJSON Embedding Source # | |
Data Embedding Source # | |
Defined in OpenAI.Types Methods gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Embedding -> c Embedding # gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Embedding # toConstr :: Embedding -> Constr # dataTypeOf :: Embedding -> DataType # dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c Embedding) # dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Embedding) # gmapT :: (forall b. Data b => b -> b) -> Embedding -> Embedding # gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Embedding -> r # gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Embedding -> r # gmapQ :: (forall d. Data d => d -> u) -> Embedding -> [u] # gmapQi :: Int -> (forall d. Data d => d -> u) -> Embedding -> u # gmapM :: Monad m => (forall d. Data d => d -> m d) -> Embedding -> m Embedding # gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Embedding -> m Embedding # gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Embedding -> m Embedding # | |
Generic Embedding Source # | |
Show Embedding Source # | |
Eq Embedding Source # | |
Ord Embedding Source # | |
type Rep Embedding Source # | |
Defined in OpenAI.Types type Rep Embedding = D1 ('MetaData "Embedding" "OpenAI.Types" "openai-servant-gen-0.1.0.1-FakPIMKVXj0EsGUstjFe6U" 'False) (C1 ('MetaCons "Embedding" 'PrefixI 'True) (S1 ('MetaSel ('Just "embeddingIndex") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Int) :*: (S1 ('MetaSel ('Just "embeddingEmbedding") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [Double]) :*: S1 ('MetaSel ('Just "embeddingObject") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))) |
Constructors
Error | |
Fields
|
Instances
FromJSON Error Source # | |
Defined in OpenAI.Types | |
ToJSON Error Source # | |
Data Error Source # | |
Defined in OpenAI.Types Methods gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Error -> c Error # gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Error # dataTypeOf :: Error -> DataType # dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c Error) # dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Error) # gmapT :: (forall b. Data b => b -> b) -> Error -> Error # gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Error -> r # gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Error -> r # gmapQ :: (forall d. Data d => d -> u) -> Error -> [u] # gmapQi :: Int -> (forall d. Data d => d -> u) -> Error -> u # gmapM :: Monad m => (forall d. Data d => d -> m d) -> Error -> m Error # gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Error -> m Error # gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Error -> m Error # | |
Generic Error Source # | |
Show Error Source # | |
Eq Error Source # | |
Ord Error Source # | |
type Rep Error Source # | |
Defined in OpenAI.Types type Rep Error = D1 ('MetaData "Error" "OpenAI.Types" "openai-servant-gen-0.1.0.1-FakPIMKVXj0EsGUstjFe6U" 'False) (C1 ('MetaCons "Error" 'PrefixI 'True) ((S1 ('MetaSel ('Just "errorCode") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text) :*: S1 ('MetaSel ('Just "errorMessage") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)) :*: (S1 ('MetaSel ('Just "errorParam") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text) :*: S1 ('MetaSel ('Just "errorType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))) |
data ErrorResponse Source #
Constructors
ErrorResponse | |
Fields |
Instances
data FineTuningJob Source #
The `fine_tuning.job` object represents a fine-tuning job that has been created through the API.
Constructors
FineTuningJob | |
Fields
|
Instances
data FineTuningJobError Source #
For fine-tuning jobs that have `failed`, this will contain more information on the cause of the failure.
Constructors
FineTuningJobError | |
Fields
|
Instances
data FineTuningJobEvent Source #
Fine-tuning job event object
Constructors
FineTuningJobEvent | |
Instances
data FineTuningJobHyperparameters Source #
The hyperparameters used for the fine-tuning job. See the fine-tuning guide for more details.
Constructors
FineTuningJobHyperparameters | |
Instances
data FineTuningJobHyperparametersNEpochs Source #
The number of epochs to train the model for. An epoch refers to one full cycle through the training dataset. "auto" decides the optimal number of epochs based on the size of the dataset. If setting the number manually, we support any number between 1 and 50 epochs.
Constructors
FineTuningJobHyperparametersNEpochs | |
Instances
data FunctionObject Source #
Constructors
FunctionObject | |
Fields
|
Instances
Represents the url or the content of an image generated by the OpenAI API.
Constructors
Image | |
Fields
|
Instances
FromJSON Image Source # | |
Defined in OpenAI.Types | |
ToJSON Image Source # | |
Data Image Source # | |
Defined in OpenAI.Types Methods gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Image -> c Image # gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Image # dataTypeOf :: Image -> DataType # dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c Image) # dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Image) # gmapT :: (forall b. Data b => b -> b) -> Image -> Image # gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Image -> r # gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Image -> r # gmapQ :: (forall d. Data d => d -> u) -> Image -> [u] # gmapQi :: Int -> (forall d. Data d => d -> u) -> Image -> u # gmapM :: Monad m => (forall d. Data d => d -> m d) -> Image -> m Image # gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Image -> m Image # gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Image -> m Image # | |
Generic Image Source # | |
Show Image Source # | |
Eq Image Source # | |
Ord Image Source # | |
type Rep Image Source # | |
Defined in OpenAI.Types type Rep Image = D1 ('MetaData "Image" "OpenAI.Types" "openai-servant-gen-0.1.0.1-FakPIMKVXj0EsGUstjFe6U" 'False) (C1 ('MetaCons "Image" 'PrefixI 'True) (S1 ('MetaSel ('Just "imageB64Underscorejson") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "imageUrl") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "imageRevisedUnderscoreprompt") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Text))))) |
data ImagesResponse Source #
Constructors
ImagesResponse | |
Fields |
Instances
data ListAssistantFilesResponse Source #
Constructors
ListAssistantFilesResponse | |
Instances
data ListAssistantsResponse Source #
Constructors
ListAssistantsResponse | |
Instances
data ListFilesResponse Source #
Constructors
ListFilesResponse | |
Fields |
Instances
data ListFineTuningJobEventsResponse Source #
Constructors
ListFineTuningJobEventsResponse | |
Instances
data ListMessageFilesResponse Source #
Constructors
ListMessageFilesResponse | |
Instances
data ListMessagesResponse Source #
Constructors
ListMessagesResponse | |
Instances
data ListModelsResponse Source #
Constructors
ListModelsResponse | |
Fields |
Instances
data ListPaginatedFineTuningJobsResponse Source #
Constructors
ListPaginatedFineTuningJobsResponse | |
Instances
data ListRunStepsResponse Source #
Constructors
ListRunStepsResponse | |
Instances
data ListRunsResponse Source #
Constructors
ListRunsResponse | |
Instances
data ListThreadsResponse Source #
Constructors
ListThreadsResponse | |
Instances
data MessageContentImageFileObject Source #
References an image File in the content of a message.
Constructors
MessageContentImageFileObject | |
Fields |
Instances
data MessageContentImageFileObjectImageFile Source #
Constructors
MessageContentImageFileObjectImageFile | |
Fields
|
Instances
data MessageContentTextAnnotationsFileCitationObject Source #
A citation within the message that points to a specific quote from a specific File associated with the assistant or the message. Generated when the assistant uses the "retrieval" tool to search files.
Constructors
MessageContentTextAnnotationsFileCitationObject | |
Fields
|
Instances
data MessageContentTextAnnotationsFileCitationObjectFileCitation Source #
Constructors
MessageContentTextAnnotationsFileCitationObjectFileCitation | |
Fields
|
Instances
data MessageContentTextAnnotationsFilePathObject Source #
A URL for the file that's generated when the assistant used the `code_interpreter` tool to generate a file.
Constructors
MessageContentTextAnnotationsFilePathObject | |
Fields
|
Instances
data MessageContentTextAnnotationsFilePathObjectFilePath Source #
Constructors
MessageContentTextAnnotationsFilePathObjectFilePath | |
Fields
|
Instances
data MessageContentTextObject Source #
The text content that is part of a message.
Constructors
MessageContentTextObject | |
Fields |
Instances
data MessageContentTextObjectText Source #
Constructors
MessageContentTextObjectText | |
Fields
|
Instances
data MessageContentTextObjectTextAnnotationsInner Source #
Constructors
Instances
data MessageFileObject Source #
A list of files attached to a `message`.
Constructors
MessageFileObject | |
Fields
|
Instances
data MessageObject Source #
Represents a message within a thread.
Constructors
MessageObject | |
Fields
|
Instances
data MessageObjectContentInner Source #
Constructors
MessageObjectContentInner | |
Instances
Describes an OpenAI model offering that can be used with the API.
Constructors
Model | |
Fields
|
Instances
FromJSON Model Source # | |
Defined in OpenAI.Types | |
ToJSON Model Source # | |
Data Model Source # | |
Defined in OpenAI.Types Methods gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Model -> c Model # gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Model # dataTypeOf :: Model -> DataType # dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c Model) # dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Model) # gmapT :: (forall b. Data b => b -> b) -> Model -> Model # gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Model -> r # gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Model -> r # gmapQ :: (forall d. Data d => d -> u) -> Model -> [u] # gmapQi :: Int -> (forall d. Data d => d -> u) -> Model -> u # gmapM :: Monad m => (forall d. Data d => d -> m d) -> Model -> m Model # gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Model -> m Model # gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Model -> m Model # | |
Generic Model Source # | |
Show Model Source # | |
Eq Model Source # | |
Ord Model Source # | |
type Rep Model Source # | |
Defined in OpenAI.Types type Rep Model = D1 ('MetaData "Model" "OpenAI.Types" "openai-servant-gen-0.1.0.1-FakPIMKVXj0EsGUstjFe6U" 'False) (C1 ('MetaCons "Model" 'PrefixI 'True) ((S1 ('MetaSel ('Just "modelId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text) :*: S1 ('MetaSel ('Just "modelCreated") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Int)) :*: (S1 ('MetaSel ('Just "modelObject") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text) :*: S1 ('MetaSel ('Just "modelOwnedUnderscoreby") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))) |
data ModifyAssistantRequest Source #
Constructors
ModifyAssistantRequest | |
Fields
|
Instances
data ModifyMessageRequest Source #
Constructors
ModifyMessageRequest | |
Fields
|
Instances
data ModifyRunRequest Source #
Constructors
ModifyRunRequest | |
Fields
|
Instances
data ModifyThreadRequest Source #
Constructors
ModifyThreadRequest | |
Fields
|
Instances
data OpenAIFile Source #
The `File` object represents a document that has been uploaded to OpenAI.
Constructors
OpenAIFile | |
Fields
|
Instances
data RunCompletionUsage Source #
Usage statistics related to the run. This value will be `null` if the run is not in a terminal state (i.e. `in_progress`, `queued`, etc.).
Constructors
RunCompletionUsage | |
Fields
|
Instances
Represents an execution run on a thread.
Constructors
RunObject | |
Fields
|
Instances
data RunObjectLastError Source #
The last error associated with this run. Will be `null` if there are no errors.
Constructors
RunObjectLastError | |
Fields
|
Instances
data RunObjectRequiredAction Source #
Details on the action required to continue the run. Will be `null` if no action is required.
Constructors
RunObjectRequiredAction | |
Fields
|
Instances
data RunObjectRequiredActionSubmitToolOutputs Source #
Details on the tool outputs needed for this run to continue.
Constructors
RunObjectRequiredActionSubmitToolOutputs | |
Fields
|
Instances
data RunStepCompletionUsage Source #
Usage statistics related to the run step. This value will be `null` while the run step's status is `in_progress`.
Constructors
RunStepCompletionUsage | |
Fields
|
Instances
data RunStepDetailsMessageCreationObject Source #
Details of the message creation by the run step.
Constructors
RunStepDetailsMessageCreationObject | |
Instances
data RunStepDetailsMessageCreationObjectMessageCreation Source #
Constructors
RunStepDetailsMessageCreationObjectMessageCreation | |
Fields
|
Instances
data RunStepDetailsToolCallsCodeObject Source #
Details of the Code Interpreter tool call the run step was involved in.
Constructors
RunStepDetailsToolCallsCodeObject | |
Fields
|
Instances
data RunStepDetailsToolCallsCodeObjectCodeInterpreter Source #
The Code Interpreter tool call definition.
Constructors
RunStepDetailsToolCallsCodeObjectCodeInterpreter | |
Fields
|
Instances
data RunStepDetailsToolCallsCodeObjectCodeInterpreterOutputsInner Source #
Constructors
RunStepDetailsToolCallsCodeObjectCodeInterpreterOutputsInner | |
Fields
|
Instances
data RunStepDetailsToolCallsCodeOutputImageObject Source #
Constructors
RunStepDetailsToolCallsCodeOutputImageObject | |
Instances
data RunStepDetailsToolCallsCodeOutputImageObjectImage Source #
Constructors
RunStepDetailsToolCallsCodeOutputImageObjectImage | |
Fields
|
Instances
data RunStepDetailsToolCallsCodeOutputLogsObject Source #
Text output from the Code Interpreter tool call as part of a run step.
Constructors
RunStepDetailsToolCallsCodeOutputLogsObject | |
Fields
|
Instances
data RunStepDetailsToolCallsFunctionObject Source #
Constructors
RunStepDetailsToolCallsFunctionObject | |
Fields
|
Instances
data RunStepDetailsToolCallsFunctionObjectFunction Source #
The definition of the function that was called.
Constructors
RunStepDetailsToolCallsFunctionObjectFunction | |
Fields
|
Instances
data RunStepDetailsToolCallsObject Source #
Details of the tool call.
Constructors
RunStepDetailsToolCallsObject | |
Fields
|
Instances
data RunStepDetailsToolCallsObjectToolCallsInner Source #
Constructors
RunStepDetailsToolCallsObjectToolCallsInner | |
Fields
|
Instances
data RunStepDetailsToolCallsRetrievalObject Source #
Constructors
RunStepDetailsToolCallsRetrievalObject | |
Fields
|
Instances
data RunStepObject Source #
Represents a step in execution of a run.
Constructors
RunStepObject | |
Fields
|
Instances
data RunStepObjectLastError Source #
The last error associated with this run step. Will be `null` if there are no errors.
Constructors
RunStepObjectLastError | |
Fields
|
Instances
data RunStepObjectStepDetails Source #
The details of the run step.
Constructors
RunStepObjectStepDetails | |
Fields
|
Instances
data RunToolCallObject Source #
Tool call objects
Constructors
RunToolCallObject | |
Fields
|
Instances
data RunToolCallObjectFunction Source #
The function definition.
Constructors
RunToolCallObjectFunction | |
Fields
|
Instances
data SubmitToolOutputsRunRequest Source #
Constructors
SubmitToolOutputsRunRequest | |
Fields
|
Instances
data SubmitToolOutputsRunRequestToolOutputsInner Source #
Constructors
SubmitToolOutputsRunRequestToolOutputsInner | |
Fields
|
Instances
data ThreadObject Source #
Represents a thread that contains messages.
Constructors
ThreadObject | |
Fields
|
Instances
data TranscriptionSegment Source #
Constructors
TranscriptionSegment | |
Fields
|
Instances
data TranscriptionWord Source #
Constructors
TranscriptionWord | |
Fields
|