Documentation ¶
Index ¶
- type CancelFineTunePathParams
- type CancelFineTuneRequest
- type CancelFineTuneResponse
- type CreateAnswerRequest
- type CreateAnswerResponse
- type CreateClassificationRequest
- type CreateClassificationResponse
- type CreateCompletionRequest
- type CreateCompletionResponse
- type CreateEditRequest
- type CreateEditResponse
- type CreateEmbeddingRequest
- type CreateEmbeddingResponse
- type CreateFileRequest
- type CreateFileResponse
- type CreateFineTuneRequest
- type CreateFineTuneResponse
- type CreateImageEditRequest
- type CreateImageEditResponse
- type CreateImageRequest
- type CreateImageResponse
- type CreateImageVariationRequest
- type CreateImageVariationResponse
- type CreateModerationRequest
- type CreateModerationResponse
- type CreateSearchPathParams
- type CreateSearchRequest
- type CreateSearchResponse
- type DeleteFilePathParams
- type DeleteFileRequest
- type DeleteFileResponse
- type DeleteModelPathParams
- type DeleteModelRequest
- type DeleteModelResponse
- type DownloadFilePathParams
- type DownloadFileRequest
- type DownloadFileResponse
- type ListEnginesResponse
- type ListFilesResponse
- type ListFineTuneEventsPathParams
- type ListFineTuneEventsQueryParams
- type ListFineTuneEventsRequest
- type ListFineTuneEventsResponse
- type ListFineTunesResponse
- type ListModelsResponse
- type RetrieveEnginePathParams
- type RetrieveEngineRequest
- type RetrieveEngineResponse
- type RetrieveFilePathParams
- type RetrieveFileRequest
- type RetrieveFileResponse
- type RetrieveFineTunePathParams
- type RetrieveFineTuneRequest
- type RetrieveFineTuneResponse
- type RetrieveModelPathParams
- type RetrieveModelRequest
- type RetrieveModelResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CancelFineTunePathParams ¶
type CancelFineTunePathParams struct {
FineTuneID string `pathParam:"style=simple,explode=false,name=fine_tune_id"`
}
type CancelFineTuneRequest ¶
type CancelFineTuneRequest struct {
PathParams CancelFineTunePathParams
}
type CancelFineTuneResponse ¶
type CreateAnswerRequest ¶
type CreateAnswerRequest struct {
Request shared.CreateAnswerRequest `request:"mediaType=application/json"`
}
type CreateAnswerResponse ¶
type CreateAnswerResponse struct { ContentType string CreateAnswerResponse *shared.CreateAnswerResponse StatusCode int }
type CreateClassificationRequest ¶
type CreateClassificationRequest struct {
Request shared.CreateClassificationRequest `request:"mediaType=application/json"`
}
type CreateClassificationResponse ¶
type CreateClassificationResponse struct { ContentType string CreateClassificationResponse *shared.CreateClassificationResponse StatusCode int }
type CreateCompletionRequest ¶
type CreateCompletionRequest struct {
Request shared.CreateCompletionRequest `request:"mediaType=application/json"`
}
type CreateCompletionResponse ¶
type CreateCompletionResponse struct { ContentType string CreateCompletionResponse *shared.CreateCompletionResponse StatusCode int }
type CreateEditRequest ¶
type CreateEditRequest struct {
Request shared.CreateEditRequest `request:"mediaType=application/json"`
}
type CreateEditResponse ¶
type CreateEditResponse struct { ContentType string CreateEditResponse *shared.CreateEditResponse StatusCode int }
type CreateEmbeddingRequest ¶
type CreateEmbeddingRequest struct {
Request shared.CreateEmbeddingRequest `request:"mediaType=application/json"`
}
type CreateEmbeddingResponse ¶
type CreateEmbeddingResponse struct { ContentType string CreateEmbeddingResponse *shared.CreateEmbeddingResponse StatusCode int }
type CreateFileRequest ¶
type CreateFileRequest struct {
Request shared.CreateFileRequest `request:"mediaType=multipart/form-data"`
}
type CreateFileResponse ¶
type CreateFineTuneRequest ¶
type CreateFineTuneRequest struct {
Request shared.CreateFineTuneRequest `request:"mediaType=application/json"`
}
type CreateFineTuneResponse ¶
type CreateImageEditRequest ¶
type CreateImageEditRequest struct {
Request shared.CreateImageEditRequest `request:"mediaType=multipart/form-data"`
}
type CreateImageEditResponse ¶
type CreateImageRequest ¶
type CreateImageRequest struct {
Request shared.CreateImageRequest `request:"mediaType=application/json"`
}
type CreateImageResponse ¶
type CreateImageVariationRequest ¶
type CreateImageVariationRequest struct {
Request shared.CreateImageVariationRequest `request:"mediaType=multipart/form-data"`
}
type CreateModerationRequest ¶
type CreateModerationRequest struct {
Request shared.CreateModerationRequest `request:"mediaType=application/json"`
}
type CreateModerationResponse ¶
type CreateModerationResponse struct { ContentType string CreateModerationResponse *shared.CreateModerationResponse StatusCode int }
type CreateSearchPathParams ¶
type CreateSearchPathParams struct {
EngineID string `pathParam:"style=simple,explode=false,name=engine_id"`
}
type CreateSearchRequest ¶
type CreateSearchRequest struct { PathParams CreateSearchPathParams Request shared.CreateSearchRequest `request:"mediaType=application/json"` }
type CreateSearchResponse ¶
type CreateSearchResponse struct { ContentType string CreateSearchResponse *shared.CreateSearchResponse StatusCode int }
type DeleteFilePathParams ¶
type DeleteFilePathParams struct {
FileID string `pathParam:"style=simple,explode=false,name=file_id"`
}
type DeleteFileRequest ¶
type DeleteFileRequest struct {
PathParams DeleteFilePathParams
}
type DeleteFileResponse ¶
type DeleteFileResponse struct { ContentType string DeleteFileResponse *shared.DeleteFileResponse StatusCode int }
type DeleteModelPathParams ¶
type DeleteModelPathParams struct {
Model string `pathParam:"style=simple,explode=false,name=model"`
}
type DeleteModelRequest ¶
type DeleteModelRequest struct {
PathParams DeleteModelPathParams
}
type DeleteModelResponse ¶
type DeleteModelResponse struct { ContentType string DeleteModelResponse *shared.DeleteModelResponse StatusCode int }
type DownloadFilePathParams ¶
type DownloadFilePathParams struct {
FileID string `pathParam:"style=simple,explode=false,name=file_id"`
}
type DownloadFileRequest ¶
type DownloadFileRequest struct {
PathParams DownloadFilePathParams
}
type DownloadFileResponse ¶
type ListEnginesResponse ¶
type ListEnginesResponse struct { ContentType string ListEnginesResponse *shared.ListEnginesResponse StatusCode int }
type ListFilesResponse ¶
type ListFilesResponse struct { ContentType string ListFilesResponse *shared.ListFilesResponse StatusCode int }
type ListFineTuneEventsPathParams ¶
type ListFineTuneEventsPathParams struct {
FineTuneID string `pathParam:"style=simple,explode=false,name=fine_tune_id"`
}
type ListFineTuneEventsQueryParams ¶
type ListFineTuneEventsQueryParams struct {
Stream *bool `queryParam:"style=form,explode=true,name=stream"`
}
type ListFineTuneEventsRequest ¶
type ListFineTuneEventsRequest struct { PathParams ListFineTuneEventsPathParams QueryParams ListFineTuneEventsQueryParams }
type ListFineTuneEventsResponse ¶
type ListFineTuneEventsResponse struct { ContentType string ListFineTuneEventsResponse *shared.ListFineTuneEventsResponse StatusCode int }
type ListFineTunesResponse ¶
type ListFineTunesResponse struct { ContentType string ListFineTunesResponse *shared.ListFineTunesResponse StatusCode int }
type ListModelsResponse ¶
type ListModelsResponse struct { ContentType string ListModelsResponse *shared.ListModelsResponse StatusCode int }
type RetrieveEnginePathParams ¶
type RetrieveEnginePathParams struct {
EngineID string `pathParam:"style=simple,explode=false,name=engine_id"`
}
type RetrieveEngineRequest ¶
type RetrieveEngineRequest struct {
PathParams RetrieveEnginePathParams
}
type RetrieveEngineResponse ¶
type RetrieveFilePathParams ¶
type RetrieveFilePathParams struct {
FileID string `pathParam:"style=simple,explode=false,name=file_id"`
}
type RetrieveFileRequest ¶
type RetrieveFileRequest struct {
PathParams RetrieveFilePathParams
}
type RetrieveFileResponse ¶
type RetrieveFineTunePathParams ¶
type RetrieveFineTunePathParams struct {
FineTuneID string `pathParam:"style=simple,explode=false,name=fine_tune_id"`
}
type RetrieveFineTuneRequest ¶
type RetrieveFineTuneRequest struct {
PathParams RetrieveFineTunePathParams
}
type RetrieveModelPathParams ¶
type RetrieveModelPathParams struct {
Model string `pathParam:"style=simple,explode=false,name=model"`
}
type RetrieveModelRequest ¶
type RetrieveModelRequest struct {
PathParams RetrieveModelPathParams
}
type RetrieveModelResponse ¶
Source Files ¶
- cancelfinetune.go
- createanswer.go
- createclassification.go
- createcompletion.go
- createedit.go
- createembedding.go
- createfile.go
- createfinetune.go
- createimage.go
- createimageedit.go
- createimagevariation.go
- createmoderation.go
- createsearch.go
- deletefile.go
- deletemodel.go
- downloadfile.go
- listengines.go
- listfiles.go
- listfinetuneevents.go
- listfinetunes.go
- listmodels.go
- retrieveengine.go
- retrievefile.go
- retrievefinetune.go
- retrievemodel.go
Click to show internal directories.
Click to hide internal directories.