ark

package
v1.0.7 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 27, 2025 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Overview

Package arkiface provides an interface to enable mocking the ARK service client for testing your code.

It is important to note that this interface will have breaking changes when the service model is updated and adds new API operations, paginators, and waiters.

Index

Constants

View Source
const (
	// EnumOfroleForBatchChatCompletionsInputSystem is a EnumOfroleForBatchChatCompletionsInput enum value
	EnumOfroleForBatchChatCompletionsInputSystem = "system"

	// EnumOfroleForBatchChatCompletionsInputUser is a EnumOfroleForBatchChatCompletionsInput enum value
	EnumOfroleForBatchChatCompletionsInputUser = "user"

	// EnumOfroleForBatchChatCompletionsInputAssistant is a EnumOfroleForBatchChatCompletionsInput enum value
	EnumOfroleForBatchChatCompletionsInputAssistant = "assistant"

	// EnumOfroleForBatchChatCompletionsInputTool is a EnumOfroleForBatchChatCompletionsInput enum value
	EnumOfroleForBatchChatCompletionsInputTool = "tool"
)
View Source
const (
	// EnumOfroleForBotsChatCompletionsInputSystem is a EnumOfroleForBotsChatCompletionsInput enum value
	EnumOfroleForBotsChatCompletionsInputSystem = "system"

	// EnumOfroleForBotsChatCompletionsInputUser is a EnumOfroleForBotsChatCompletionsInput enum value
	EnumOfroleForBotsChatCompletionsInputUser = "user"

	// EnumOfroleForBotsChatCompletionsInputAssistant is a EnumOfroleForBotsChatCompletionsInput enum value
	EnumOfroleForBotsChatCompletionsInputAssistant = "assistant"

	// EnumOfroleForBotsChatCompletionsInputTool is a EnumOfroleForBotsChatCompletionsInput enum value
	EnumOfroleForBotsChatCompletionsInputTool = "tool"
)
View Source
const (
	// EnumOfroleForChatCompletionsTextInputSystem is a EnumOfroleForChatCompletionsTextInput enum value
	EnumOfroleForChatCompletionsTextInputSystem = "system"

	// EnumOfroleForChatCompletionsTextInputUser is a EnumOfroleForChatCompletionsTextInput enum value
	EnumOfroleForChatCompletionsTextInputUser = "user"

	// EnumOfroleForChatCompletionsTextInputAssistant is a EnumOfroleForChatCompletionsTextInput enum value
	EnumOfroleForChatCompletionsTextInputAssistant = "assistant"

	// EnumOfroleForChatCompletionsTextInputTool is a EnumOfroleForChatCompletionsTextInput enum value
	EnumOfroleForChatCompletionsTextInputTool = "tool"
)
View Source
const (
	// EnumOfCustomizationTypeForCreateModelCustomizationJobInputFinetuneSft is a EnumOfCustomizationTypeForCreateModelCustomizationJobInput enum value
	EnumOfCustomizationTypeForCreateModelCustomizationJobInputFinetuneSft = "FinetuneSft"

	// EnumOfCustomizationTypeForCreateModelCustomizationJobInputFinetuneLoRa is a EnumOfCustomizationTypeForCreateModelCustomizationJobInput enum value
	EnumOfCustomizationTypeForCreateModelCustomizationJobInputFinetuneLoRa = "FinetuneLoRA"

	// EnumOfCustomizationTypeForCreateModelCustomizationJobInputPretrain is a EnumOfCustomizationTypeForCreateModelCustomizationJobInput enum value
	EnumOfCustomizationTypeForCreateModelCustomizationJobInputPretrain = "Pretrain"

	// EnumOfCustomizationTypeForCreateModelCustomizationJobInputDpoloRa is a EnumOfCustomizationTypeForCreateModelCustomizationJobInput enum value
	EnumOfCustomizationTypeForCreateModelCustomizationJobInputDpoloRa = "DPOLoRA"

	// EnumOfCustomizationTypeForCreateModelCustomizationJobInputDpo is a EnumOfCustomizationTypeForCreateModelCustomizationJobInput enum value
	EnumOfCustomizationTypeForCreateModelCustomizationJobInputDpo = "DPO"
)
View Source
const (
	// EnumOfEncryptionKeyringTypeForCreateModelCustomizationJobInputManagedKeyring is a EnumOfEncryptionKeyringTypeForCreateModelCustomizationJobInput enum value
	EnumOfEncryptionKeyringTypeForCreateModelCustomizationJobInputManagedKeyring = "ManagedKeyring"

	// EnumOfEncryptionKeyringTypeForCreateModelCustomizationJobInputCustomKeyring is a EnumOfEncryptionKeyringTypeForCreateModelCustomizationJobInput enum value
	EnumOfEncryptionKeyringTypeForCreateModelCustomizationJobInputCustomKeyring = "CustomKeyring"
)
View Source
const (
	// EnumOfEncryptionKeyringTypeForGetModelCustomizationJobOutputManagedKeyring is a EnumOfEncryptionKeyringTypeForGetModelCustomizationJobOutput enum value
	EnumOfEncryptionKeyringTypeForGetModelCustomizationJobOutputManagedKeyring = "ManagedKeyring"

	// EnumOfEncryptionKeyringTypeForGetModelCustomizationJobOutputCustomKeyring is a EnumOfEncryptionKeyringTypeForGetModelCustomizationJobOutput enum value
	EnumOfEncryptionKeyringTypeForGetModelCustomizationJobOutputCustomKeyring = "CustomKeyring"
)
View Source
const (
	// EnumOfStatusForGetModelCustomizationJobOutputAvailable is a EnumOfStatusForGetModelCustomizationJobOutput enum value
	EnumOfStatusForGetModelCustomizationJobOutputAvailable = "Available"

	// EnumOfStatusForGetModelCustomizationJobOutputExported is a EnumOfStatusForGetModelCustomizationJobOutput enum value
	EnumOfStatusForGetModelCustomizationJobOutputExported = "Exported"

	// EnumOfStatusForGetModelCustomizationJobOutputExpired is a EnumOfStatusForGetModelCustomizationJobOutput enum value
	EnumOfStatusForGetModelCustomizationJobOutputExpired = "Expired"
)
View Source
const (
	// EnumOfEndpointModelTypeForListEndpointsOutputFoundationModel is a EnumOfEndpointModelTypeForListEndpointsOutput enum value
	EnumOfEndpointModelTypeForListEndpointsOutputFoundationModel = "FoundationModel"

	// EnumOfEndpointModelTypeForListEndpointsOutputCustomModel is a EnumOfEndpointModelTypeForListEndpointsOutput enum value
	EnumOfEndpointModelTypeForListEndpointsOutputCustomModel = "CustomModel"
)
View Source
const (
	// EnumOfEndpointModelTypeListForListEndpointsInputFoundationModel is a EnumOfEndpointModelTypeListForListEndpointsInput enum value
	EnumOfEndpointModelTypeListForListEndpointsInputFoundationModel = "FoundationModel"

	// EnumOfEndpointModelTypeListForListEndpointsInputCustomModel is a EnumOfEndpointModelTypeListForListEndpointsInput enum value
	EnumOfEndpointModelTypeListForListEndpointsInputCustomModel = "CustomModel"
)
View Source
const (
	// EnumOfStatusForListEndpointsOutputRunning is a EnumOfStatusForListEndpointsOutput enum value
	EnumOfStatusForListEndpointsOutputRunning = "Running"

	// EnumOfStatusForListEndpointsOutputScheduling is a EnumOfStatusForListEndpointsOutput enum value
	EnumOfStatusForListEndpointsOutputScheduling = "Scheduling"

	// EnumOfStatusForListEndpointsOutputAbnormal is a EnumOfStatusForListEndpointsOutput enum value
	EnumOfStatusForListEndpointsOutputAbnormal = "Abnormal"

	// EnumOfStatusForListEndpointsOutputStopped is a EnumOfStatusForListEndpointsOutput enum value
	EnumOfStatusForListEndpointsOutputStopped = "Stopped"
)
View Source
const (
	// EnumOfStatusListForListEndpointsInputRunning is a EnumOfStatusListForListEndpointsInput enum value
	EnumOfStatusListForListEndpointsInputRunning = "Running"

	// EnumOfStatusListForListEndpointsInputScheduling is a EnumOfStatusListForListEndpointsInput enum value
	EnumOfStatusListForListEndpointsInputScheduling = "Scheduling"

	// EnumOfStatusListForListEndpointsInputAbnormal is a EnumOfStatusListForListEndpointsInput enum value
	EnumOfStatusListForListEndpointsInputAbnormal = "Abnormal"

	// EnumOfStatusListForListEndpointsInputStopped is a EnumOfStatusListForListEndpointsInput enum value
	EnumOfStatusListForListEndpointsInputStopped = "Stopped"
)
View Source
const (
	// EnumOfCustomizationTypeForListModelCustomizationJobsOutputFinetuneSft is a EnumOfCustomizationTypeForListModelCustomizationJobsOutput enum value
	EnumOfCustomizationTypeForListModelCustomizationJobsOutputFinetuneSft = "FinetuneSft"

	// EnumOfCustomizationTypeForListModelCustomizationJobsOutputFinetuneLoRa is a EnumOfCustomizationTypeForListModelCustomizationJobsOutput enum value
	EnumOfCustomizationTypeForListModelCustomizationJobsOutputFinetuneLoRa = "FinetuneLoRA"

	// EnumOfCustomizationTypeForListModelCustomizationJobsOutputPretrain is a EnumOfCustomizationTypeForListModelCustomizationJobsOutput enum value
	EnumOfCustomizationTypeForListModelCustomizationJobsOutputPretrain = "Pretrain"

	// EnumOfCustomizationTypeForListModelCustomizationJobsOutputDpoloRa is a EnumOfCustomizationTypeForListModelCustomizationJobsOutput enum value
	EnumOfCustomizationTypeForListModelCustomizationJobsOutputDpoloRa = "DPOLoRA"

	// EnumOfCustomizationTypeForListModelCustomizationJobsOutputDpo is a EnumOfCustomizationTypeForListModelCustomizationJobsOutput enum value
	EnumOfCustomizationTypeForListModelCustomizationJobsOutputDpo = "DPO"
)
View Source
const (
	// EnumOfEncryptionKeyringTypeForListModelCustomizationJobsOutputManagedKeyring is a EnumOfEncryptionKeyringTypeForListModelCustomizationJobsOutput enum value
	EnumOfEncryptionKeyringTypeForListModelCustomizationJobsOutputManagedKeyring = "ManagedKeyring"

	// EnumOfEncryptionKeyringTypeForListModelCustomizationJobsOutputCustomKeyring is a EnumOfEncryptionKeyringTypeForListModelCustomizationJobsOutput enum value
	EnumOfEncryptionKeyringTypeForListModelCustomizationJobsOutputCustomKeyring = "CustomKeyring"
)
View Source
const (
	// EnumOfSortOrderForListModelCustomizationJobsInputDesc is a EnumOfSortOrderForListModelCustomizationJobsInput enum value
	EnumOfSortOrderForListModelCustomizationJobsInputDesc = "Desc"

	// EnumOfSortOrderForListModelCustomizationJobsInputAsc is a EnumOfSortOrderForListModelCustomizationJobsInput enum value
	EnumOfSortOrderForListModelCustomizationJobsInputAsc = "Asc"
)
View Source
const (
	// EnumOfStatusForListModelCustomizationJobsOutputAvailable is a EnumOfStatusForListModelCustomizationJobsOutput enum value
	EnumOfStatusForListModelCustomizationJobsOutputAvailable = "Available"

	// EnumOfStatusForListModelCustomizationJobsOutputExported is a EnumOfStatusForListModelCustomizationJobsOutput enum value
	EnumOfStatusForListModelCustomizationJobsOutputExported = "Exported"

	// EnumOfStatusForListModelCustomizationJobsOutputExpired is a EnumOfStatusForListModelCustomizationJobsOutput enum value
	EnumOfStatusForListModelCustomizationJobsOutputExpired = "Expired"
)
View Source
const (
	ServiceName = "ark"       // Name of service.
	EndpointsID = ServiceName // ID to lookup a service endpoint with.
	ServiceID   = "ark"       // ServiceID is a unique identifer of a specific service.
)

Service information constants

View Source
const (
	// EnumOfSortByForListModelCustomizationJobsInputCreateTime is a EnumOfSortByForListModelCustomizationJobsInput enum value
	EnumOfSortByForListModelCustomizationJobsInputCreateTime = "CreateTime"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type ARK

type ARK struct {
	*client.Client
}

ARK provides the API operation methods for making requests to ARK. See this package's package overview docs for details on the service.

ARK methods are safe to use concurrently. It is not safe to modify mutate any of the struct's properties though.

func New

func New(p client.ConfigProvider, cfgs ...*byteplus.Config) *ARK

New create int can support ssl or region locate set

func (*ARK) BatchChatCompletions added in v1.0.7

func (c *ARK) BatchChatCompletions(input *BatchChatCompletionsInput) (*BatchChatCompletionsOutput, error)

BatchChatCompletions API operation for ARK.

Returns bytepluserr.Error for service API and SDK errors. Use runtime type assertions with bytepluserr.Error's Code and Message methods to get detailed information about the error.

See the BYTEPLUS API reference guide for ARK's API operation BatchChatCompletions for usage and error information.

func (*ARK) BatchChatCompletionsCommon added in v1.0.7

func (c *ARK) BatchChatCompletionsCommon(input *map[string]interface{}) (*map[string]interface{}, error)

BatchChatCompletionsCommon API operation for ARK.

Returns bytepluserr.Error for service API and SDK errors. Use runtime type assertions with bytepluserr.Error's Code and Message methods to get detailed information about the error.

See the BYTEPLUS API reference guide for ARK's API operation BatchChatCompletionsCommon for usage and error information.

func (*ARK) BatchChatCompletionsCommonRequest added in v1.0.7

func (c *ARK) BatchChatCompletionsCommonRequest(input *map[string]interface{}) (req *request.Request, output *map[string]interface{})

BatchChatCompletionsCommonRequest generates a "byteplus/request.Request" representing the client's request for the BatchChatCompletionsCommon operation. The "output" return value will be populated with the BatchChatCompletionsCommon request's response once the request completes successfully.

Use "Send" method on the returned BatchChatCompletionsCommon Request to send the API call to the service. the "output" return value is not valid until after BatchChatCompletionsCommon Send returns without error.

See BatchChatCompletionsCommon for more information on using the BatchChatCompletionsCommon API call, and error handling.

// Example sending a request using the BatchChatCompletionsCommonRequest method.
req, resp := client.BatchChatCompletionsCommonRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

func (*ARK) BatchChatCompletionsCommonWithContext added in v1.0.7

func (c *ARK) BatchChatCompletionsCommonWithContext(ctx byteplus.Context, input *map[string]interface{}, opts ...request.Option) (*map[string]interface{}, error)

BatchChatCompletionsCommonWithContext is the same as BatchChatCompletionsCommon with the addition of the ability to pass a context and additional request options.

See BatchChatCompletionsCommon for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*ARK) BatchChatCompletionsRequest added in v1.0.7

func (c *ARK) BatchChatCompletionsRequest(input *BatchChatCompletionsInput) (req *request.Request, output *BatchChatCompletionsOutput)

BatchChatCompletionsRequest generates a "byteplus/request.Request" representing the client's request for the BatchChatCompletions operation. The "output" return value will be populated with the BatchChatCompletionsCommon request's response once the request completes successfully.

Use "Send" method on the returned BatchChatCompletionsCommon Request to send the API call to the service. the "output" return value is not valid until after BatchChatCompletionsCommon Send returns without error.

See BatchChatCompletions for more information on using the BatchChatCompletions API call, and error handling.

// Example sending a request using the BatchChatCompletionsRequest method.
req, resp := client.BatchChatCompletionsRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

func (*ARK) BatchChatCompletionsWithContext added in v1.0.7

func (c *ARK) BatchChatCompletionsWithContext(ctx byteplus.Context, input *BatchChatCompletionsInput, opts ...request.Option) (*BatchChatCompletionsOutput, error)

BatchChatCompletionsWithContext is the same as BatchChatCompletions with the addition of the ability to pass a context and additional request options.

See BatchChatCompletions for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. Ifthe context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*ARK) BotsChatCompletions added in v1.0.7

func (c *ARK) BotsChatCompletions(input *BotsChatCompletionsInput) (*BotsChatCompletionsOutput, error)

BotsChatCompletions API operation for ARK.

Returns bytepluserr.Error for service API and SDK errors. Use runtime type assertions with bytepluserr.Error's Code and Message methods to get detailed information about the error.

See the BYTEPLUS API reference guide for ARK's API operation BotsChatCompletions for usage and error information.

func (*ARK) BotsChatCompletionsCommon added in v1.0.7

func (c *ARK) BotsChatCompletionsCommon(input *map[string]interface{}) (*map[string]interface{}, error)

BotsChatCompletionsCommon API operation for ARK.

Returns bytepluserr.Error for service API and SDK errors. Use runtime type assertions with bytepluserr.Error's Code and Message methods to get detailed information about the error.

See the BYTEPLUS API reference guide for ARK's API operation BotsChatCompletionsCommon for usage and error information.

func (*ARK) BotsChatCompletionsCommonRequest added in v1.0.7

func (c *ARK) BotsChatCompletionsCommonRequest(input *map[string]interface{}) (req *request.Request, output *map[string]interface{})

BotsChatCompletionsCommonRequest generates a "byteplus/request.Request" representing the client's request for the BotsChatCompletionsCommon operation. The "output" return value will be populated with the BotsChatCompletionsCommon request's response once the request completes successfully.

Use "Send" method on the returned BotsChatCompletionsCommon Request to send the API call to the service. the "output" return value is not valid until after BotsChatCompletionsCommon Send returns without error.

See BotsChatCompletionsCommon for more information on using the BotsChatCompletionsCommon API call, and error handling.

// Example sending a request using the BotsChatCompletionsCommonRequest method.
req, resp := client.BotsChatCompletionsCommonRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

func (*ARK) BotsChatCompletionsCommonWithContext added in v1.0.7

func (c *ARK) BotsChatCompletionsCommonWithContext(ctx byteplus.Context, input *map[string]interface{}, opts ...request.Option) (*map[string]interface{}, error)

BotsChatCompletionsCommonWithContext is the same as BotsChatCompletionsCommon with the addition of the ability to pass a context and additional request options.

See BotsChatCompletionsCommon for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*ARK) BotsChatCompletionsRequest added in v1.0.7

func (c *ARK) BotsChatCompletionsRequest(input *BotsChatCompletionsInput) (req *request.Request, output *BotsChatCompletionsOutput)

BotsChatCompletionsRequest generates a "byteplus/request.Request" representing the client's request for the BotsChatCompletions operation. The "output" return value will be populated with the BotsChatCompletionsCommon request's response once the request completes successfully.

Use "Send" method on the returned BotsChatCompletionsCommon Request to send the API call to the service. the "output" return value is not valid until after BotsChatCompletionsCommon Send returns without error.

See BotsChatCompletions for more information on using the BotsChatCompletions API call, and error handling.

// Example sending a request using the BotsChatCompletionsRequest method.
req, resp := client.BotsChatCompletionsRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

func (*ARK) BotsChatCompletionsWithContext added in v1.0.7

func (c *ARK) BotsChatCompletionsWithContext(ctx byteplus.Context, input *BotsChatCompletionsInput, opts ...request.Option) (*BotsChatCompletionsOutput, error)

BotsChatCompletionsWithContext is the same as BotsChatCompletions with the addition of the ability to pass a context and additional request options.

See BotsChatCompletions for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. Ifthe context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*ARK) ChatCompletionsText added in v1.0.7

func (c *ARK) ChatCompletionsText(input *ChatCompletionsTextInput) (*ChatCompletionsTextOutput, error)

ChatCompletionsText API operation for ARK.

Returns bytepluserr.Error for service API and SDK errors. Use runtime type assertions with bytepluserr.Error's Code and Message methods to get detailed information about the error.

See the BYTEPLUS API reference guide for ARK's API operation ChatCompletionsText for usage and error information.

func (*ARK) ChatCompletionsTextCommon added in v1.0.7

func (c *ARK) ChatCompletionsTextCommon(input *map[string]interface{}) (*map[string]interface{}, error)

ChatCompletionsTextCommon API operation for ARK.

Returns bytepluserr.Error for service API and SDK errors. Use runtime type assertions with bytepluserr.Error's Code and Message methods to get detailed information about the error.

See the BYTEPLUS API reference guide for ARK's API operation ChatCompletionsTextCommon for usage and error information.

func (*ARK) ChatCompletionsTextCommonRequest added in v1.0.7

func (c *ARK) ChatCompletionsTextCommonRequest(input *map[string]interface{}) (req *request.Request, output *map[string]interface{})

ChatCompletionsTextCommonRequest generates a "byteplus/request.Request" representing the client's request for the ChatCompletionsTextCommon operation. The "output" return value will be populated with the ChatCompletionsTextCommon request's response once the request completes successfully.

Use "Send" method on the returned ChatCompletionsTextCommon Request to send the API call to the service. the "output" return value is not valid until after ChatCompletionsTextCommon Send returns without error.

See ChatCompletionsTextCommon for more information on using the ChatCompletionsTextCommon API call, and error handling.

// Example sending a request using the ChatCompletionsTextCommonRequest method.
req, resp := client.ChatCompletionsTextCommonRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

func (*ARK) ChatCompletionsTextCommonWithContext added in v1.0.7

func (c *ARK) ChatCompletionsTextCommonWithContext(ctx byteplus.Context, input *map[string]interface{}, opts ...request.Option) (*map[string]interface{}, error)

ChatCompletionsTextCommonWithContext is the same as ChatCompletionsTextCommon with the addition of the ability to pass a context and additional request options.

See ChatCompletionsTextCommon for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*ARK) ChatCompletionsTextRequest added in v1.0.7

func (c *ARK) ChatCompletionsTextRequest(input *ChatCompletionsTextInput) (req *request.Request, output *ChatCompletionsTextOutput)

ChatCompletionsTextRequest generates a "byteplus/request.Request" representing the client's request for the ChatCompletionsText operation. The "output" return value will be populated with the ChatCompletionsTextCommon request's response once the request completes successfully.

Use "Send" method on the returned ChatCompletionsTextCommon Request to send the API call to the service. the "output" return value is not valid until after ChatCompletionsTextCommon Send returns without error.

See ChatCompletionsText for more information on using the ChatCompletionsText API call, and error handling.

// Example sending a request using the ChatCompletionsTextRequest method.
req, resp := client.ChatCompletionsTextRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

func (*ARK) ChatCompletionsTextWithContext added in v1.0.7

func (c *ARK) ChatCompletionsTextWithContext(ctx byteplus.Context, input *ChatCompletionsTextInput, opts ...request.Option) (*ChatCompletionsTextOutput, error)

ChatCompletionsTextWithContext is the same as ChatCompletionsText with the addition of the ability to pass a context and additional request options.

See ChatCompletionsText for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. Ifthe context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*ARK) ChatCompletionsVision added in v1.0.7

func (c *ARK) ChatCompletionsVision(input *ChatCompletionsVisionInput) (*ChatCompletionsVisionOutput, error)

ChatCompletionsVision API operation for ARK.

Returns bytepluserr.Error for service API and SDK errors. Use runtime type assertions with bytepluserr.Error's Code and Message methods to get detailed information about the error.

See the BYTEPLUS API reference guide for ARK's API operation ChatCompletionsVision for usage and error information.

func (*ARK) ChatCompletionsVisionCommon added in v1.0.7

func (c *ARK) ChatCompletionsVisionCommon(input *map[string]interface{}) (*map[string]interface{}, error)

ChatCompletionsVisionCommon API operation for ARK.

Returns bytepluserr.Error for service API and SDK errors. Use runtime type assertions with bytepluserr.Error's Code and Message methods to get detailed information about the error.

See the BYTEPLUS API reference guide for ARK's API operation ChatCompletionsVisionCommon for usage and error information.

func (*ARK) ChatCompletionsVisionCommonRequest added in v1.0.7

func (c *ARK) ChatCompletionsVisionCommonRequest(input *map[string]interface{}) (req *request.Request, output *map[string]interface{})

ChatCompletionsVisionCommonRequest generates a "byteplus/request.Request" representing the client's request for the ChatCompletionsVisionCommon operation. The "output" return value will be populated with the ChatCompletionsVisionCommon request's response once the request completes successfully.

Use "Send" method on the returned ChatCompletionsVisionCommon Request to send the API call to the service. the "output" return value is not valid until after ChatCompletionsVisionCommon Send returns without error.

See ChatCompletionsVisionCommon for more information on using the ChatCompletionsVisionCommon API call, and error handling.

// Example sending a request using the ChatCompletionsVisionCommonRequest method.
req, resp := client.ChatCompletionsVisionCommonRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

func (*ARK) ChatCompletionsVisionCommonWithContext added in v1.0.7

func (c *ARK) ChatCompletionsVisionCommonWithContext(ctx byteplus.Context, input *map[string]interface{}, opts ...request.Option) (*map[string]interface{}, error)

ChatCompletionsVisionCommonWithContext is the same as ChatCompletionsVisionCommon with the addition of the ability to pass a context and additional request options.

See ChatCompletionsVisionCommon for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*ARK) ChatCompletionsVisionRequest added in v1.0.7

func (c *ARK) ChatCompletionsVisionRequest(input *ChatCompletionsVisionInput) (req *request.Request, output *ChatCompletionsVisionOutput)

ChatCompletionsVisionRequest generates a "byteplus/request.Request" representing the client's request for the ChatCompletionsVision operation. The "output" return value will be populated with the ChatCompletionsVisionCommon request's response once the request completes successfully.

Use "Send" method on the returned ChatCompletionsVisionCommon Request to send the API call to the service. the "output" return value is not valid until after ChatCompletionsVisionCommon Send returns without error.

See ChatCompletionsVision for more information on using the ChatCompletionsVision API call, and error handling.

// Example sending a request using the ChatCompletionsVisionRequest method.
req, resp := client.ChatCompletionsVisionRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

func (*ARK) ChatCompletionsVisionWithContext added in v1.0.7

func (c *ARK) ChatCompletionsVisionWithContext(ctx byteplus.Context, input *ChatCompletionsVisionInput, opts ...request.Option) (*ChatCompletionsVisionOutput, error)

ChatCompletionsVisionWithContext is the same as ChatCompletionsVision with the addition of the ability to pass a context and additional request options.

See ChatCompletionsVision for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. Ifthe context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*ARK) ContextChatCompletions added in v1.0.7

func (c *ARK) ContextChatCompletions(input *ContextChatCompletionsInput) (*ContextChatCompletionsOutput, error)

ContextChatCompletions API operation for ARK.

Returns bytepluserr.Error for service API and SDK errors. Use runtime type assertions with bytepluserr.Error's Code and Message methods to get detailed information about the error.

See the BYTEPLUS API reference guide for ARK's API operation ContextChatCompletions for usage and error information.

func (*ARK) ContextChatCompletionsCommon added in v1.0.7

func (c *ARK) ContextChatCompletionsCommon(input *map[string]interface{}) (*map[string]interface{}, error)

ContextChatCompletionsCommon API operation for ARK.

Returns bytepluserr.Error for service API and SDK errors. Use runtime type assertions with bytepluserr.Error's Code and Message methods to get detailed information about the error.

See the BYTEPLUS API reference guide for ARK's API operation ContextChatCompletionsCommon for usage and error information.

func (*ARK) ContextChatCompletionsCommonRequest added in v1.0.7

func (c *ARK) ContextChatCompletionsCommonRequest(input *map[string]interface{}) (req *request.Request, output *map[string]interface{})

ContextChatCompletionsCommonRequest generates a "byteplus/request.Request" representing the client's request for the ContextChatCompletionsCommon operation. The "output" return value will be populated with the ContextChatCompletionsCommon request's response once the request completes successfully.

Use "Send" method on the returned ContextChatCompletionsCommon Request to send the API call to the service. the "output" return value is not valid until after ContextChatCompletionsCommon Send returns without error.

See ContextChatCompletionsCommon for more information on using the ContextChatCompletionsCommon API call, and error handling.

// Example sending a request using the ContextChatCompletionsCommonRequest method.
req, resp := client.ContextChatCompletionsCommonRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

func (*ARK) ContextChatCompletionsCommonWithContext added in v1.0.7

func (c *ARK) ContextChatCompletionsCommonWithContext(ctx byteplus.Context, input *map[string]interface{}, opts ...request.Option) (*map[string]interface{}, error)

ContextChatCompletionsCommonWithContext is the same as ContextChatCompletionsCommon with the addition of the ability to pass a context and additional request options.

See ContextChatCompletionsCommon for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*ARK) ContextChatCompletionsRequest added in v1.0.7

func (c *ARK) ContextChatCompletionsRequest(input *ContextChatCompletionsInput) (req *request.Request, output *ContextChatCompletionsOutput)

ContextChatCompletionsRequest generates a "byteplus/request.Request" representing the client's request for the ContextChatCompletions operation. The "output" return value will be populated with the ContextChatCompletionsCommon request's response once the request completes successfully.

Use "Send" method on the returned ContextChatCompletionsCommon Request to send the API call to the service. the "output" return value is not valid until after ContextChatCompletionsCommon Send returns without error.

See ContextChatCompletions for more information on using the ContextChatCompletions API call, and error handling.

// Example sending a request using the ContextChatCompletionsRequest method.
req, resp := client.ContextChatCompletionsRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

func (*ARK) ContextChatCompletionsWithContext added in v1.0.7

func (c *ARK) ContextChatCompletionsWithContext(ctx byteplus.Context, input *ContextChatCompletionsInput, opts ...request.Option) (*ContextChatCompletionsOutput, error)

ContextChatCompletionsWithContext is the same as ContextChatCompletions with the addition of the ability to pass a context and additional request options.

See ContextChatCompletions for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. Ifthe context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*ARK) ContextCreate added in v1.0.7

func (c *ARK) ContextCreate(input *ContextCreateInput) (*ContextCreateOutput, error)

ContextCreate API operation for ARK.

Returns bytepluserr.Error for service API and SDK errors. Use runtime type assertions with bytepluserr.Error's Code and Message methods to get detailed information about the error.

See the BYTEPLUS API reference guide for ARK's API operation ContextCreate for usage and error information.

func (*ARK) ContextCreateCommon added in v1.0.7

func (c *ARK) ContextCreateCommon(input *map[string]interface{}) (*map[string]interface{}, error)

ContextCreateCommon API operation for ARK.

Returns bytepluserr.Error for service API and SDK errors. Use runtime type assertions with bytepluserr.Error's Code and Message methods to get detailed information about the error.

See the BYTEPLUS API reference guide for ARK's API operation ContextCreateCommon for usage and error information.

func (*ARK) ContextCreateCommonRequest added in v1.0.7

func (c *ARK) ContextCreateCommonRequest(input *map[string]interface{}) (req *request.Request, output *map[string]interface{})

ContextCreateCommonRequest generates a "byteplus/request.Request" representing the client's request for the ContextCreateCommon operation. The "output" return value will be populated with the ContextCreateCommon request's response once the request completes successfully.

Use "Send" method on the returned ContextCreateCommon Request to send the API call to the service. the "output" return value is not valid until after ContextCreateCommon Send returns without error.

See ContextCreateCommon for more information on using the ContextCreateCommon API call, and error handling.

// Example sending a request using the ContextCreateCommonRequest method.
req, resp := client.ContextCreateCommonRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

func (*ARK) ContextCreateCommonWithContext added in v1.0.7

func (c *ARK) ContextCreateCommonWithContext(ctx byteplus.Context, input *map[string]interface{}, opts ...request.Option) (*map[string]interface{}, error)

ContextCreateCommonWithContext is the same as ContextCreateCommon with the addition of the ability to pass a context and additional request options.

See ContextCreateCommon for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*ARK) ContextCreateRequest added in v1.0.7

func (c *ARK) ContextCreateRequest(input *ContextCreateInput) (req *request.Request, output *ContextCreateOutput)

ContextCreateRequest generates a "byteplus/request.Request" representing the client's request for the ContextCreate operation. The "output" return value will be populated with the ContextCreateCommon request's response once the request completes successfully.

Use "Send" method on the returned ContextCreateCommon Request to send the API call to the service. the "output" return value is not valid until after ContextCreateCommon Send returns without error.

See ContextCreate for more information on using the ContextCreate API call, and error handling.

// Example sending a request using the ContextCreateRequest method.
req, resp := client.ContextCreateRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

func (*ARK) ContextCreateWithContext added in v1.0.7

func (c *ARK) ContextCreateWithContext(ctx byteplus.Context, input *ContextCreateInput, opts ...request.Option) (*ContextCreateOutput, error)

ContextCreateWithContext is the same as ContextCreate with the addition of the ability to pass a context and additional request options.

See ContextCreate for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. Ifthe context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*ARK) CreateBatchInferenceJob

func (c *ARK) CreateBatchInferenceJob(input *CreateBatchInferenceJobInput) (*CreateBatchInferenceJobOutput, error)

CreateBatchInferenceJob API operation for ARK.

Returns bytepluserr.Error for service API and SDK errors. Use runtime type assertions with bytepluserr.Error's Code and Message methods to get detailed information about the error.

See the BYTEPLUS API reference guide for ARK's API operation CreateBatchInferenceJob for usage and error information.

func (*ARK) CreateBatchInferenceJobCommon

func (c *ARK) CreateBatchInferenceJobCommon(input *map[string]interface{}) (*map[string]interface{}, error)

CreateBatchInferenceJobCommon API operation for ARK.

Returns bytepluserr.Error for service API and SDK errors. Use runtime type assertions with bytepluserr.Error's Code and Message methods to get detailed information about the error.

See the BYTEPLUS API reference guide for ARK's API operation CreateBatchInferenceJobCommon for usage and error information.

func (*ARK) CreateBatchInferenceJobCommonRequest

func (c *ARK) CreateBatchInferenceJobCommonRequest(input *map[string]interface{}) (req *request.Request, output *map[string]interface{})

CreateBatchInferenceJobCommonRequest generates a "byteplus/request.Request" representing the client's request for the CreateBatchInferenceJobCommon operation. The "output" return value will be populated with the CreateBatchInferenceJobCommon request's response once the request completes successfully.

Use "Send" method on the returned CreateBatchInferenceJobCommon Request to send the API call to the service. the "output" return value is not valid until after CreateBatchInferenceJobCommon Send returns without error.

See CreateBatchInferenceJobCommon for more information on using the CreateBatchInferenceJobCommon API call, and error handling.

// Example sending a request using the CreateBatchInferenceJobCommonRequest method.
req, resp := client.CreateBatchInferenceJobCommonRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

func (*ARK) CreateBatchInferenceJobCommonWithContext

func (c *ARK) CreateBatchInferenceJobCommonWithContext(ctx byteplus.Context, input *map[string]interface{}, opts ...request.Option) (*map[string]interface{}, error)

CreateBatchInferenceJobCommonWithContext is the same as CreateBatchInferenceJobCommon with the addition of the ability to pass a context and additional request options.

See CreateBatchInferenceJobCommon for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*ARK) CreateBatchInferenceJobRequest

func (c *ARK) CreateBatchInferenceJobRequest(input *CreateBatchInferenceJobInput) (req *request.Request, output *CreateBatchInferenceJobOutput)

CreateBatchInferenceJobRequest generates a "byteplus/request.Request" representing the client's request for the CreateBatchInferenceJob operation. The "output" return value will be populated with the CreateBatchInferenceJobCommon request's response once the request completes successfully.

Use "Send" method on the returned CreateBatchInferenceJobCommon Request to send the API call to the service. the "output" return value is not valid until after CreateBatchInferenceJobCommon Send returns without error.

See CreateBatchInferenceJob for more information on using the CreateBatchInferenceJob API call, and error handling.

// Example sending a request using the CreateBatchInferenceJobRequest method.
req, resp := client.CreateBatchInferenceJobRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

func (*ARK) CreateBatchInferenceJobWithContext

func (c *ARK) CreateBatchInferenceJobWithContext(ctx byteplus.Context, input *CreateBatchInferenceJobInput, opts ...request.Option) (*CreateBatchInferenceJobOutput, error)

CreateBatchInferenceJobWithContext is the same as CreateBatchInferenceJob with the addition of the ability to pass a context and additional request options.

See CreateBatchInferenceJob for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. Ifthe context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*ARK) CreateContentsGenerationsTasks added in v1.0.7

func (c *ARK) CreateContentsGenerationsTasks(input *CreateContentsGenerationsTasksInput) (*CreateContentsGenerationsTasksOutput, error)

CreateContentsGenerationsTasks API operation for ARK.

Returns bytepluserr.Error for service API and SDK errors. Use runtime type assertions with bytepluserr.Error's Code and Message methods to get detailed information about the error.

See the BYTEPLUS API reference guide for ARK's API operation CreateContentsGenerationsTasks for usage and error information.

func (*ARK) CreateContentsGenerationsTasksCommon added in v1.0.7

func (c *ARK) CreateContentsGenerationsTasksCommon(input *map[string]interface{}) (*map[string]interface{}, error)

CreateContentsGenerationsTasksCommon API operation for ARK.

Returns bytepluserr.Error for service API and SDK errors. Use runtime type assertions with bytepluserr.Error's Code and Message methods to get detailed information about the error.

See the BYTEPLUS API reference guide for ARK's API operation CreateContentsGenerationsTasksCommon for usage and error information.

func (*ARK) CreateContentsGenerationsTasksCommonRequest added in v1.0.7

func (c *ARK) CreateContentsGenerationsTasksCommonRequest(input *map[string]interface{}) (req *request.Request, output *map[string]interface{})

CreateContentsGenerationsTasksCommonRequest generates a "byteplus/request.Request" representing the client's request for the CreateContentsGenerationsTasksCommon operation. The "output" return value will be populated with the CreateContentsGenerationsTasksCommon request's response once the request completes successfully.

Use "Send" method on the returned CreateContentsGenerationsTasksCommon Request to send the API call to the service. the "output" return value is not valid until after CreateContentsGenerationsTasksCommon Send returns without error.

See CreateContentsGenerationsTasksCommon for more information on using the CreateContentsGenerationsTasksCommon API call, and error handling.

// Example sending a request using the CreateContentsGenerationsTasksCommonRequest method.
req, resp := client.CreateContentsGenerationsTasksCommonRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

func (*ARK) CreateContentsGenerationsTasksCommonWithContext added in v1.0.7

func (c *ARK) CreateContentsGenerationsTasksCommonWithContext(ctx byteplus.Context, input *map[string]interface{}, opts ...request.Option) (*map[string]interface{}, error)

CreateContentsGenerationsTasksCommonWithContext is the same as CreateContentsGenerationsTasksCommon with the addition of the ability to pass a context and additional request options.

See CreateContentsGenerationsTasksCommon for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*ARK) CreateContentsGenerationsTasksRequest added in v1.0.7

func (c *ARK) CreateContentsGenerationsTasksRequest(input *CreateContentsGenerationsTasksInput) (req *request.Request, output *CreateContentsGenerationsTasksOutput)

CreateContentsGenerationsTasksRequest generates a "byteplus/request.Request" representing the client's request for the CreateContentsGenerationsTasks operation. The "output" return value will be populated with the CreateContentsGenerationsTasksCommon request's response once the request completes successfully.

Use "Send" method on the returned CreateContentsGenerationsTasksCommon Request to send the API call to the service. the "output" return value is not valid until after CreateContentsGenerationsTasksCommon Send returns without error.

See CreateContentsGenerationsTasks for more information on using the CreateContentsGenerationsTasks API call, and error handling.

// Example sending a request using the CreateContentsGenerationsTasksRequest method.
req, resp := client.CreateContentsGenerationsTasksRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

func (*ARK) CreateContentsGenerationsTasksWithContext added in v1.0.7

func (c *ARK) CreateContentsGenerationsTasksWithContext(ctx byteplus.Context, input *CreateContentsGenerationsTasksInput, opts ...request.Option) (*CreateContentsGenerationsTasksOutput, error)

CreateContentsGenerationsTasksWithContext is the same as CreateContentsGenerationsTasks with the addition of the ability to pass a context and additional request options.

See CreateContentsGenerationsTasks for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. Ifthe context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*ARK) CreateEndpoint

func (c *ARK) CreateEndpoint(input *CreateEndpointInput) (*CreateEndpointOutput, error)

CreateEndpoint API operation for ARK.

Returns bytepluserr.Error for service API and SDK errors. Use runtime type assertions with bytepluserr.Error's Code and Message methods to get detailed information about the error.

See the BYTEPLUS API reference guide for ARK's API operation CreateEndpoint for usage and error information.

func (*ARK) CreateEndpointCommon

func (c *ARK) CreateEndpointCommon(input *map[string]interface{}) (*map[string]interface{}, error)

CreateEndpointCommon API operation for ARK.

Returns bytepluserr.Error for service API and SDK errors. Use runtime type assertions with bytepluserr.Error's Code and Message methods to get detailed information about the error.

See the BYTEPLUS API reference guide for ARK's API operation CreateEndpointCommon for usage and error information.

func (*ARK) CreateEndpointCommonRequest

func (c *ARK) CreateEndpointCommonRequest(input *map[string]interface{}) (req *request.Request, output *map[string]interface{})

CreateEndpointCommonRequest generates a "byteplus/request.Request" representing the client's request for the CreateEndpointCommon operation. The "output" return value will be populated with the CreateEndpointCommon request's response once the request completes successfully.

Use "Send" method on the returned CreateEndpointCommon Request to send the API call to the service. the "output" return value is not valid until after CreateEndpointCommon Send returns without error.

See CreateEndpointCommon for more information on using the CreateEndpointCommon API call, and error handling.

// Example sending a request using the CreateEndpointCommonRequest method.
req, resp := client.CreateEndpointCommonRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

func (*ARK) CreateEndpointCommonWithContext

func (c *ARK) CreateEndpointCommonWithContext(ctx byteplus.Context, input *map[string]interface{}, opts ...request.Option) (*map[string]interface{}, error)

CreateEndpointCommonWithContext is the same as CreateEndpointCommon with the addition of the ability to pass a context and additional request options.

See CreateEndpointCommon for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*ARK) CreateEndpointRequest

func (c *ARK) CreateEndpointRequest(input *CreateEndpointInput) (req *request.Request, output *CreateEndpointOutput)

CreateEndpointRequest generates a "byteplus/request.Request" representing the client's request for the CreateEndpoint operation. The "output" return value will be populated with the CreateEndpointCommon request's response once the request completes successfully.

Use "Send" method on the returned CreateEndpointCommon Request to send the API call to the service. the "output" return value is not valid until after CreateEndpointCommon Send returns without error.

See CreateEndpoint for more information on using the CreateEndpoint API call, and error handling.

// Example sending a request using the CreateEndpointRequest method.
req, resp := client.CreateEndpointRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

func (*ARK) CreateEndpointWithContext

func (c *ARK) CreateEndpointWithContext(ctx byteplus.Context, input *CreateEndpointInput, opts ...request.Option) (*CreateEndpointOutput, error)

CreateEndpointWithContext is the same as CreateEndpoint with the addition of the ability to pass a context and additional request options.

See CreateEndpoint for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. Ifthe context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*ARK) CreateModelCustomizationJob

func (c *ARK) CreateModelCustomizationJob(input *CreateModelCustomizationJobInput) (*CreateModelCustomizationJobOutput, error)

CreateModelCustomizationJob API operation for ARK.

Returns bytepluserr.Error for service API and SDK errors. Use runtime type assertions with bytepluserr.Error's Code and Message methods to get detailed information about the error.

See the BYTEPLUS API reference guide for ARK's API operation CreateModelCustomizationJob for usage and error information.

func (*ARK) CreateModelCustomizationJobCommon

func (c *ARK) CreateModelCustomizationJobCommon(input *map[string]interface{}) (*map[string]interface{}, error)

CreateModelCustomizationJobCommon API operation for ARK.

Returns bytepluserr.Error for service API and SDK errors. Use runtime type assertions with bytepluserr.Error's Code and Message methods to get detailed information about the error.

See the BYTEPLUS API reference guide for ARK's API operation CreateModelCustomizationJobCommon for usage and error information.

func (*ARK) CreateModelCustomizationJobCommonRequest

func (c *ARK) CreateModelCustomizationJobCommonRequest(input *map[string]interface{}) (req *request.Request, output *map[string]interface{})

CreateModelCustomizationJobCommonRequest generates a "byteplus/request.Request" representing the client's request for the CreateModelCustomizationJobCommon operation. The "output" return value will be populated with the CreateModelCustomizationJobCommon request's response once the request completes successfully.

Use "Send" method on the returned CreateModelCustomizationJobCommon Request to send the API call to the service. the "output" return value is not valid until after CreateModelCustomizationJobCommon Send returns without error.

See CreateModelCustomizationJobCommon for more information on using the CreateModelCustomizationJobCommon API call, and error handling.

// Example sending a request using the CreateModelCustomizationJobCommonRequest method.
req, resp := client.CreateModelCustomizationJobCommonRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

func (*ARK) CreateModelCustomizationJobCommonWithContext

func (c *ARK) CreateModelCustomizationJobCommonWithContext(ctx byteplus.Context, input *map[string]interface{}, opts ...request.Option) (*map[string]interface{}, error)

CreateModelCustomizationJobCommonWithContext is the same as CreateModelCustomizationJobCommon with the addition of the ability to pass a context and additional request options.

See CreateModelCustomizationJobCommon for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*ARK) CreateModelCustomizationJobRequest

func (c *ARK) CreateModelCustomizationJobRequest(input *CreateModelCustomizationJobInput) (req *request.Request, output *CreateModelCustomizationJobOutput)

CreateModelCustomizationJobRequest generates a "byteplus/request.Request" representing the client's request for the CreateModelCustomizationJob operation. The "output" return value will be populated with the CreateModelCustomizationJobCommon request's response once the request completes successfully.

Use "Send" method on the returned CreateModelCustomizationJobCommon Request to send the API call to the service. the "output" return value is not valid until after CreateModelCustomizationJobCommon Send returns without error.

See CreateModelCustomizationJob for more information on using the CreateModelCustomizationJob API call, and error handling.

// Example sending a request using the CreateModelCustomizationJobRequest method.
req, resp := client.CreateModelCustomizationJobRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

func (*ARK) CreateModelCustomizationJobWithContext

func (c *ARK) CreateModelCustomizationJobWithContext(ctx byteplus.Context, input *CreateModelCustomizationJobInput, opts ...request.Option) (*CreateModelCustomizationJobOutput, error)

CreateModelCustomizationJobWithContext is the same as CreateModelCustomizationJob with the addition of the ability to pass a context and additional request options.

See CreateModelCustomizationJob for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. Ifthe context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*ARK) DeleteEndpoint

func (c *ARK) DeleteEndpoint(input *DeleteEndpointInput) (*DeleteEndpointOutput, error)

DeleteEndpoint API operation for ARK.

Returns bytepluserr.Error for service API and SDK errors. Use runtime type assertions with bytepluserr.Error's Code and Message methods to get detailed information about the error.

See the BYTEPLUS API reference guide for ARK's API operation DeleteEndpoint for usage and error information.

func (*ARK) DeleteEndpointCommon

func (c *ARK) DeleteEndpointCommon(input *map[string]interface{}) (*map[string]interface{}, error)

DeleteEndpointCommon API operation for ARK.

Returns bytepluserr.Error for service API and SDK errors. Use runtime type assertions with bytepluserr.Error's Code and Message methods to get detailed information about the error.

See the BYTEPLUS API reference guide for ARK's API operation DeleteEndpointCommon for usage and error information.

func (*ARK) DeleteEndpointCommonRequest

func (c *ARK) DeleteEndpointCommonRequest(input *map[string]interface{}) (req *request.Request, output *map[string]interface{})

DeleteEndpointCommonRequest generates a "byteplus/request.Request" representing the client's request for the DeleteEndpointCommon operation. The "output" return value will be populated with the DeleteEndpointCommon request's response once the request completes successfully.

Use "Send" method on the returned DeleteEndpointCommon Request to send the API call to the service. the "output" return value is not valid until after DeleteEndpointCommon Send returns without error.

See DeleteEndpointCommon for more information on using the DeleteEndpointCommon API call, and error handling.

// Example sending a request using the DeleteEndpointCommonRequest method.
req, resp := client.DeleteEndpointCommonRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

func (*ARK) DeleteEndpointCommonWithContext

func (c *ARK) DeleteEndpointCommonWithContext(ctx byteplus.Context, input *map[string]interface{}, opts ...request.Option) (*map[string]interface{}, error)

DeleteEndpointCommonWithContext is the same as DeleteEndpointCommon with the addition of the ability to pass a context and additional request options.

See DeleteEndpointCommon for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*ARK) DeleteEndpointRequest

func (c *ARK) DeleteEndpointRequest(input *DeleteEndpointInput) (req *request.Request, output *DeleteEndpointOutput)

DeleteEndpointRequest generates a "byteplus/request.Request" representing the client's request for the DeleteEndpoint operation. The "output" return value will be populated with the DeleteEndpointCommon request's response once the request completes successfully.

Use "Send" method on the returned DeleteEndpointCommon Request to send the API call to the service. the "output" return value is not valid until after DeleteEndpointCommon Send returns without error.

See DeleteEndpoint for more information on using the DeleteEndpoint API call, and error handling.

// Example sending a request using the DeleteEndpointRequest method.
req, resp := client.DeleteEndpointRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

func (*ARK) DeleteEndpointWithContext

func (c *ARK) DeleteEndpointWithContext(ctx byteplus.Context, input *DeleteEndpointInput, opts ...request.Option) (*DeleteEndpointOutput, error)

DeleteEndpointWithContext is the same as DeleteEndpoint with the addition of the ability to pass a context and additional request options.

See DeleteEndpoint for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. Ifthe context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*ARK) Embeddings added in v1.0.7

func (c *ARK) Embeddings(input *EmbeddingsInput) (*EmbeddingsOutput, error)

Embeddings API operation for ARK.

Returns bytepluserr.Error for service API and SDK errors. Use runtime type assertions with bytepluserr.Error's Code and Message methods to get detailed information about the error.

See the BYTEPLUS API reference guide for ARK's API operation Embeddings for usage and error information.

func (*ARK) EmbeddingsCommon added in v1.0.7

func (c *ARK) EmbeddingsCommon(input *map[string]interface{}) (*map[string]interface{}, error)

EmbeddingsCommon API operation for ARK.

Returns bytepluserr.Error for service API and SDK errors. Use runtime type assertions with bytepluserr.Error's Code and Message methods to get detailed information about the error.

See the BYTEPLUS API reference guide for ARK's API operation EmbeddingsCommon for usage and error information.

func (*ARK) EmbeddingsCommonRequest added in v1.0.7

func (c *ARK) EmbeddingsCommonRequest(input *map[string]interface{}) (req *request.Request, output *map[string]interface{})

EmbeddingsCommonRequest generates a "byteplus/request.Request" representing the client's request for the EmbeddingsCommon operation. The "output" return value will be populated with the EmbeddingsCommon request's response once the request completes successfully.

Use "Send" method on the returned EmbeddingsCommon Request to send the API call to the service. the "output" return value is not valid until after EmbeddingsCommon Send returns without error.

See EmbeddingsCommon for more information on using the EmbeddingsCommon API call, and error handling.

// Example sending a request using the EmbeddingsCommonRequest method.
req, resp := client.EmbeddingsCommonRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

func (*ARK) EmbeddingsCommonWithContext added in v1.0.7

func (c *ARK) EmbeddingsCommonWithContext(ctx byteplus.Context, input *map[string]interface{}, opts ...request.Option) (*map[string]interface{}, error)

EmbeddingsCommonWithContext is the same as EmbeddingsCommon with the addition of the ability to pass a context and additional request options.

See EmbeddingsCommon for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*ARK) EmbeddingsMultimodal added in v1.0.7

func (c *ARK) EmbeddingsMultimodal(input *EmbeddingsMultimodalInput) (*EmbeddingsMultimodalOutput, error)

EmbeddingsMultimodal API operation for ARK.

Returns bytepluserr.Error for service API and SDK errors. Use runtime type assertions with bytepluserr.Error's Code and Message methods to get detailed information about the error.

See the BYTEPLUS API reference guide for ARK's API operation EmbeddingsMultimodal for usage and error information.

func (*ARK) EmbeddingsMultimodalCommon added in v1.0.7

func (c *ARK) EmbeddingsMultimodalCommon(input *map[string]interface{}) (*map[string]interface{}, error)

EmbeddingsMultimodalCommon API operation for ARK.

Returns bytepluserr.Error for service API and SDK errors. Use runtime type assertions with bytepluserr.Error's Code and Message methods to get detailed information about the error.

See the BYTEPLUS API reference guide for ARK's API operation EmbeddingsMultimodalCommon for usage and error information.

func (*ARK) EmbeddingsMultimodalCommonRequest added in v1.0.7

func (c *ARK) EmbeddingsMultimodalCommonRequest(input *map[string]interface{}) (req *request.Request, output *map[string]interface{})

EmbeddingsMultimodalCommonRequest generates a "byteplus/request.Request" representing the client's request for the EmbeddingsMultimodalCommon operation. The "output" return value will be populated with the EmbeddingsMultimodalCommon request's response once the request completes successfully.

Use "Send" method on the returned EmbeddingsMultimodalCommon Request to send the API call to the service. the "output" return value is not valid until after EmbeddingsMultimodalCommon Send returns without error.

See EmbeddingsMultimodalCommon for more information on using the EmbeddingsMultimodalCommon API call, and error handling.

// Example sending a request using the EmbeddingsMultimodalCommonRequest method.
req, resp := client.EmbeddingsMultimodalCommonRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

func (*ARK) EmbeddingsMultimodalCommonWithContext added in v1.0.7

func (c *ARK) EmbeddingsMultimodalCommonWithContext(ctx byteplus.Context, input *map[string]interface{}, opts ...request.Option) (*map[string]interface{}, error)

EmbeddingsMultimodalCommonWithContext is the same as EmbeddingsMultimodalCommon with the addition of the ability to pass a context and additional request options.

See EmbeddingsMultimodalCommon for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*ARK) EmbeddingsMultimodalRequest added in v1.0.7

func (c *ARK) EmbeddingsMultimodalRequest(input *EmbeddingsMultimodalInput) (req *request.Request, output *EmbeddingsMultimodalOutput)

EmbeddingsMultimodalRequest generates a "byteplus/request.Request" representing the client's request for the EmbeddingsMultimodal operation. The "output" return value will be populated with the EmbeddingsMultimodalCommon request's response once the request completes successfully.

Use "Send" method on the returned EmbeddingsMultimodalCommon Request to send the API call to the service. the "output" return value is not valid until after EmbeddingsMultimodalCommon Send returns without error.

See EmbeddingsMultimodal for more information on using the EmbeddingsMultimodal API call, and error handling.

// Example sending a request using the EmbeddingsMultimodalRequest method.
req, resp := client.EmbeddingsMultimodalRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

func (*ARK) EmbeddingsMultimodalWithContext added in v1.0.7

func (c *ARK) EmbeddingsMultimodalWithContext(ctx byteplus.Context, input *EmbeddingsMultimodalInput, opts ...request.Option) (*EmbeddingsMultimodalOutput, error)

EmbeddingsMultimodalWithContext is the same as EmbeddingsMultimodal with the addition of the ability to pass a context and additional request options.

See EmbeddingsMultimodal for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. Ifthe context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*ARK) EmbeddingsRequest added in v1.0.7

func (c *ARK) EmbeddingsRequest(input *EmbeddingsInput) (req *request.Request, output *EmbeddingsOutput)

EmbeddingsRequest generates a "byteplus/request.Request" representing the client's request for the Embeddings operation. The "output" return value will be populated with the EmbeddingsCommon request's response once the request completes successfully.

Use "Send" method on the returned EmbeddingsCommon Request to send the API call to the service. the "output" return value is not valid until after EmbeddingsCommon Send returns without error.

See Embeddings for more information on using the Embeddings API call, and error handling.

// Example sending a request using the EmbeddingsRequest method.
req, resp := client.EmbeddingsRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

func (*ARK) EmbeddingsWithContext added in v1.0.7

func (c *ARK) EmbeddingsWithContext(ctx byteplus.Context, input *EmbeddingsInput, opts ...request.Option) (*EmbeddingsOutput, error)

EmbeddingsWithContext is the same as Embeddings with the addition of the ability to pass a context and additional request options.

See Embeddings for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. Ifthe context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*ARK) GetApiKey

func (c *ARK) GetApiKey(input *GetApiKeyInput) (*GetApiKeyOutput, error)

GetApiKey API operation for ARK.

Returns bytepluserr.Error for service API and SDK errors. Use runtime type assertions with bytepluserr.Error's Code and Message methods to get detailed information about the error.

See the BYTEPLUS API reference guide for ARK's API operation GetApiKey for usage and error information.

func (*ARK) GetApiKeyCommon

func (c *ARK) GetApiKeyCommon(input *map[string]interface{}) (*map[string]interface{}, error)

GetApiKeyCommon API operation for ARK.

Returns bytepluserr.Error for service API and SDK errors. Use runtime type assertions with bytepluserr.Error's Code and Message methods to get detailed information about the error.

See the BYTEPLUS API reference guide for ARK's API operation GetApiKeyCommon for usage and error information.

func (*ARK) GetApiKeyCommonRequest

func (c *ARK) GetApiKeyCommonRequest(input *map[string]interface{}) (req *request.Request, output *map[string]interface{})

GetApiKeyCommonRequest generates a "byteplus/request.Request" representing the client's request for the GetApiKeyCommon operation. The "output" return value will be populated with the GetApiKeyCommon request's response once the request completes successfully.

Use "Send" method on the returned GetApiKeyCommon Request to send the API call to the service. the "output" return value is not valid until after GetApiKeyCommon Send returns without error.

See GetApiKeyCommon for more information on using the GetApiKeyCommon API call, and error handling.

// Example sending a request using the GetApiKeyCommonRequest method.
req, resp := client.GetApiKeyCommonRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

func (*ARK) GetApiKeyCommonWithContext

func (c *ARK) GetApiKeyCommonWithContext(ctx byteplus.Context, input *map[string]interface{}, opts ...request.Option) (*map[string]interface{}, error)

GetApiKeyCommonWithContext is the same as GetApiKeyCommon with the addition of the ability to pass a context and additional request options.

See GetApiKeyCommon for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*ARK) GetApiKeyRequest

func (c *ARK) GetApiKeyRequest(input *GetApiKeyInput) (req *request.Request, output *GetApiKeyOutput)

GetApiKeyRequest generates a "byteplus/request.Request" representing the client's request for the GetApiKey operation. The "output" return value will be populated with the GetApiKeyCommon request's response once the request completes successfully.

Use "Send" method on the returned GetApiKeyCommon Request to send the API call to the service. the "output" return value is not valid until after GetApiKeyCommon Send returns without error.

See GetApiKey for more information on using the GetApiKey API call, and error handling.

// Example sending a request using the GetApiKeyRequest method.
req, resp := client.GetApiKeyRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

func (*ARK) GetApiKeyWithContext

func (c *ARK) GetApiKeyWithContext(ctx byteplus.Context, input *GetApiKeyInput, opts ...request.Option) (*GetApiKeyOutput, error)

GetApiKeyWithContext is the same as GetApiKey with the addition of the ability to pass a context and additional request options.

See GetApiKey for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. Ifthe context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*ARK) GetEndpoint

func (c *ARK) GetEndpoint(input *GetEndpointInput) (*GetEndpointOutput, error)

GetEndpoint API operation for ARK.

Returns bytepluserr.Error for service API and SDK errors. Use runtime type assertions with bytepluserr.Error's Code and Message methods to get detailed information about the error.

See the BYTEPLUS API reference guide for ARK's API operation GetEndpoint for usage and error information.

func (*ARK) GetEndpointCertificate added in v1.0.7

func (c *ARK) GetEndpointCertificate(input *GetEndpointCertificateInput) (*GetEndpointCertificateOutput, error)

GetEndpointCertificate API operation for ARK.

Returns bytepluserr.Error for service API and SDK errors. Use runtime type assertions with bytepluserr.Error's Code and Message methods to get detailed information about the error.

See the BYTEPLUS API reference guide for ARK's API operation GetEndpointCertificate for usage and error information.

func (*ARK) GetEndpointCertificateCommon added in v1.0.7

func (c *ARK) GetEndpointCertificateCommon(input *map[string]interface{}) (*map[string]interface{}, error)

GetEndpointCertificateCommon API operation for ARK.

Returns bytepluserr.Error for service API and SDK errors. Use runtime type assertions with bytepluserr.Error's Code and Message methods to get detailed information about the error.

See the BYTEPLUS API reference guide for ARK's API operation GetEndpointCertificateCommon for usage and error information.

func (*ARK) GetEndpointCertificateCommonRequest added in v1.0.7

func (c *ARK) GetEndpointCertificateCommonRequest(input *map[string]interface{}) (req *request.Request, output *map[string]interface{})

GetEndpointCertificateCommonRequest generates a "byteplus/request.Request" representing the client's request for the GetEndpointCertificateCommon operation. The "output" return value will be populated with the GetEndpointCertificateCommon request's response once the request completes successfully.

Use "Send" method on the returned GetEndpointCertificateCommon Request to send the API call to the service. the "output" return value is not valid until after GetEndpointCertificateCommon Send returns without error.

See GetEndpointCertificateCommon for more information on using the GetEndpointCertificateCommon API call, and error handling.

// Example sending a request using the GetEndpointCertificateCommonRequest method.
req, resp := client.GetEndpointCertificateCommonRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

func (*ARK) GetEndpointCertificateCommonWithContext added in v1.0.7

func (c *ARK) GetEndpointCertificateCommonWithContext(ctx byteplus.Context, input *map[string]interface{}, opts ...request.Option) (*map[string]interface{}, error)

GetEndpointCertificateCommonWithContext is the same as GetEndpointCertificateCommon with the addition of the ability to pass a context and additional request options.

See GetEndpointCertificateCommon for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*ARK) GetEndpointCertificateRequest added in v1.0.7

func (c *ARK) GetEndpointCertificateRequest(input *GetEndpointCertificateInput) (req *request.Request, output *GetEndpointCertificateOutput)

GetEndpointCertificateRequest generates a "byteplus/request.Request" representing the client's request for the GetEndpointCertificate operation. The "output" return value will be populated with the GetEndpointCertificateCommon request's response once the request completes successfully.

Use "Send" method on the returned GetEndpointCertificateCommon Request to send the API call to the service. the "output" return value is not valid until after GetEndpointCertificateCommon Send returns without error.

See GetEndpointCertificate for more information on using the GetEndpointCertificate API call, and error handling.

// Example sending a request using the GetEndpointCertificateRequest method.
req, resp := client.GetEndpointCertificateRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

func (*ARK) GetEndpointCertificateWithContext added in v1.0.7

func (c *ARK) GetEndpointCertificateWithContext(ctx byteplus.Context, input *GetEndpointCertificateInput, opts ...request.Option) (*GetEndpointCertificateOutput, error)

GetEndpointCertificateWithContext is the same as GetEndpointCertificate with the addition of the ability to pass a context and additional request options.

See GetEndpointCertificate for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. Ifthe context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*ARK) GetEndpointCommon

func (c *ARK) GetEndpointCommon(input *map[string]interface{}) (*map[string]interface{}, error)

GetEndpointCommon API operation for ARK.

Returns bytepluserr.Error for service API and SDK errors. Use runtime type assertions with bytepluserr.Error's Code and Message methods to get detailed information about the error.

See the BYTEPLUS API reference guide for ARK's API operation GetEndpointCommon for usage and error information.

func (*ARK) GetEndpointCommonRequest

func (c *ARK) GetEndpointCommonRequest(input *map[string]interface{}) (req *request.Request, output *map[string]interface{})

GetEndpointCommonRequest generates a "byteplus/request.Request" representing the client's request for the GetEndpointCommon operation. The "output" return value will be populated with the GetEndpointCommon request's response once the request completes successfully.

Use "Send" method on the returned GetEndpointCommon Request to send the API call to the service. the "output" return value is not valid until after GetEndpointCommon Send returns without error.

See GetEndpointCommon for more information on using the GetEndpointCommon API call, and error handling.

// Example sending a request using the GetEndpointCommonRequest method.
req, resp := client.GetEndpointCommonRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

func (*ARK) GetEndpointCommonWithContext

func (c *ARK) GetEndpointCommonWithContext(ctx byteplus.Context, input *map[string]interface{}, opts ...request.Option) (*map[string]interface{}, error)

GetEndpointCommonWithContext is the same as GetEndpointCommon with the addition of the ability to pass a context and additional request options.

See GetEndpointCommon for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*ARK) GetEndpointRequest

func (c *ARK) GetEndpointRequest(input *GetEndpointInput) (req *request.Request, output *GetEndpointOutput)

GetEndpointRequest generates a "byteplus/request.Request" representing the client's request for the GetEndpoint operation. The "output" return value will be populated with the GetEndpointCommon request's response once the request completes successfully.

Use "Send" method on the returned GetEndpointCommon Request to send the API call to the service. the "output" return value is not valid until after GetEndpointCommon Send returns without error.

See GetEndpoint for more information on using the GetEndpoint API call, and error handling.

// Example sending a request using the GetEndpointRequest method.
req, resp := client.GetEndpointRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

func (*ARK) GetEndpointWithContext

func (c *ARK) GetEndpointWithContext(ctx byteplus.Context, input *GetEndpointInput, opts ...request.Option) (*GetEndpointOutput, error)

GetEndpointWithContext is the same as GetEndpoint with the addition of the ability to pass a context and additional request options.

See GetEndpoint for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. Ifthe context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*ARK) GetModelCustomizationJob

func (c *ARK) GetModelCustomizationJob(input *GetModelCustomizationJobInput) (*GetModelCustomizationJobOutput, error)

GetModelCustomizationJob API operation for ARK.

Returns bytepluserr.Error for service API and SDK errors. Use runtime type assertions with bytepluserr.Error's Code and Message methods to get detailed information about the error.

See the BYTEPLUS API reference guide for ARK's API operation GetModelCustomizationJob for usage and error information.

func (*ARK) GetModelCustomizationJobCommon

func (c *ARK) GetModelCustomizationJobCommon(input *map[string]interface{}) (*map[string]interface{}, error)

GetModelCustomizationJobCommon API operation for ARK.

Returns bytepluserr.Error for service API and SDK errors. Use runtime type assertions with bytepluserr.Error's Code and Message methods to get detailed information about the error.

See the BYTEPLUS API reference guide for ARK's API operation GetModelCustomizationJobCommon for usage and error information.

func (*ARK) GetModelCustomizationJobCommonRequest

func (c *ARK) GetModelCustomizationJobCommonRequest(input *map[string]interface{}) (req *request.Request, output *map[string]interface{})

GetModelCustomizationJobCommonRequest generates a "byteplus/request.Request" representing the client's request for the GetModelCustomizationJobCommon operation. The "output" return value will be populated with the GetModelCustomizationJobCommon request's response once the request completes successfully.

Use "Send" method on the returned GetModelCustomizationJobCommon Request to send the API call to the service. the "output" return value is not valid until after GetModelCustomizationJobCommon Send returns without error.

See GetModelCustomizationJobCommon for more information on using the GetModelCustomizationJobCommon API call, and error handling.

// Example sending a request using the GetModelCustomizationJobCommonRequest method.
req, resp := client.GetModelCustomizationJobCommonRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

func (*ARK) GetModelCustomizationJobCommonWithContext

func (c *ARK) GetModelCustomizationJobCommonWithContext(ctx byteplus.Context, input *map[string]interface{}, opts ...request.Option) (*map[string]interface{}, error)

GetModelCustomizationJobCommonWithContext is the same as GetModelCustomizationJobCommon with the addition of the ability to pass a context and additional request options.

See GetModelCustomizationJobCommon for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*ARK) GetModelCustomizationJobRequest

func (c *ARK) GetModelCustomizationJobRequest(input *GetModelCustomizationJobInput) (req *request.Request, output *GetModelCustomizationJobOutput)

GetModelCustomizationJobRequest generates a "byteplus/request.Request" representing the client's request for the GetModelCustomizationJob operation. The "output" return value will be populated with the GetModelCustomizationJobCommon request's response once the request completes successfully.

Use "Send" method on the returned GetModelCustomizationJobCommon Request to send the API call to the service. the "output" return value is not valid until after GetModelCustomizationJobCommon Send returns without error.

See GetModelCustomizationJob for more information on using the GetModelCustomizationJob API call, and error handling.

// Example sending a request using the GetModelCustomizationJobRequest method.
req, resp := client.GetModelCustomizationJobRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

func (*ARK) GetModelCustomizationJobWithContext

func (c *ARK) GetModelCustomizationJobWithContext(ctx byteplus.Context, input *GetModelCustomizationJobInput, opts ...request.Option) (*GetModelCustomizationJobOutput, error)

GetModelCustomizationJobWithContext is the same as GetModelCustomizationJob with the addition of the ability to pass a context and additional request options.

See GetModelCustomizationJob for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. Ifthe context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*ARK) ListBatchInferenceJobs

func (c *ARK) ListBatchInferenceJobs(input *ListBatchInferenceJobsInput) (*ListBatchInferenceJobsOutput, error)

ListBatchInferenceJobs API operation for ARK.

Returns bytepluserr.Error for service API and SDK errors. Use runtime type assertions with bytepluserr.Error's Code and Message methods to get detailed information about the error.

See the BYTEPLUS API reference guide for ARK's API operation ListBatchInferenceJobs for usage and error information.

func (*ARK) ListBatchInferenceJobsCommon

func (c *ARK) ListBatchInferenceJobsCommon(input *map[string]interface{}) (*map[string]interface{}, error)

ListBatchInferenceJobsCommon API operation for ARK.

Returns bytepluserr.Error for service API and SDK errors. Use runtime type assertions with bytepluserr.Error's Code and Message methods to get detailed information about the error.

See the BYTEPLUS API reference guide for ARK's API operation ListBatchInferenceJobsCommon for usage and error information.

func (*ARK) ListBatchInferenceJobsCommonRequest

func (c *ARK) ListBatchInferenceJobsCommonRequest(input *map[string]interface{}) (req *request.Request, output *map[string]interface{})

ListBatchInferenceJobsCommonRequest generates a "byteplus/request.Request" representing the client's request for the ListBatchInferenceJobsCommon operation. The "output" return value will be populated with the ListBatchInferenceJobsCommon request's response once the request completes successfully.

Use "Send" method on the returned ListBatchInferenceJobsCommon Request to send the API call to the service. the "output" return value is not valid until after ListBatchInferenceJobsCommon Send returns without error.

See ListBatchInferenceJobsCommon for more information on using the ListBatchInferenceJobsCommon API call, and error handling.

// Example sending a request using the ListBatchInferenceJobsCommonRequest method.
req, resp := client.ListBatchInferenceJobsCommonRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

func (*ARK) ListBatchInferenceJobsCommonWithContext

func (c *ARK) ListBatchInferenceJobsCommonWithContext(ctx byteplus.Context, input *map[string]interface{}, opts ...request.Option) (*map[string]interface{}, error)

ListBatchInferenceJobsCommonWithContext is the same as ListBatchInferenceJobsCommon with the addition of the ability to pass a context and additional request options.

See ListBatchInferenceJobsCommon for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*ARK) ListBatchInferenceJobsRequest

func (c *ARK) ListBatchInferenceJobsRequest(input *ListBatchInferenceJobsInput) (req *request.Request, output *ListBatchInferenceJobsOutput)

ListBatchInferenceJobsRequest generates a "byteplus/request.Request" representing the client's request for the ListBatchInferenceJobs operation. The "output" return value will be populated with the ListBatchInferenceJobsCommon request's response once the request completes successfully.

Use "Send" method on the returned ListBatchInferenceJobsCommon Request to send the API call to the service. the "output" return value is not valid until after ListBatchInferenceJobsCommon Send returns without error.

See ListBatchInferenceJobs for more information on using the ListBatchInferenceJobs API call, and error handling.

// Example sending a request using the ListBatchInferenceJobsRequest method.
req, resp := client.ListBatchInferenceJobsRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

func (*ARK) ListBatchInferenceJobsWithContext

func (c *ARK) ListBatchInferenceJobsWithContext(ctx byteplus.Context, input *ListBatchInferenceJobsInput, opts ...request.Option) (*ListBatchInferenceJobsOutput, error)

ListBatchInferenceJobsWithContext is the same as ListBatchInferenceJobs with the addition of the ability to pass a context and additional request options.

See ListBatchInferenceJobs for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. Ifthe context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*ARK) ListEndpoints

func (c *ARK) ListEndpoints(input *ListEndpointsInput) (*ListEndpointsOutput, error)

ListEndpoints API operation for ARK.

Returns bytepluserr.Error for service API and SDK errors. Use runtime type assertions with bytepluserr.Error's Code and Message methods to get detailed information about the error.

See the BYTEPLUS API reference guide for ARK's API operation ListEndpoints for usage and error information.

func (*ARK) ListEndpointsCommon

func (c *ARK) ListEndpointsCommon(input *map[string]interface{}) (*map[string]interface{}, error)

ListEndpointsCommon API operation for ARK.

Returns bytepluserr.Error for service API and SDK errors. Use runtime type assertions with bytepluserr.Error's Code and Message methods to get detailed information about the error.

See the BYTEPLUS API reference guide for ARK's API operation ListEndpointsCommon for usage and error information.

func (*ARK) ListEndpointsCommonRequest

func (c *ARK) ListEndpointsCommonRequest(input *map[string]interface{}) (req *request.Request, output *map[string]interface{})

ListEndpointsCommonRequest generates a "byteplus/request.Request" representing the client's request for the ListEndpointsCommon operation. The "output" return value will be populated with the ListEndpointsCommon request's response once the request completes successfully.

Use "Send" method on the returned ListEndpointsCommon Request to send the API call to the service. the "output" return value is not valid until after ListEndpointsCommon Send returns without error.

See ListEndpointsCommon for more information on using the ListEndpointsCommon API call, and error handling.

// Example sending a request using the ListEndpointsCommonRequest method.
req, resp := client.ListEndpointsCommonRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

func (*ARK) ListEndpointsCommonWithContext

func (c *ARK) ListEndpointsCommonWithContext(ctx byteplus.Context, input *map[string]interface{}, opts ...request.Option) (*map[string]interface{}, error)

ListEndpointsCommonWithContext is the same as ListEndpointsCommon with the addition of the ability to pass a context and additional request options.

See ListEndpointsCommon for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*ARK) ListEndpointsRequest

func (c *ARK) ListEndpointsRequest(input *ListEndpointsInput) (req *request.Request, output *ListEndpointsOutput)

ListEndpointsRequest generates a "byteplus/request.Request" representing the client's request for the ListEndpoints operation. The "output" return value will be populated with the ListEndpointsCommon request's response once the request completes successfully.

Use "Send" method on the returned ListEndpointsCommon Request to send the API call to the service. the "output" return value is not valid until after ListEndpointsCommon Send returns without error.

See ListEndpoints for more information on using the ListEndpoints API call, and error handling.

// Example sending a request using the ListEndpointsRequest method.
req, resp := client.ListEndpointsRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

func (*ARK) ListEndpointsWithContext

func (c *ARK) ListEndpointsWithContext(ctx byteplus.Context, input *ListEndpointsInput, opts ...request.Option) (*ListEndpointsOutput, error)

ListEndpointsWithContext is the same as ListEndpoints with the addition of the ability to pass a context and additional request options.

See ListEndpoints for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. Ifthe context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*ARK) ListModelCustomizationJobs

func (c *ARK) ListModelCustomizationJobs(input *ListModelCustomizationJobsInput) (*ListModelCustomizationJobsOutput, error)

ListModelCustomizationJobs API operation for ARK.

Returns bytepluserr.Error for service API and SDK errors. Use runtime type assertions with bytepluserr.Error's Code and Message methods to get detailed information about the error.

See the BYTEPLUS API reference guide for ARK's API operation ListModelCustomizationJobs for usage and error information.

func (*ARK) ListModelCustomizationJobsCommon

func (c *ARK) ListModelCustomizationJobsCommon(input *map[string]interface{}) (*map[string]interface{}, error)

ListModelCustomizationJobsCommon API operation for ARK.

Returns bytepluserr.Error for service API and SDK errors. Use runtime type assertions with bytepluserr.Error's Code and Message methods to get detailed information about the error.

See the BYTEPLUS API reference guide for ARK's API operation ListModelCustomizationJobsCommon for usage and error information.

func (*ARK) ListModelCustomizationJobsCommonRequest

func (c *ARK) ListModelCustomizationJobsCommonRequest(input *map[string]interface{}) (req *request.Request, output *map[string]interface{})

ListModelCustomizationJobsCommonRequest generates a "byteplus/request.Request" representing the client's request for the ListModelCustomizationJobsCommon operation. The "output" return value will be populated with the ListModelCustomizationJobsCommon request's response once the request completes successfully.

Use "Send" method on the returned ListModelCustomizationJobsCommon Request to send the API call to the service. the "output" return value is not valid until after ListModelCustomizationJobsCommon Send returns without error.

See ListModelCustomizationJobsCommon for more information on using the ListModelCustomizationJobsCommon API call, and error handling.

// Example sending a request using the ListModelCustomizationJobsCommonRequest method.
req, resp := client.ListModelCustomizationJobsCommonRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

func (*ARK) ListModelCustomizationJobsCommonWithContext

func (c *ARK) ListModelCustomizationJobsCommonWithContext(ctx byteplus.Context, input *map[string]interface{}, opts ...request.Option) (*map[string]interface{}, error)

ListModelCustomizationJobsCommonWithContext is the same as ListModelCustomizationJobsCommon with the addition of the ability to pass a context and additional request options.

See ListModelCustomizationJobsCommon for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*ARK) ListModelCustomizationJobsRequest

func (c *ARK) ListModelCustomizationJobsRequest(input *ListModelCustomizationJobsInput) (req *request.Request, output *ListModelCustomizationJobsOutput)

ListModelCustomizationJobsRequest generates a "byteplus/request.Request" representing the client's request for the ListModelCustomizationJobs operation. The "output" return value will be populated with the ListModelCustomizationJobsCommon request's response once the request completes successfully.

Use "Send" method on the returned ListModelCustomizationJobsCommon Request to send the API call to the service. the "output" return value is not valid until after ListModelCustomizationJobsCommon Send returns without error.

See ListModelCustomizationJobs for more information on using the ListModelCustomizationJobs API call, and error handling.

// Example sending a request using the ListModelCustomizationJobsRequest method.
req, resp := client.ListModelCustomizationJobsRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

func (*ARK) ListModelCustomizationJobsWithContext

func (c *ARK) ListModelCustomizationJobsWithContext(ctx byteplus.Context, input *ListModelCustomizationJobsInput, opts ...request.Option) (*ListModelCustomizationJobsOutput, error)

ListModelCustomizationJobsWithContext is the same as ListModelCustomizationJobs with the addition of the ability to pass a context and additional request options.

See ListModelCustomizationJobs for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. Ifthe context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*ARK) Tokenization added in v1.0.7

func (c *ARK) Tokenization(input *TokenizationInput) (*TokenizationOutput, error)

Tokenization API operation for ARK.

Returns bytepluserr.Error for service API and SDK errors. Use runtime type assertions with bytepluserr.Error's Code and Message methods to get detailed information about the error.

See the BYTEPLUS API reference guide for ARK's API operation Tokenization for usage and error information.

func (*ARK) TokenizationCommon added in v1.0.7

func (c *ARK) TokenizationCommon(input *map[string]interface{}) (*map[string]interface{}, error)

TokenizationCommon API operation for ARK.

Returns bytepluserr.Error for service API and SDK errors. Use runtime type assertions with bytepluserr.Error's Code and Message methods to get detailed information about the error.

See the BYTEPLUS API reference guide for ARK's API operation TokenizationCommon for usage and error information.

func (*ARK) TokenizationCommonRequest added in v1.0.7

func (c *ARK) TokenizationCommonRequest(input *map[string]interface{}) (req *request.Request, output *map[string]interface{})

TokenizationCommonRequest generates a "byteplus/request.Request" representing the client's request for the TokenizationCommon operation. The "output" return value will be populated with the TokenizationCommon request's response once the request completes successfully.

Use "Send" method on the returned TokenizationCommon Request to send the API call to the service. the "output" return value is not valid until after TokenizationCommon Send returns without error.

See TokenizationCommon for more information on using the TokenizationCommon API call, and error handling.

// Example sending a request using the TokenizationCommonRequest method.
req, resp := client.TokenizationCommonRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

func (*ARK) TokenizationCommonWithContext added in v1.0.7

func (c *ARK) TokenizationCommonWithContext(ctx byteplus.Context, input *map[string]interface{}, opts ...request.Option) (*map[string]interface{}, error)

TokenizationCommonWithContext is the same as TokenizationCommon with the addition of the ability to pass a context and additional request options.

See TokenizationCommon for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*ARK) TokenizationRequest added in v1.0.7

func (c *ARK) TokenizationRequest(input *TokenizationInput) (req *request.Request, output *TokenizationOutput)

TokenizationRequest generates a "byteplus/request.Request" representing the client's request for the Tokenization operation. The "output" return value will be populated with the TokenizationCommon request's response once the request completes successfully.

Use "Send" method on the returned TokenizationCommon Request to send the API call to the service. the "output" return value is not valid until after TokenizationCommon Send returns without error.

See Tokenization for more information on using the Tokenization API call, and error handling.

// Example sending a request using the TokenizationRequest method.
req, resp := client.TokenizationRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

func (*ARK) TokenizationWithContext added in v1.0.7

func (c *ARK) TokenizationWithContext(ctx byteplus.Context, input *TokenizationInput, opts ...request.Option) (*TokenizationOutput, error)

TokenizationWithContext is the same as Tokenization with the addition of the ability to pass a context and additional request options.

See Tokenization for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. Ifthe context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

type ARKAPI

type ARKAPI interface {
	BatchChatCompletionsCommon(*map[string]interface{}) (*map[string]interface{}, error)
	BatchChatCompletionsCommonWithContext(byteplus.Context, *map[string]interface{}, ...request.Option) (*map[string]interface{}, error)
	BatchChatCompletionsCommonRequest(*map[string]interface{}) (*request.Request, *map[string]interface{})

	BatchChatCompletions(*BatchChatCompletionsInput) (*BatchChatCompletionsOutput, error)
	BatchChatCompletionsWithContext(byteplus.Context, *BatchChatCompletionsInput, ...request.Option) (*BatchChatCompletionsOutput, error)
	BatchChatCompletionsRequest(*BatchChatCompletionsInput) (*request.Request, *BatchChatCompletionsOutput)

	BotsChatCompletionsCommon(*map[string]interface{}) (*map[string]interface{}, error)
	BotsChatCompletionsCommonWithContext(byteplus.Context, *map[string]interface{}, ...request.Option) (*map[string]interface{}, error)
	BotsChatCompletionsCommonRequest(*map[string]interface{}) (*request.Request, *map[string]interface{})

	BotsChatCompletions(*BotsChatCompletionsInput) (*BotsChatCompletionsOutput, error)
	BotsChatCompletionsWithContext(byteplus.Context, *BotsChatCompletionsInput, ...request.Option) (*BotsChatCompletionsOutput, error)
	BotsChatCompletionsRequest(*BotsChatCompletionsInput) (*request.Request, *BotsChatCompletionsOutput)

	ChatCompletionsTextCommon(*map[string]interface{}) (*map[string]interface{}, error)
	ChatCompletionsTextCommonWithContext(byteplus.Context, *map[string]interface{}, ...request.Option) (*map[string]interface{}, error)
	ChatCompletionsTextCommonRequest(*map[string]interface{}) (*request.Request, *map[string]interface{})

	ChatCompletionsText(*ChatCompletionsTextInput) (*ChatCompletionsTextOutput, error)
	ChatCompletionsTextWithContext(byteplus.Context, *ChatCompletionsTextInput, ...request.Option) (*ChatCompletionsTextOutput, error)
	ChatCompletionsTextRequest(*ChatCompletionsTextInput) (*request.Request, *ChatCompletionsTextOutput)

	ChatCompletionsVisionCommon(*map[string]interface{}) (*map[string]interface{}, error)
	ChatCompletionsVisionCommonWithContext(byteplus.Context, *map[string]interface{}, ...request.Option) (*map[string]interface{}, error)
	ChatCompletionsVisionCommonRequest(*map[string]interface{}) (*request.Request, *map[string]interface{})

	ChatCompletionsVision(*ChatCompletionsVisionInput) (*ChatCompletionsVisionOutput, error)
	ChatCompletionsVisionWithContext(byteplus.Context, *ChatCompletionsVisionInput, ...request.Option) (*ChatCompletionsVisionOutput, error)
	ChatCompletionsVisionRequest(*ChatCompletionsVisionInput) (*request.Request, *ChatCompletionsVisionOutput)

	ContextChatCompletionsCommon(*map[string]interface{}) (*map[string]interface{}, error)
	ContextChatCompletionsCommonWithContext(byteplus.Context, *map[string]interface{}, ...request.Option) (*map[string]interface{}, error)
	ContextChatCompletionsCommonRequest(*map[string]interface{}) (*request.Request, *map[string]interface{})

	ContextChatCompletions(*ContextChatCompletionsInput) (*ContextChatCompletionsOutput, error)
	ContextChatCompletionsWithContext(byteplus.Context, *ContextChatCompletionsInput, ...request.Option) (*ContextChatCompletionsOutput, error)
	ContextChatCompletionsRequest(*ContextChatCompletionsInput) (*request.Request, *ContextChatCompletionsOutput)

	ContextCreateCommon(*map[string]interface{}) (*map[string]interface{}, error)
	ContextCreateCommonWithContext(byteplus.Context, *map[string]interface{}, ...request.Option) (*map[string]interface{}, error)
	ContextCreateCommonRequest(*map[string]interface{}) (*request.Request, *map[string]interface{})

	ContextCreate(*ContextCreateInput) (*ContextCreateOutput, error)
	ContextCreateWithContext(byteplus.Context, *ContextCreateInput, ...request.Option) (*ContextCreateOutput, error)
	ContextCreateRequest(*ContextCreateInput) (*request.Request, *ContextCreateOutput)

	CreateBatchInferenceJobCommon(*map[string]interface{}) (*map[string]interface{}, error)
	CreateBatchInferenceJobCommonWithContext(byteplus.Context, *map[string]interface{}, ...request.Option) (*map[string]interface{}, error)
	CreateBatchInferenceJobCommonRequest(*map[string]interface{}) (*request.Request, *map[string]interface{})

	CreateBatchInferenceJob(*CreateBatchInferenceJobInput) (*CreateBatchInferenceJobOutput, error)
	CreateBatchInferenceJobWithContext(byteplus.Context, *CreateBatchInferenceJobInput, ...request.Option) (*CreateBatchInferenceJobOutput, error)
	CreateBatchInferenceJobRequest(*CreateBatchInferenceJobInput) (*request.Request, *CreateBatchInferenceJobOutput)

	CreateContentsGenerationsTasksCommon(*map[string]interface{}) (*map[string]interface{}, error)
	CreateContentsGenerationsTasksCommonWithContext(byteplus.Context, *map[string]interface{}, ...request.Option) (*map[string]interface{}, error)
	CreateContentsGenerationsTasksCommonRequest(*map[string]interface{}) (*request.Request, *map[string]interface{})

	CreateContentsGenerationsTasks(*CreateContentsGenerationsTasksInput) (*CreateContentsGenerationsTasksOutput, error)
	CreateContentsGenerationsTasksWithContext(byteplus.Context, *CreateContentsGenerationsTasksInput, ...request.Option) (*CreateContentsGenerationsTasksOutput, error)
	CreateContentsGenerationsTasksRequest(*CreateContentsGenerationsTasksInput) (*request.Request, *CreateContentsGenerationsTasksOutput)

	CreateEndpointCommon(*map[string]interface{}) (*map[string]interface{}, error)
	CreateEndpointCommonWithContext(byteplus.Context, *map[string]interface{}, ...request.Option) (*map[string]interface{}, error)
	CreateEndpointCommonRequest(*map[string]interface{}) (*request.Request, *map[string]interface{})

	CreateEndpoint(*CreateEndpointInput) (*CreateEndpointOutput, error)
	CreateEndpointWithContext(byteplus.Context, *CreateEndpointInput, ...request.Option) (*CreateEndpointOutput, error)
	CreateEndpointRequest(*CreateEndpointInput) (*request.Request, *CreateEndpointOutput)

	CreateModelCustomizationJobCommon(*map[string]interface{}) (*map[string]interface{}, error)
	CreateModelCustomizationJobCommonWithContext(byteplus.Context, *map[string]interface{}, ...request.Option) (*map[string]interface{}, error)
	CreateModelCustomizationJobCommonRequest(*map[string]interface{}) (*request.Request, *map[string]interface{})

	CreateModelCustomizationJob(*CreateModelCustomizationJobInput) (*CreateModelCustomizationJobOutput, error)
	CreateModelCustomizationJobWithContext(byteplus.Context, *CreateModelCustomizationJobInput, ...request.Option) (*CreateModelCustomizationJobOutput, error)
	CreateModelCustomizationJobRequest(*CreateModelCustomizationJobInput) (*request.Request, *CreateModelCustomizationJobOutput)

	DeleteEndpointCommon(*map[string]interface{}) (*map[string]interface{}, error)
	DeleteEndpointCommonWithContext(byteplus.Context, *map[string]interface{}, ...request.Option) (*map[string]interface{}, error)
	DeleteEndpointCommonRequest(*map[string]interface{}) (*request.Request, *map[string]interface{})

	DeleteEndpoint(*DeleteEndpointInput) (*DeleteEndpointOutput, error)
	DeleteEndpointWithContext(byteplus.Context, *DeleteEndpointInput, ...request.Option) (*DeleteEndpointOutput, error)
	DeleteEndpointRequest(*DeleteEndpointInput) (*request.Request, *DeleteEndpointOutput)

	EmbeddingsCommon(*map[string]interface{}) (*map[string]interface{}, error)
	EmbeddingsCommonWithContext(byteplus.Context, *map[string]interface{}, ...request.Option) (*map[string]interface{}, error)
	EmbeddingsCommonRequest(*map[string]interface{}) (*request.Request, *map[string]interface{})

	Embeddings(*EmbeddingsInput) (*EmbeddingsOutput, error)
	EmbeddingsWithContext(byteplus.Context, *EmbeddingsInput, ...request.Option) (*EmbeddingsOutput, error)
	EmbeddingsRequest(*EmbeddingsInput) (*request.Request, *EmbeddingsOutput)

	EmbeddingsMultimodalCommon(*map[string]interface{}) (*map[string]interface{}, error)
	EmbeddingsMultimodalCommonWithContext(byteplus.Context, *map[string]interface{}, ...request.Option) (*map[string]interface{}, error)
	EmbeddingsMultimodalCommonRequest(*map[string]interface{}) (*request.Request, *map[string]interface{})

	EmbeddingsMultimodal(*EmbeddingsMultimodalInput) (*EmbeddingsMultimodalOutput, error)
	EmbeddingsMultimodalWithContext(byteplus.Context, *EmbeddingsMultimodalInput, ...request.Option) (*EmbeddingsMultimodalOutput, error)
	EmbeddingsMultimodalRequest(*EmbeddingsMultimodalInput) (*request.Request, *EmbeddingsMultimodalOutput)

	GetApiKeyCommon(*map[string]interface{}) (*map[string]interface{}, error)
	GetApiKeyCommonWithContext(byteplus.Context, *map[string]interface{}, ...request.Option) (*map[string]interface{}, error)
	GetApiKeyCommonRequest(*map[string]interface{}) (*request.Request, *map[string]interface{})

	GetApiKey(*GetApiKeyInput) (*GetApiKeyOutput, error)
	GetApiKeyWithContext(byteplus.Context, *GetApiKeyInput, ...request.Option) (*GetApiKeyOutput, error)
	GetApiKeyRequest(*GetApiKeyInput) (*request.Request, *GetApiKeyOutput)

	GetEndpointCommon(*map[string]interface{}) (*map[string]interface{}, error)
	GetEndpointCommonWithContext(byteplus.Context, *map[string]interface{}, ...request.Option) (*map[string]interface{}, error)
	GetEndpointCommonRequest(*map[string]interface{}) (*request.Request, *map[string]interface{})

	GetEndpoint(*GetEndpointInput) (*GetEndpointOutput, error)
	GetEndpointWithContext(byteplus.Context, *GetEndpointInput, ...request.Option) (*GetEndpointOutput, error)
	GetEndpointRequest(*GetEndpointInput) (*request.Request, *GetEndpointOutput)

	GetEndpointCertificateCommon(*map[string]interface{}) (*map[string]interface{}, error)
	GetEndpointCertificateCommonWithContext(byteplus.Context, *map[string]interface{}, ...request.Option) (*map[string]interface{}, error)
	GetEndpointCertificateCommonRequest(*map[string]interface{}) (*request.Request, *map[string]interface{})

	GetEndpointCertificate(*GetEndpointCertificateInput) (*GetEndpointCertificateOutput, error)
	GetEndpointCertificateWithContext(byteplus.Context, *GetEndpointCertificateInput, ...request.Option) (*GetEndpointCertificateOutput, error)
	GetEndpointCertificateRequest(*GetEndpointCertificateInput) (*request.Request, *GetEndpointCertificateOutput)

	GetModelCustomizationJobCommon(*map[string]interface{}) (*map[string]interface{}, error)
	GetModelCustomizationJobCommonWithContext(byteplus.Context, *map[string]interface{}, ...request.Option) (*map[string]interface{}, error)
	GetModelCustomizationJobCommonRequest(*map[string]interface{}) (*request.Request, *map[string]interface{})

	GetModelCustomizationJob(*GetModelCustomizationJobInput) (*GetModelCustomizationJobOutput, error)
	GetModelCustomizationJobWithContext(byteplus.Context, *GetModelCustomizationJobInput, ...request.Option) (*GetModelCustomizationJobOutput, error)
	GetModelCustomizationJobRequest(*GetModelCustomizationJobInput) (*request.Request, *GetModelCustomizationJobOutput)

	ListBatchInferenceJobsCommon(*map[string]interface{}) (*map[string]interface{}, error)
	ListBatchInferenceJobsCommonWithContext(byteplus.Context, *map[string]interface{}, ...request.Option) (*map[string]interface{}, error)
	ListBatchInferenceJobsCommonRequest(*map[string]interface{}) (*request.Request, *map[string]interface{})

	ListBatchInferenceJobs(*ListBatchInferenceJobsInput) (*ListBatchInferenceJobsOutput, error)
	ListBatchInferenceJobsWithContext(byteplus.Context, *ListBatchInferenceJobsInput, ...request.Option) (*ListBatchInferenceJobsOutput, error)
	ListBatchInferenceJobsRequest(*ListBatchInferenceJobsInput) (*request.Request, *ListBatchInferenceJobsOutput)

	ListEndpointsCommon(*map[string]interface{}) (*map[string]interface{}, error)
	ListEndpointsCommonWithContext(byteplus.Context, *map[string]interface{}, ...request.Option) (*map[string]interface{}, error)
	ListEndpointsCommonRequest(*map[string]interface{}) (*request.Request, *map[string]interface{})

	ListEndpoints(*ListEndpointsInput) (*ListEndpointsOutput, error)
	ListEndpointsWithContext(byteplus.Context, *ListEndpointsInput, ...request.Option) (*ListEndpointsOutput, error)
	ListEndpointsRequest(*ListEndpointsInput) (*request.Request, *ListEndpointsOutput)

	ListModelCustomizationJobsCommon(*map[string]interface{}) (*map[string]interface{}, error)
	ListModelCustomizationJobsCommonWithContext(byteplus.Context, *map[string]interface{}, ...request.Option) (*map[string]interface{}, error)
	ListModelCustomizationJobsCommonRequest(*map[string]interface{}) (*request.Request, *map[string]interface{})

	ListModelCustomizationJobs(*ListModelCustomizationJobsInput) (*ListModelCustomizationJobsOutput, error)
	ListModelCustomizationJobsWithContext(byteplus.Context, *ListModelCustomizationJobsInput, ...request.Option) (*ListModelCustomizationJobsOutput, error)
	ListModelCustomizationJobsRequest(*ListModelCustomizationJobsInput) (*request.Request, *ListModelCustomizationJobsOutput)

	TokenizationCommon(*map[string]interface{}) (*map[string]interface{}, error)
	TokenizationCommonWithContext(byteplus.Context, *map[string]interface{}, ...request.Option) (*map[string]interface{}, error)
	TokenizationCommonRequest(*map[string]interface{}) (*request.Request, *map[string]interface{})

	Tokenization(*TokenizationInput) (*TokenizationOutput, error)
	TokenizationWithContext(byteplus.Context, *TokenizationInput, ...request.Option) (*TokenizationOutput, error)
	TokenizationRequest(*TokenizationInput) (*request.Request, *TokenizationOutput)
}

ARKAPI provides an interface to enable mocking the ark.ARK service client's API operation,

// byteplus sdk func uses an SDK service client to make a request to
// ARK.
func myFunc(svc ARKAPI) bool {
    // Make svc.BatchChatCompletions request
}

func main() {
    sess := session.New()
    svc := ark.New(sess)

    myFunc(svc)
}

type BatchChatCompletionsInput added in v1.0.7

type BatchChatCompletionsInput struct {
	Frequency_penalty *float64 `type:"float" json:"frequency_penalty,omitempty"`

	Logit_bias *Logit_biasForBatchChatCompletionsInput `type:"structure" json:"logit_bias,omitempty"`

	Logprobs *bool `type:"boolean" json:"logprobs,omitempty"`

	Max_tokens *int32 `type:"int32" json:"max_tokens,omitempty"`

	Messages []*MessageForBatchChatCompletionsInput `type:"list" json:"messages,omitempty"`

	// Model is a required field
	Model *string `type:"string" json:"model,omitempty" required:"true"`

	Presence_penalty *float64 `type:"float" json:"presence_penalty,omitempty"`

	Stop []*string `type:"list" json:"stop,omitempty"`

	Stream *bool `type:"boolean" json:"stream,omitempty"`

	Stream_options *Stream_optionsForBatchChatCompletionsInput `type:"structure" json:"stream_options,omitempty"`

	Temperature *float64 `type:"float" json:"temperature,omitempty"`

	Tools []*ToolForBatchChatCompletionsInput `type:"list" json:"tools,omitempty"`

	Top_logprobs *int32 `type:"int32" json:"top_logprobs,omitempty"`

	Top_p *float64 `type:"float" json:"top_p,omitempty"`
	// contains filtered or unexported fields
}

func (BatchChatCompletionsInput) GoString added in v1.0.7

func (s BatchChatCompletionsInput) GoString() string

GoString returns the string representation

func (*BatchChatCompletionsInput) SetFrequency_penalty added in v1.0.7

func (s *BatchChatCompletionsInput) SetFrequency_penalty(v float64) *BatchChatCompletionsInput

SetFrequency_penalty sets the Frequency_penalty field's value.

func (*BatchChatCompletionsInput) SetLogit_bias added in v1.0.7

SetLogit_bias sets the Logit_bias field's value.

func (*BatchChatCompletionsInput) SetLogprobs added in v1.0.7

SetLogprobs sets the Logprobs field's value.

func (*BatchChatCompletionsInput) SetMax_tokens added in v1.0.7

SetMax_tokens sets the Max_tokens field's value.

func (*BatchChatCompletionsInput) SetMessages added in v1.0.7

SetMessages sets the Messages field's value.

func (*BatchChatCompletionsInput) SetModel added in v1.0.7

SetModel sets the Model field's value.

func (*BatchChatCompletionsInput) SetPresence_penalty added in v1.0.7

func (s *BatchChatCompletionsInput) SetPresence_penalty(v float64) *BatchChatCompletionsInput

SetPresence_penalty sets the Presence_penalty field's value.

func (*BatchChatCompletionsInput) SetStop added in v1.0.7

SetStop sets the Stop field's value.

func (*BatchChatCompletionsInput) SetStream added in v1.0.7

SetStream sets the Stream field's value.

func (*BatchChatCompletionsInput) SetStream_options added in v1.0.7

SetStream_options sets the Stream_options field's value.

func (*BatchChatCompletionsInput) SetTemperature added in v1.0.7

SetTemperature sets the Temperature field's value.

func (*BatchChatCompletionsInput) SetTools added in v1.0.7

SetTools sets the Tools field's value.

func (*BatchChatCompletionsInput) SetTop_logprobs added in v1.0.7

SetTop_logprobs sets the Top_logprobs field's value.

func (*BatchChatCompletionsInput) SetTop_p added in v1.0.7

SetTop_p sets the Top_p field's value.

func (BatchChatCompletionsInput) String added in v1.0.7

func (s BatchChatCompletionsInput) String() string

String returns the string representation

func (*BatchChatCompletionsInput) Validate added in v1.0.7

func (s *BatchChatCompletionsInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type BatchChatCompletionsOutput added in v1.0.7

type BatchChatCompletionsOutput struct {
	Metadata *response.ResponseMetadata

	Choices []*ChoiceForBatchChatCompletionsOutput `type:"list" json:"choices,omitempty"`

	Created *int32 `type:"int32" json:"created,omitempty"`

	Id *string `type:"string" json:"id,omitempty"`

	Model *string `type:"string" json:"model,omitempty"`

	Object *string `type:"string" json:"object,omitempty"`

	Usage *UsageForBatchChatCompletionsOutput `type:"structure" json:"usage,omitempty"`
	// contains filtered or unexported fields
}

func (BatchChatCompletionsOutput) GoString added in v1.0.7

func (s BatchChatCompletionsOutput) GoString() string

GoString returns the string representation

func (*BatchChatCompletionsOutput) SetChoices added in v1.0.7

SetChoices sets the Choices field's value.

func (*BatchChatCompletionsOutput) SetCreated added in v1.0.7

SetCreated sets the Created field's value.

func (*BatchChatCompletionsOutput) SetId added in v1.0.7

SetId sets the Id field's value.

func (*BatchChatCompletionsOutput) SetModel added in v1.0.7

SetModel sets the Model field's value.

func (*BatchChatCompletionsOutput) SetObject added in v1.0.7

SetObject sets the Object field's value.

func (*BatchChatCompletionsOutput) SetUsage added in v1.0.7

SetUsage sets the Usage field's value.

func (BatchChatCompletionsOutput) String added in v1.0.7

String returns the string representation

type Bot_usageForBotsChatCompletionsOutput added in v1.0.7

type Bot_usageForBotsChatCompletionsOutput struct {
	Model_usage []*Model_usageForBotsChatCompletionsOutput `type:"list" json:"model_usage,omitempty"`
	// contains filtered or unexported fields
}

func (Bot_usageForBotsChatCompletionsOutput) GoString added in v1.0.7

GoString returns the string representation

func (*Bot_usageForBotsChatCompletionsOutput) SetModel_usage added in v1.0.7

SetModel_usage sets the Model_usage field's value.

func (Bot_usageForBotsChatCompletionsOutput) String added in v1.0.7

String returns the string representation

type BotsChatCompletionsInput added in v1.0.7

type BotsChatCompletionsInput struct {
	Frequency_penalty *float64 `type:"float" json:"frequency_penalty,omitempty"`

	Logit_bias *Logit_biasForBotsChatCompletionsInput `type:"structure" json:"logit_bias,omitempty"`

	Logprobs *bool `type:"boolean" json:"logprobs,omitempty"`

	Max_tokens *int32 `type:"int32" json:"max_tokens,omitempty"`

	Messages []*MessageForBotsChatCompletionsInput `type:"list" json:"messages,omitempty"`

	Metadata *MetadataForBotsChatCompletionsInput `type:"structure" json:"metadata,omitempty"`

	// Model is a required field
	Model *string `type:"string" json:"model,omitempty" required:"true"`

	Stop []*string `type:"list" json:"stop,omitempty"`

	Stream *bool `type:"boolean" json:"stream,omitempty"`

	Stream_options *Stream_optionsForBotsChatCompletionsInput `type:"structure" json:"stream_options,omitempty"`

	Temperature *float64 `type:"float" json:"temperature,omitempty"`

	Tools []*ToolForBotsChatCompletionsInput `type:"list" json:"tools,omitempty"`

	Top_logprobs *int32 `type:"int32" json:"top_logprobs,omitempty"`

	Top_p *float64 `type:"float" json:"top_p,omitempty"`
	// contains filtered or unexported fields
}

func (BotsChatCompletionsInput) GoString added in v1.0.7

func (s BotsChatCompletionsInput) GoString() string

GoString returns the string representation

func (*BotsChatCompletionsInput) SetFrequency_penalty added in v1.0.7

func (s *BotsChatCompletionsInput) SetFrequency_penalty(v float64) *BotsChatCompletionsInput

SetFrequency_penalty sets the Frequency_penalty field's value.

func (*BotsChatCompletionsInput) SetLogit_bias added in v1.0.7

SetLogit_bias sets the Logit_bias field's value.

func (*BotsChatCompletionsInput) SetLogprobs added in v1.0.7

SetLogprobs sets the Logprobs field's value.

func (*BotsChatCompletionsInput) SetMax_tokens added in v1.0.7

SetMax_tokens sets the Max_tokens field's value.

func (*BotsChatCompletionsInput) SetMessages added in v1.0.7

SetMessages sets the Messages field's value.

func (*BotsChatCompletionsInput) SetMetadata added in v1.0.7

SetMetadata sets the Metadata field's value.

func (*BotsChatCompletionsInput) SetModel added in v1.0.7

SetModel sets the Model field's value.

func (*BotsChatCompletionsInput) SetStop added in v1.0.7

SetStop sets the Stop field's value.

func (*BotsChatCompletionsInput) SetStream added in v1.0.7

SetStream sets the Stream field's value.

func (*BotsChatCompletionsInput) SetStream_options added in v1.0.7

SetStream_options sets the Stream_options field's value.

func (*BotsChatCompletionsInput) SetTemperature added in v1.0.7

SetTemperature sets the Temperature field's value.

func (*BotsChatCompletionsInput) SetTools added in v1.0.7

SetTools sets the Tools field's value.

func (*BotsChatCompletionsInput) SetTop_logprobs added in v1.0.7

SetTop_logprobs sets the Top_logprobs field's value.

func (*BotsChatCompletionsInput) SetTop_p added in v1.0.7

SetTop_p sets the Top_p field's value.

func (BotsChatCompletionsInput) String added in v1.0.7

func (s BotsChatCompletionsInput) String() string

String returns the string representation

func (*BotsChatCompletionsInput) Validate added in v1.0.7

func (s *BotsChatCompletionsInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type BotsChatCompletionsOutput added in v1.0.7

type BotsChatCompletionsOutput struct {
	Metadata *response.ResponseMetadata

	Bot_usage *Bot_usageForBotsChatCompletionsOutput `type:"structure" json:"bot_usage,omitempty"`

	Choices []*ChoiceForBotsChatCompletionsOutput `type:"list" json:"choices,omitempty"`

	Created *int32 `type:"int32" json:"created,omitempty"`

	Id *string `type:"string" json:"id,omitempty"`

	Metadata *MetadataForBotsChatCompletionsOutput `type:"structure" json:"metadata,omitempty"`

	Model *string `type:"string" json:"model,omitempty"`

	Object *string `type:"string" json:"object,omitempty"`

	References []*ReferenceForBotsChatCompletionsOutput `type:"list" json:"references,omitempty"`
	// contains filtered or unexported fields
}

func (BotsChatCompletionsOutput) GoString added in v1.0.7

func (s BotsChatCompletionsOutput) GoString() string

GoString returns the string representation

func (*BotsChatCompletionsOutput) SetBot_usage added in v1.0.7

SetBot_usage sets the Bot_usage field's value.

func (*BotsChatCompletionsOutput) SetChoices added in v1.0.7

SetChoices sets the Choices field's value.

func (*BotsChatCompletionsOutput) SetCreated added in v1.0.7

SetCreated sets the Created field's value.

func (*BotsChatCompletionsOutput) SetId added in v1.0.7

SetId sets the Id field's value.

func (*BotsChatCompletionsOutput) SetMetadata added in v1.0.7

SetMetadata sets the Metadata field's value.

func (*BotsChatCompletionsOutput) SetModel added in v1.0.7

SetModel sets the Model field's value.

func (*BotsChatCompletionsOutput) SetObject added in v1.0.7

SetObject sets the Object field's value.

func (*BotsChatCompletionsOutput) SetReferences added in v1.0.7

SetReferences sets the References field's value.

func (BotsChatCompletionsOutput) String added in v1.0.7

func (s BotsChatCompletionsOutput) String() string

String returns the string representation

type ChatCompletionsTextInput added in v1.0.7

type ChatCompletionsTextInput struct {
	Frequency_penalty *float64 `type:"float" json:"frequency_penalty,omitempty"`

	Logit_bias *Logit_biasForChatCompletionsTextInput `type:"structure" json:"logit_bias,omitempty"`

	Logprobs *bool `type:"boolean" json:"logprobs,omitempty"`

	Max_tokens *int32 `type:"int32" json:"max_tokens,omitempty"`

	Messages []*MessageForChatCompletionsTextInput `type:"list" json:"messages,omitempty"`

	// Model is a required field
	Model *string `type:"string" json:"model,omitempty" required:"true"`

	Presence_penalty *float64 `type:"float" json:"presence_penalty,omitempty"`

	Stop []*string `type:"list" json:"stop,omitempty"`

	Stream *bool `type:"boolean" json:"stream,omitempty"`

	Stream_options *Stream_optionsForChatCompletionsTextInput `type:"structure" json:"stream_options,omitempty"`

	Temperature *float64 `type:"float" json:"temperature,omitempty"`

	Tools []*ToolForChatCompletionsTextInput `type:"list" json:"tools,omitempty"`

	Top_logprobs *int32 `type:"int32" json:"top_logprobs,omitempty"`

	Top_p *float64 `type:"float" json:"top_p,omitempty"`
	// contains filtered or unexported fields
}

func (ChatCompletionsTextInput) GoString added in v1.0.7

func (s ChatCompletionsTextInput) GoString() string

GoString returns the string representation

func (*ChatCompletionsTextInput) SetFrequency_penalty added in v1.0.7

func (s *ChatCompletionsTextInput) SetFrequency_penalty(v float64) *ChatCompletionsTextInput

SetFrequency_penalty sets the Frequency_penalty field's value.

func (*ChatCompletionsTextInput) SetLogit_bias added in v1.0.7

SetLogit_bias sets the Logit_bias field's value.

func (*ChatCompletionsTextInput) SetLogprobs added in v1.0.7

SetLogprobs sets the Logprobs field's value.

func (*ChatCompletionsTextInput) SetMax_tokens added in v1.0.7

SetMax_tokens sets the Max_tokens field's value.

func (*ChatCompletionsTextInput) SetMessages added in v1.0.7

SetMessages sets the Messages field's value.

func (*ChatCompletionsTextInput) SetModel added in v1.0.7

SetModel sets the Model field's value.

func (*ChatCompletionsTextInput) SetPresence_penalty added in v1.0.7

func (s *ChatCompletionsTextInput) SetPresence_penalty(v float64) *ChatCompletionsTextInput

SetPresence_penalty sets the Presence_penalty field's value.

func (*ChatCompletionsTextInput) SetStop added in v1.0.7

SetStop sets the Stop field's value.

func (*ChatCompletionsTextInput) SetStream added in v1.0.7

SetStream sets the Stream field's value.

func (*ChatCompletionsTextInput) SetStream_options added in v1.0.7

SetStream_options sets the Stream_options field's value.

func (*ChatCompletionsTextInput) SetTemperature added in v1.0.7

SetTemperature sets the Temperature field's value.

func (*ChatCompletionsTextInput) SetTools added in v1.0.7

SetTools sets the Tools field's value.

func (*ChatCompletionsTextInput) SetTop_logprobs added in v1.0.7

SetTop_logprobs sets the Top_logprobs field's value.

func (*ChatCompletionsTextInput) SetTop_p added in v1.0.7

SetTop_p sets the Top_p field's value.

func (ChatCompletionsTextInput) String added in v1.0.7

func (s ChatCompletionsTextInput) String() string

String returns the string representation

func (*ChatCompletionsTextInput) Validate added in v1.0.7

func (s *ChatCompletionsTextInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type ChatCompletionsTextOutput added in v1.0.7

type ChatCompletionsTextOutput struct {
	Metadata *response.ResponseMetadata

	Choices []*ChoiceForChatCompletionsTextOutput `type:"list" json:"choices,omitempty"`

	Created *int32 `type:"int32" json:"created,omitempty"`

	Id *string `type:"string" json:"id,omitempty"`

	Model *string `type:"string" json:"model,omitempty"`

	Object *string `type:"string" json:"object,omitempty"`

	Usage *UsageForChatCompletionsTextOutput `type:"structure" json:"usage,omitempty"`
	// contains filtered or unexported fields
}

func (ChatCompletionsTextOutput) GoString added in v1.0.7

func (s ChatCompletionsTextOutput) GoString() string

GoString returns the string representation

func (*ChatCompletionsTextOutput) SetChoices added in v1.0.7

SetChoices sets the Choices field's value.

func (*ChatCompletionsTextOutput) SetCreated added in v1.0.7

SetCreated sets the Created field's value.

func (*ChatCompletionsTextOutput) SetId added in v1.0.7

SetId sets the Id field's value.

func (*ChatCompletionsTextOutput) SetModel added in v1.0.7

SetModel sets the Model field's value.

func (*ChatCompletionsTextOutput) SetObject added in v1.0.7

SetObject sets the Object field's value.

func (*ChatCompletionsTextOutput) SetUsage added in v1.0.7

SetUsage sets the Usage field's value.

func (ChatCompletionsTextOutput) String added in v1.0.7

func (s ChatCompletionsTextOutput) String() string

String returns the string representation

type ChatCompletionsVisionInput added in v1.0.7

type ChatCompletionsVisionInput struct {
	Logit_bias *Logit_biasForChatCompletionsVisionInput `type:"structure" json:"logit_bias,omitempty"`

	Logprobs *bool `type:"boolean" json:"logprobs,omitempty"`

	Max_tokens *int32 `type:"int32" json:"max_tokens,omitempty"`

	Messages *MessagesForChatCompletionsVisionInput `type:"structure" json:"messages,omitempty"`

	// Model is a required field
	Model *string `type:"string" json:"model,omitempty" required:"true"`

	Stop []*string `type:"list" json:"stop,omitempty"`

	Stream *bool `type:"boolean" json:"stream,omitempty"`

	Stream_options *Stream_optionsForChatCompletionsVisionInput `type:"structure" json:"stream_options,omitempty"`

	Temperature *float64 `type:"float" json:"temperature,omitempty"`

	Top_logprobs *int32 `type:"int32" json:"top_logprobs,omitempty"`

	Top_p *float64 `type:"float" json:"top_p,omitempty"`
	// contains filtered or unexported fields
}

func (ChatCompletionsVisionInput) GoString added in v1.0.7

func (s ChatCompletionsVisionInput) GoString() string

GoString returns the string representation

func (*ChatCompletionsVisionInput) SetLogit_bias added in v1.0.7

SetLogit_bias sets the Logit_bias field's value.

func (*ChatCompletionsVisionInput) SetLogprobs added in v1.0.7

SetLogprobs sets the Logprobs field's value.

func (*ChatCompletionsVisionInput) SetMax_tokens added in v1.0.7

SetMax_tokens sets the Max_tokens field's value.

func (*ChatCompletionsVisionInput) SetMessages added in v1.0.7

SetMessages sets the Messages field's value.

func (*ChatCompletionsVisionInput) SetModel added in v1.0.7

SetModel sets the Model field's value.

func (*ChatCompletionsVisionInput) SetStop added in v1.0.7

SetStop sets the Stop field's value.

func (*ChatCompletionsVisionInput) SetStream added in v1.0.7

SetStream sets the Stream field's value.

func (*ChatCompletionsVisionInput) SetStream_options added in v1.0.7

SetStream_options sets the Stream_options field's value.

func (*ChatCompletionsVisionInput) SetTemperature added in v1.0.7

SetTemperature sets the Temperature field's value.

func (*ChatCompletionsVisionInput) SetTop_logprobs added in v1.0.7

SetTop_logprobs sets the Top_logprobs field's value.

func (*ChatCompletionsVisionInput) SetTop_p added in v1.0.7

SetTop_p sets the Top_p field's value.

func (ChatCompletionsVisionInput) String added in v1.0.7

String returns the string representation

func (*ChatCompletionsVisionInput) Validate added in v1.0.7

func (s *ChatCompletionsVisionInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type ChatCompletionsVisionOutput added in v1.0.7

type ChatCompletionsVisionOutput struct {
	Metadata *response.ResponseMetadata

	Choices []*ChoiceForChatCompletionsVisionOutput `type:"list" json:"choices,omitempty"`

	Created *int32 `type:"int32" json:"created,omitempty"`

	Id *string `type:"string" json:"id,omitempty"`

	Model *string `type:"string" json:"model,omitempty"`

	Object *string `type:"string" json:"object,omitempty"`

	Usage *UsageForChatCompletionsVisionOutput `type:"structure" json:"usage,omitempty"`
	// contains filtered or unexported fields
}

func (ChatCompletionsVisionOutput) GoString added in v1.0.7

func (s ChatCompletionsVisionOutput) GoString() string

GoString returns the string representation

func (*ChatCompletionsVisionOutput) SetChoices added in v1.0.7

SetChoices sets the Choices field's value.

func (*ChatCompletionsVisionOutput) SetCreated added in v1.0.7

SetCreated sets the Created field's value.

func (*ChatCompletionsVisionOutput) SetId added in v1.0.7

SetId sets the Id field's value.

func (*ChatCompletionsVisionOutput) SetModel added in v1.0.7

SetModel sets the Model field's value.

func (*ChatCompletionsVisionOutput) SetObject added in v1.0.7

SetObject sets the Object field's value.

func (*ChatCompletionsVisionOutput) SetUsage added in v1.0.7

SetUsage sets the Usage field's value.

func (ChatCompletionsVisionOutput) String added in v1.0.7

String returns the string representation

type ChoiceForBatchChatCompletionsOutput added in v1.0.7

type ChoiceForBatchChatCompletionsOutput struct {
	Delta *DeltaForBatchChatCompletionsOutput `type:"structure" json:"delta,omitempty"`

	Finish_reason *string `type:"string" json:"finish_reason,omitempty"`

	Index *int32 `type:"int32" json:"index,omitempty"`

	Logprobs *LogprobsForBatchChatCompletionsOutput `type:"structure" json:"logprobs,omitempty"`

	Message *MessageForBatchChatCompletionsOutput `type:"structure" json:"message,omitempty"`
	// contains filtered or unexported fields
}

func (ChoiceForBatchChatCompletionsOutput) GoString added in v1.0.7

GoString returns the string representation

func (*ChoiceForBatchChatCompletionsOutput) SetDelta added in v1.0.7

SetDelta sets the Delta field's value.

func (*ChoiceForBatchChatCompletionsOutput) SetFinish_reason added in v1.0.7

SetFinish_reason sets the Finish_reason field's value.

func (*ChoiceForBatchChatCompletionsOutput) SetIndex added in v1.0.7

SetIndex sets the Index field's value.

func (*ChoiceForBatchChatCompletionsOutput) SetLogprobs added in v1.0.7

SetLogprobs sets the Logprobs field's value.

func (*ChoiceForBatchChatCompletionsOutput) SetMessage added in v1.0.7

SetMessage sets the Message field's value.

func (ChoiceForBatchChatCompletionsOutput) String added in v1.0.7

String returns the string representation

type ChoiceForBotsChatCompletionsOutput added in v1.0.7

type ChoiceForBotsChatCompletionsOutput struct {
	Delta *DeltaForBotsChatCompletionsOutput `type:"structure" json:"delta,omitempty"`

	Finish_reason *string `type:"string" json:"finish_reason,omitempty"`

	Index *int32 `type:"int32" json:"index,omitempty"`

	Logprobs *LogprobsForBotsChatCompletionsOutput `type:"structure" json:"logprobs,omitempty"`

	Message *MessageForBotsChatCompletionsOutput `type:"structure" json:"message,omitempty"`
	// contains filtered or unexported fields
}

func (ChoiceForBotsChatCompletionsOutput) GoString added in v1.0.7

GoString returns the string representation

func (*ChoiceForBotsChatCompletionsOutput) SetDelta added in v1.0.7

SetDelta sets the Delta field's value.

func (*ChoiceForBotsChatCompletionsOutput) SetFinish_reason added in v1.0.7

SetFinish_reason sets the Finish_reason field's value.

func (*ChoiceForBotsChatCompletionsOutput) SetIndex added in v1.0.7

SetIndex sets the Index field's value.

func (*ChoiceForBotsChatCompletionsOutput) SetLogprobs added in v1.0.7

SetLogprobs sets the Logprobs field's value.

func (*ChoiceForBotsChatCompletionsOutput) SetMessage added in v1.0.7

SetMessage sets the Message field's value.

func (ChoiceForBotsChatCompletionsOutput) String added in v1.0.7

String returns the string representation

type ChoiceForChatCompletionsTextOutput added in v1.0.7

type ChoiceForChatCompletionsTextOutput struct {
	Delta *DeltaForChatCompletionsTextOutput `type:"structure" json:"delta,omitempty"`

	Finish_reason *string `type:"string" json:"finish_reason,omitempty"`

	Index *int32 `type:"int32" json:"index,omitempty"`

	Logprobs *LogprobsForChatCompletionsTextOutput `type:"structure" json:"logprobs,omitempty"`

	Message *MessageForChatCompletionsTextOutput `type:"structure" json:"message,omitempty"`
	// contains filtered or unexported fields
}

func (ChoiceForChatCompletionsTextOutput) GoString added in v1.0.7

GoString returns the string representation

func (*ChoiceForChatCompletionsTextOutput) SetDelta added in v1.0.7

SetDelta sets the Delta field's value.

func (*ChoiceForChatCompletionsTextOutput) SetFinish_reason added in v1.0.7

SetFinish_reason sets the Finish_reason field's value.

func (*ChoiceForChatCompletionsTextOutput) SetIndex added in v1.0.7

SetIndex sets the Index field's value.

func (*ChoiceForChatCompletionsTextOutput) SetLogprobs added in v1.0.7

SetLogprobs sets the Logprobs field's value.

func (*ChoiceForChatCompletionsTextOutput) SetMessage added in v1.0.7

SetMessage sets the Message field's value.

func (ChoiceForChatCompletionsTextOutput) String added in v1.0.7

String returns the string representation

type ChoiceForChatCompletionsVisionOutput added in v1.0.7

type ChoiceForChatCompletionsVisionOutput struct {
	Delta *DeltaForChatCompletionsVisionOutput `type:"structure" json:"delta,omitempty"`

	Finish_reason *string `type:"string" json:"finish_reason,omitempty"`

	Index *int32 `type:"int32" json:"index,omitempty"`

	Logprobs *LogprobsForChatCompletionsVisionOutput `type:"structure" json:"logprobs,omitempty"`

	Message *MessageForChatCompletionsVisionOutput `type:"structure" json:"message,omitempty"`

	Moderation_hit_type *string `type:"string" json:"moderation_hit_type,omitempty"`
	// contains filtered or unexported fields
}

func (ChoiceForChatCompletionsVisionOutput) GoString added in v1.0.7

GoString returns the string representation

func (*ChoiceForChatCompletionsVisionOutput) SetDelta added in v1.0.7

SetDelta sets the Delta field's value.

func (*ChoiceForChatCompletionsVisionOutput) SetFinish_reason added in v1.0.7

SetFinish_reason sets the Finish_reason field's value.

func (*ChoiceForChatCompletionsVisionOutput) SetIndex added in v1.0.7

SetIndex sets the Index field's value.

func (*ChoiceForChatCompletionsVisionOutput) SetLogprobs added in v1.0.7

SetLogprobs sets the Logprobs field's value.

func (*ChoiceForChatCompletionsVisionOutput) SetMessage added in v1.0.7

SetMessage sets the Message field's value.

func (*ChoiceForChatCompletionsVisionOutput) SetModeration_hit_type added in v1.0.7

SetModeration_hit_type sets the Moderation_hit_type field's value.

func (ChoiceForChatCompletionsVisionOutput) String added in v1.0.7

String returns the string representation

type Completion_tokens_detailsForBatchChatCompletionsOutput added in v1.0.7

type Completion_tokens_detailsForBatchChatCompletionsOutput struct {
	// contains filtered or unexported fields
}

func (Completion_tokens_detailsForBatchChatCompletionsOutput) GoString added in v1.0.7

GoString returns the string representation

func (Completion_tokens_detailsForBatchChatCompletionsOutput) String added in v1.0.7

String returns the string representation

type Completion_tokens_detailsForChatCompletionsTextOutput added in v1.0.7

type Completion_tokens_detailsForChatCompletionsTextOutput struct {
	// contains filtered or unexported fields
}

func (Completion_tokens_detailsForChatCompletionsTextOutput) GoString added in v1.0.7

GoString returns the string representation

func (Completion_tokens_detailsForChatCompletionsTextOutput) String added in v1.0.7

String returns the string representation

type ContentForBatchChatCompletionsOutput added in v1.0.7

type ContentForBatchChatCompletionsOutput struct {
	Bytes []*int32 `type:"list" json:"bytes,omitempty"`

	Logprob *float64 `type:"float" json:"logprob,omitempty"`

	Token *string `type:"string" json:"token,omitempty"`

	Top_logprobs []*Top_logprobForBatchChatCompletionsOutput `type:"list" json:"top_logprobs,omitempty"`
	// contains filtered or unexported fields
}

func (ContentForBatchChatCompletionsOutput) GoString added in v1.0.7

GoString returns the string representation

func (*ContentForBatchChatCompletionsOutput) SetBytes added in v1.0.7

SetBytes sets the Bytes field's value.

func (*ContentForBatchChatCompletionsOutput) SetLogprob added in v1.0.7

SetLogprob sets the Logprob field's value.

func (*ContentForBatchChatCompletionsOutput) SetToken added in v1.0.7

SetToken sets the Token field's value.

func (*ContentForBatchChatCompletionsOutput) SetTop_logprobs added in v1.0.7

SetTop_logprobs sets the Top_logprobs field's value.

func (ContentForBatchChatCompletionsOutput) String added in v1.0.7

String returns the string representation

type ContentForBotsChatCompletionsOutput added in v1.0.7

type ContentForBotsChatCompletionsOutput struct {
	Bytes []*int32 `type:"list" json:"bytes,omitempty"`

	Logprob *float64 `type:"float" json:"logprob,omitempty"`

	Token *string `type:"string" json:"token,omitempty"`

	Top_logprobs []*Top_logprobForBotsChatCompletionsOutput `type:"list" json:"top_logprobs,omitempty"`
	// contains filtered or unexported fields
}

func (ContentForBotsChatCompletionsOutput) GoString added in v1.0.7

GoString returns the string representation

func (*ContentForBotsChatCompletionsOutput) SetBytes added in v1.0.7

SetBytes sets the Bytes field's value.

func (*ContentForBotsChatCompletionsOutput) SetLogprob added in v1.0.7

SetLogprob sets the Logprob field's value.

func (*ContentForBotsChatCompletionsOutput) SetToken added in v1.0.7

SetToken sets the Token field's value.

func (*ContentForBotsChatCompletionsOutput) SetTop_logprobs added in v1.0.7

SetTop_logprobs sets the Top_logprobs field's value.

func (ContentForBotsChatCompletionsOutput) String added in v1.0.7

String returns the string representation

type ContentForChatCompletionsTextOutput added in v1.0.7

type ContentForChatCompletionsTextOutput struct {
	Bytes []*int32 `type:"list" json:"bytes,omitempty"`

	Logprob *float64 `type:"float" json:"logprob,omitempty"`

	Token *string `type:"string" json:"token,omitempty"`

	Top_logprobs []*Top_logprobForChatCompletionsTextOutput `type:"list" json:"top_logprobs,omitempty"`
	// contains filtered or unexported fields
}

func (ContentForChatCompletionsTextOutput) GoString added in v1.0.7

GoString returns the string representation

func (*ContentForChatCompletionsTextOutput) SetBytes added in v1.0.7

SetBytes sets the Bytes field's value.

func (*ContentForChatCompletionsTextOutput) SetLogprob added in v1.0.7

SetLogprob sets the Logprob field's value.

func (*ContentForChatCompletionsTextOutput) SetToken added in v1.0.7

SetToken sets the Token field's value.

func (*ContentForChatCompletionsTextOutput) SetTop_logprobs added in v1.0.7

SetTop_logprobs sets the Top_logprobs field's value.

func (ContentForChatCompletionsTextOutput) String added in v1.0.7

String returns the string representation

type ContentForCreateContentsGenerationsTasksInput added in v1.0.7

type ContentForCreateContentsGenerationsTasksInput struct {
	// contains filtered or unexported fields
}

func (ContentForCreateContentsGenerationsTasksInput) GoString added in v1.0.7

GoString returns the string representation

func (ContentForCreateContentsGenerationsTasksInput) String added in v1.0.7

String returns the string representation

type ContextChatCompletionsInput added in v1.0.7

type ContextChatCompletionsInput struct {

	// Context_id is a required field
	Context_id *string `type:"string" json:"context_id,omitempty" required:"true"`

	Frequency_penalty *float64 `type:"float" json:"frequency_penalty,omitempty"`

	Logit_bias *Logit_biasForContextChatCompletionsInput `type:"structure" json:"logit_bias,omitempty"`

	Logprobs *bool `type:"boolean" json:"logprobs,omitempty"`

	Max_tokens *int32 `type:"int32" json:"max_tokens,omitempty"`

	Messages *MessagesForContextChatCompletionsInput `type:"structure" json:"messages,omitempty"`

	// Model is a required field
	Model *string `type:"string" json:"model,omitempty" required:"true"`

	Presence_penalty *float64 `type:"float" json:"presence_penalty,omitempty"`

	Stop []*string `type:"list" json:"stop,omitempty"`

	Stream *bool `type:"boolean" json:"stream,omitempty"`

	Stream_options *Stream_optionsForContextChatCompletionsInput `type:"structure" json:"stream_options,omitempty"`

	Temperature *float64 `type:"float" json:"temperature,omitempty"`

	Top_logprobs *int32 `type:"int32" json:"top_logprobs,omitempty"`

	Top_p *float64 `type:"float" json:"top_p,omitempty"`
	// contains filtered or unexported fields
}

func (ContextChatCompletionsInput) GoString added in v1.0.7

func (s ContextChatCompletionsInput) GoString() string

GoString returns the string representation

func (*ContextChatCompletionsInput) SetContext_id added in v1.0.7

SetContext_id sets the Context_id field's value.

func (*ContextChatCompletionsInput) SetFrequency_penalty added in v1.0.7

SetFrequency_penalty sets the Frequency_penalty field's value.

func (*ContextChatCompletionsInput) SetLogit_bias added in v1.0.7

SetLogit_bias sets the Logit_bias field's value.

func (*ContextChatCompletionsInput) SetLogprobs added in v1.0.7

SetLogprobs sets the Logprobs field's value.

func (*ContextChatCompletionsInput) SetMax_tokens added in v1.0.7

SetMax_tokens sets the Max_tokens field's value.

func (*ContextChatCompletionsInput) SetMessages added in v1.0.7

SetMessages sets the Messages field's value.

func (*ContextChatCompletionsInput) SetModel added in v1.0.7

SetModel sets the Model field's value.

func (*ContextChatCompletionsInput) SetPresence_penalty added in v1.0.7

SetPresence_penalty sets the Presence_penalty field's value.

func (*ContextChatCompletionsInput) SetStop added in v1.0.7

SetStop sets the Stop field's value.

func (*ContextChatCompletionsInput) SetStream added in v1.0.7

SetStream sets the Stream field's value.

func (*ContextChatCompletionsInput) SetStream_options added in v1.0.7

SetStream_options sets the Stream_options field's value.

func (*ContextChatCompletionsInput) SetTemperature added in v1.0.7

SetTemperature sets the Temperature field's value.

func (*ContextChatCompletionsInput) SetTop_logprobs added in v1.0.7

SetTop_logprobs sets the Top_logprobs field's value.

func (*ContextChatCompletionsInput) SetTop_p added in v1.0.7

SetTop_p sets the Top_p field's value.

func (ContextChatCompletionsInput) String added in v1.0.7

String returns the string representation

func (*ContextChatCompletionsInput) Validate added in v1.0.7

func (s *ContextChatCompletionsInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type ContextChatCompletionsOutput added in v1.0.7

type ContextChatCompletionsOutput struct {
	Metadata *response.ResponseMetadata
	// contains filtered or unexported fields
}

func (ContextChatCompletionsOutput) GoString added in v1.0.7

func (s ContextChatCompletionsOutput) GoString() string

GoString returns the string representation

func (ContextChatCompletionsOutput) String added in v1.0.7

String returns the string representation

type ContextCreateInput added in v1.0.7

type ContextCreateInput struct {
	Messages *MessagesForContextCreateInput `type:"structure" json:"messages,omitempty"`

	// Mode is a required field
	Mode *string `type:"string" json:"mode,omitempty" required:"true"`

	// Model is a required field
	Model *string `type:"string" json:"model,omitempty" required:"true"`

	Truncation_strategy *Truncation_strategyForContextCreateInput `type:"structure" json:"truncation_strategy,omitempty"`

	Ttl *int32 `type:"int32" json:"ttl,omitempty"`
	// contains filtered or unexported fields
}

func (ContextCreateInput) GoString added in v1.0.7

func (s ContextCreateInput) GoString() string

GoString returns the string representation

func (*ContextCreateInput) SetMessages added in v1.0.7

SetMessages sets the Messages field's value.

func (*ContextCreateInput) SetMode added in v1.0.7

SetMode sets the Mode field's value.

func (*ContextCreateInput) SetModel added in v1.0.7

SetModel sets the Model field's value.

func (*ContextCreateInput) SetTruncation_strategy added in v1.0.7

SetTruncation_strategy sets the Truncation_strategy field's value.

func (*ContextCreateInput) SetTtl added in v1.0.7

SetTtl sets the Ttl field's value.

func (ContextCreateInput) String added in v1.0.7

func (s ContextCreateInput) String() string

String returns the string representation

func (*ContextCreateInput) Validate added in v1.0.7

func (s *ContextCreateInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type ContextCreateOutput added in v1.0.7

type ContextCreateOutput struct {
	Metadata *response.ResponseMetadata

	Id *string `type:"string" json:"id,omitempty"`

	Model *string `type:"string" json:"model,omitempty"`

	Truncation_strategy *Truncation_strategyForContextCreateOutput `type:"structure" json:"truncation_strategy,omitempty"`

	Ttl *int32 `type:"int32" json:"ttl,omitempty"`

	Usage *UsageForContextCreateOutput `type:"structure" json:"usage,omitempty"`
	// contains filtered or unexported fields
}

func (ContextCreateOutput) GoString added in v1.0.7

func (s ContextCreateOutput) GoString() string

GoString returns the string representation

func (*ContextCreateOutput) SetId added in v1.0.7

SetId sets the Id field's value.

func (*ContextCreateOutput) SetModel added in v1.0.7

SetModel sets the Model field's value.

func (*ContextCreateOutput) SetTruncation_strategy added in v1.0.7

SetTruncation_strategy sets the Truncation_strategy field's value.

func (*ContextCreateOutput) SetTtl added in v1.0.7

SetTtl sets the Ttl field's value.

func (*ContextCreateOutput) SetUsage added in v1.0.7

SetUsage sets the Usage field's value.

func (ContextCreateOutput) String added in v1.0.7

func (s ContextCreateOutput) String() string

String returns the string representation

type ConvertfunctionForBatchChatCompletionsInput added in v1.0.7

type ConvertfunctionForBatchChatCompletionsInput struct {
	Description *string `type:"string" json:"description,omitempty"`

	Name *string `type:"string" json:"name,omitempty"`

	Parameters *ParametersForBatchChatCompletionsInput `type:"structure" json:"parameters,omitempty"`
	// contains filtered or unexported fields
}

func (ConvertfunctionForBatchChatCompletionsInput) GoString added in v1.0.7

GoString returns the string representation

func (*ConvertfunctionForBatchChatCompletionsInput) SetDescription added in v1.0.7

SetDescription sets the Description field's value.

func (*ConvertfunctionForBatchChatCompletionsInput) SetName added in v1.0.7

SetName sets the Name field's value.

func (*ConvertfunctionForBatchChatCompletionsInput) SetParameters added in v1.0.7

SetParameters sets the Parameters field's value.

func (ConvertfunctionForBatchChatCompletionsInput) String added in v1.0.7

String returns the string representation

type ConvertfunctionForBotsChatCompletionsInput added in v1.0.7

type ConvertfunctionForBotsChatCompletionsInput struct {
	Description *string `type:"string" json:"description,omitempty"`

	Name *string `type:"string" json:"name,omitempty"`

	Parameters *ParametersForBotsChatCompletionsInput `type:"structure" json:"parameters,omitempty"`
	// contains filtered or unexported fields
}

func (ConvertfunctionForBotsChatCompletionsInput) GoString added in v1.0.7

GoString returns the string representation

func (*ConvertfunctionForBotsChatCompletionsInput) SetDescription added in v1.0.7

SetDescription sets the Description field's value.

func (*ConvertfunctionForBotsChatCompletionsInput) SetName added in v1.0.7

SetName sets the Name field's value.

func (*ConvertfunctionForBotsChatCompletionsInput) SetParameters added in v1.0.7

SetParameters sets the Parameters field's value.

func (ConvertfunctionForBotsChatCompletionsInput) String added in v1.0.7

String returns the string representation

type ConvertfunctionForChatCompletionsTextInput added in v1.0.7

type ConvertfunctionForChatCompletionsTextInput struct {
	Description *string `type:"string" json:"description,omitempty"`

	Name *string `type:"string" json:"name,omitempty"`

	Parameters *ParametersForChatCompletionsTextInput `type:"structure" json:"parameters,omitempty"`
	// contains filtered or unexported fields
}

func (ConvertfunctionForChatCompletionsTextInput) GoString added in v1.0.7

GoString returns the string representation

func (*ConvertfunctionForChatCompletionsTextInput) SetDescription added in v1.0.7

SetDescription sets the Description field's value.

func (*ConvertfunctionForChatCompletionsTextInput) SetName added in v1.0.7

SetName sets the Name field's value.

func (*ConvertfunctionForChatCompletionsTextInput) SetParameters added in v1.0.7

SetParameters sets the Parameters field's value.

func (ConvertfunctionForChatCompletionsTextInput) String added in v1.0.7

String returns the string representation

type Converttool_callForBatchChatCompletionsOutput added in v1.0.7

type Converttool_callForBatchChatCompletionsOutput struct {
	Function *FunctionForBatchChatCompletionsOutput `type:"structure" json:"function,omitempty"`

	Id *string `type:"string" json:"id,omitempty"`

	Type *string `type:"string" json:"type,omitempty"`
	// contains filtered or unexported fields
}

func (Converttool_callForBatchChatCompletionsOutput) GoString added in v1.0.7

GoString returns the string representation

func (*Converttool_callForBatchChatCompletionsOutput) SetFunction added in v1.0.7

SetFunction sets the Function field's value.

func (*Converttool_callForBatchChatCompletionsOutput) SetId added in v1.0.7

SetId sets the Id field's value.

func (*Converttool_callForBatchChatCompletionsOutput) SetType added in v1.0.7

SetType sets the Type field's value.

func (Converttool_callForBatchChatCompletionsOutput) String added in v1.0.7

String returns the string representation

type Converttool_callForBotsChatCompletionsOutput added in v1.0.7

type Converttool_callForBotsChatCompletionsOutput struct {
	Function *FunctionForBotsChatCompletionsOutput `type:"structure" json:"function,omitempty"`

	Id *string `type:"string" json:"id,omitempty"`

	Type *string `type:"string" json:"type,omitempty"`
	// contains filtered or unexported fields
}

func (Converttool_callForBotsChatCompletionsOutput) GoString added in v1.0.7

GoString returns the string representation

func (*Converttool_callForBotsChatCompletionsOutput) SetFunction added in v1.0.7

SetFunction sets the Function field's value.

func (*Converttool_callForBotsChatCompletionsOutput) SetId added in v1.0.7

SetId sets the Id field's value.

func (*Converttool_callForBotsChatCompletionsOutput) SetType added in v1.0.7

SetType sets the Type field's value.

func (Converttool_callForBotsChatCompletionsOutput) String added in v1.0.7

String returns the string representation

type Converttool_callForChatCompletionsTextOutput added in v1.0.7

type Converttool_callForChatCompletionsTextOutput struct {
	Function *FunctionForChatCompletionsTextOutput `type:"structure" json:"function,omitempty"`

	Id *string `type:"string" json:"id,omitempty"`

	Type *string `type:"string" json:"type,omitempty"`
	// contains filtered or unexported fields
}

func (Converttool_callForChatCompletionsTextOutput) GoString added in v1.0.7

GoString returns the string representation

func (*Converttool_callForChatCompletionsTextOutput) SetFunction added in v1.0.7

SetFunction sets the Function field's value.

func (*Converttool_callForChatCompletionsTextOutput) SetId added in v1.0.7

SetId sets the Id field's value.

func (*Converttool_callForChatCompletionsTextOutput) SetType added in v1.0.7

SetType sets the Type field's value.

func (Converttool_callForChatCompletionsTextOutput) String added in v1.0.7

String returns the string representation

type CreateBatchInferenceJobInput

type CreateBatchInferenceJobInput struct {
	CompletionWindow *string `type:"string" json:",omitempty"`

	Description *string `type:"string" json:",omitempty"`

	DryRun *bool `type:"boolean" json:",omitempty"`

	InputFileTosLocation *InputFileTosLocationForCreateBatchInferenceJobInput `type:"structure" json:",omitempty"`

	ModelReference *ModelReferenceForCreateBatchInferenceJobInput `type:"structure" json:",omitempty"`

	// Name is a required field
	Name *string `type:"string" json:",omitempty" required:"true"`

	OutputDirTosLocation *OutputDirTosLocationForCreateBatchInferenceJobInput `type:"structure" json:",omitempty"`

	ProjectName *string `type:"string" json:",omitempty"`

	Tags []*TagForCreateBatchInferenceJobInput `type:"list" json:",omitempty"`
	// contains filtered or unexported fields
}

func (CreateBatchInferenceJobInput) GoString

func (s CreateBatchInferenceJobInput) GoString() string

GoString returns the string representation

func (*CreateBatchInferenceJobInput) SetCompletionWindow

SetCompletionWindow sets the CompletionWindow field's value.

func (*CreateBatchInferenceJobInput) SetDescription

SetDescription sets the Description field's value.

func (*CreateBatchInferenceJobInput) SetDryRun

SetDryRun sets the DryRun field's value.

func (*CreateBatchInferenceJobInput) SetInputFileTosLocation

SetInputFileTosLocation sets the InputFileTosLocation field's value.

func (*CreateBatchInferenceJobInput) SetModelReference

SetModelReference sets the ModelReference field's value.

func (*CreateBatchInferenceJobInput) SetName

SetName sets the Name field's value.

func (*CreateBatchInferenceJobInput) SetOutputDirTosLocation

SetOutputDirTosLocation sets the OutputDirTosLocation field's value.

func (*CreateBatchInferenceJobInput) SetProjectName

SetProjectName sets the ProjectName field's value.

func (*CreateBatchInferenceJobInput) SetTags

SetTags sets the Tags field's value.

func (CreateBatchInferenceJobInput) String

String returns the string representation

func (*CreateBatchInferenceJobInput) Validate

func (s *CreateBatchInferenceJobInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type CreateBatchInferenceJobOutput

type CreateBatchInferenceJobOutput struct {
	Metadata *response.ResponseMetadata

	Id *string `type:"string" json:",omitempty"`
	// contains filtered or unexported fields
}

func (CreateBatchInferenceJobOutput) GoString

GoString returns the string representation

func (*CreateBatchInferenceJobOutput) SetId

SetId sets the Id field's value.

func (CreateBatchInferenceJobOutput) String

String returns the string representation

type CreateContentsGenerationsTasksInput added in v1.0.7

type CreateContentsGenerationsTasksInput struct {
	Content []*ContentForCreateContentsGenerationsTasksInput `type:"list" json:"content,omitempty"`

	// Model is a required field
	Model *string `type:"string" json:"model,omitempty" required:"true"`
	// contains filtered or unexported fields
}

func (CreateContentsGenerationsTasksInput) GoString added in v1.0.7

GoString returns the string representation

func (*CreateContentsGenerationsTasksInput) SetContent added in v1.0.7

SetContent sets the Content field's value.

func (*CreateContentsGenerationsTasksInput) SetModel added in v1.0.7

SetModel sets the Model field's value.

func (CreateContentsGenerationsTasksInput) String added in v1.0.7

String returns the string representation

func (*CreateContentsGenerationsTasksInput) Validate added in v1.0.7

Validate inspects the fields of the type to determine if they are valid.

type CreateContentsGenerationsTasksOutput added in v1.0.7

type CreateContentsGenerationsTasksOutput struct {
	Metadata *response.ResponseMetadata

	Id *string `type:"string" json:"id,omitempty"`
	// contains filtered or unexported fields
}

func (CreateContentsGenerationsTasksOutput) GoString added in v1.0.7

GoString returns the string representation

func (*CreateContentsGenerationsTasksOutput) SetId added in v1.0.7

SetId sets the Id field's value.

func (CreateContentsGenerationsTasksOutput) String added in v1.0.7

String returns the string representation

type CreateEndpointInput

type CreateEndpointInput struct {
	Description *string `type:"string" json:",omitempty"`

	DryRun *bool `type:"boolean" json:",omitempty"`

	ModelReference *ModelReferenceForCreateEndpointInput `type:"structure" json:",omitempty"`

	ModelUnitId *string `type:"string" json:",omitempty"`

	Moderation *ModerationForCreateEndpointInput `type:"structure" json:",omitempty"`

	// Name is a required field
	Name *string `type:"string" json:",omitempty" required:"true"`

	ProjectName *string `type:"string" json:",omitempty"`

	RateLimit *RateLimitForCreateEndpointInput `type:"structure" json:",omitempty"`

	Tags []*TagForCreateEndpointInput `type:"list" json:",omitempty"`
	// contains filtered or unexported fields
}

func (CreateEndpointInput) GoString

func (s CreateEndpointInput) GoString() string

GoString returns the string representation

func (*CreateEndpointInput) SetDescription

func (s *CreateEndpointInput) SetDescription(v string) *CreateEndpointInput

SetDescription sets the Description field's value.

func (*CreateEndpointInput) SetDryRun

func (s *CreateEndpointInput) SetDryRun(v bool) *CreateEndpointInput

SetDryRun sets the DryRun field's value.

func (*CreateEndpointInput) SetModelReference

SetModelReference sets the ModelReference field's value.

func (*CreateEndpointInput) SetModelUnitId

func (s *CreateEndpointInput) SetModelUnitId(v string) *CreateEndpointInput

SetModelUnitId sets the ModelUnitId field's value.

func (*CreateEndpointInput) SetModeration

SetModeration sets the Moderation field's value.

func (*CreateEndpointInput) SetName

SetName sets the Name field's value.

func (*CreateEndpointInput) SetProjectName

func (s *CreateEndpointInput) SetProjectName(v string) *CreateEndpointInput

SetProjectName sets the ProjectName field's value.

func (*CreateEndpointInput) SetRateLimit

SetRateLimit sets the RateLimit field's value.

func (*CreateEndpointInput) SetTags

SetTags sets the Tags field's value.

func (CreateEndpointInput) String

func (s CreateEndpointInput) String() string

String returns the string representation

func (*CreateEndpointInput) Validate

func (s *CreateEndpointInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type CreateEndpointOutput

type CreateEndpointOutput struct {
	Metadata *response.ResponseMetadata

	Id *string `type:"string" json:",omitempty"`
	// contains filtered or unexported fields
}

func (CreateEndpointOutput) GoString

func (s CreateEndpointOutput) GoString() string

GoString returns the string representation

func (*CreateEndpointOutput) SetId

SetId sets the Id field's value.

func (CreateEndpointOutput) String

func (s CreateEndpointOutput) String() string

String returns the string representation

type CreateModelCustomizationJobInput

type CreateModelCustomizationJobInput struct {

	// CustomizationType is a required field
	CustomizationType *string `type:"string" json:",omitempty" required:"true" enum:"EnumOfCustomizationTypeForCreateModelCustomizationJobInput"`

	Data *DataForCreateModelCustomizationJobInput `type:"structure" json:",omitempty"`

	Description *string `type:"string" json:",omitempty"`

	Hyperparameters []*HyperparameterForCreateModelCustomizationJobInput `type:"list" json:",omitempty"`

	ModelReference *ModelReferenceForCreateModelCustomizationJobInput `type:"structure" json:",omitempty"`

	// Name is a required field
	Name *string `type:"string" json:",omitempty" required:"true"`

	ProjectName *string `type:"string" json:",omitempty"`

	SaveModelLimit *int32 `min:"1" max:"10" type:"int32" json:",omitempty"`

	Tags []*TagForCreateModelCustomizationJobInput `type:"list" json:",omitempty"`
	// contains filtered or unexported fields
}

func (CreateModelCustomizationJobInput) GoString

GoString returns the string representation

func (*CreateModelCustomizationJobInput) SetCustomizationType

SetCustomizationType sets the CustomizationType field's value.

func (*CreateModelCustomizationJobInput) SetData

SetData sets the Data field's value.

func (*CreateModelCustomizationJobInput) SetDescription

SetDescription sets the Description field's value.

func (*CreateModelCustomizationJobInput) SetHyperparameters

SetHyperparameters sets the Hyperparameters field's value.

func (*CreateModelCustomizationJobInput) SetModelReference

SetModelReference sets the ModelReference field's value.

func (*CreateModelCustomizationJobInput) SetName

SetName sets the Name field's value.

func (*CreateModelCustomizationJobInput) SetProjectName

SetProjectName sets the ProjectName field's value.

func (*CreateModelCustomizationJobInput) SetSaveModelLimit

SetSaveModelLimit sets the SaveModelLimit field's value.

func (*CreateModelCustomizationJobInput) SetTags

SetTags sets the Tags field's value.

func (CreateModelCustomizationJobInput) String

String returns the string representation

func (*CreateModelCustomizationJobInput) Validate

Validate inspects the fields of the type to determine if they are valid.

type CreateModelCustomizationJobOutput

type CreateModelCustomizationJobOutput struct {
	Metadata *response.ResponseMetadata

	Id *string `type:"string" json:",omitempty"`
	// contains filtered or unexported fields
}

func (CreateModelCustomizationJobOutput) GoString

GoString returns the string representation

func (*CreateModelCustomizationJobOutput) SetId

SetId sets the Id field's value.

func (CreateModelCustomizationJobOutput) String

String returns the string representation

type DataForCreateModelCustomizationJobInput

type DataForCreateModelCustomizationJobInput struct {
	EncryptionKeyringType *string `type:"string" json:",omitempty" enum:"EnumOfEncryptionKeyringTypeForCreateModelCustomizationJobInput"`

	KMSTrn *string `type:"string" json:",omitempty"`

	TrainingSet *TrainingSetForCreateModelCustomizationJobInput `type:"structure" json:",omitempty"`

	ValidationPercentage *int32 `type:"int32" json:",omitempty"`

	ValidationSet *ValidationSetForCreateModelCustomizationJobInput `type:"structure" json:",omitempty"`
	// contains filtered or unexported fields
}

func (DataForCreateModelCustomizationJobInput) GoString

GoString returns the string representation

func (*DataForCreateModelCustomizationJobInput) SetEncryptionKeyringType

SetEncryptionKeyringType sets the EncryptionKeyringType field's value.

func (*DataForCreateModelCustomizationJobInput) SetKMSTrn

SetKMSTrn sets the KMSTrn field's value.

func (*DataForCreateModelCustomizationJobInput) SetTrainingSet

SetTrainingSet sets the TrainingSet field's value.

func (*DataForCreateModelCustomizationJobInput) SetValidationPercentage

SetValidationPercentage sets the ValidationPercentage field's value.

func (*DataForCreateModelCustomizationJobInput) SetValidationSet

SetValidationSet sets the ValidationSet field's value.

func (DataForCreateModelCustomizationJobInput) String

String returns the string representation

type DataForEmbeddingsMultimodalOutput added in v1.0.7

type DataForEmbeddingsMultimodalOutput struct {
	Embedding []*string `type:"list" json:"embedding,omitempty"`

	Object *string `type:"string" json:"object,omitempty"`
	// contains filtered or unexported fields
}

func (DataForEmbeddingsMultimodalOutput) GoString added in v1.0.7

GoString returns the string representation

func (*DataForEmbeddingsMultimodalOutput) SetEmbedding added in v1.0.7

SetEmbedding sets the Embedding field's value.

func (*DataForEmbeddingsMultimodalOutput) SetObject added in v1.0.7

SetObject sets the Object field's value.

func (DataForEmbeddingsMultimodalOutput) String added in v1.0.7

String returns the string representation

type DataForEmbeddingsOutput added in v1.0.7

type DataForEmbeddingsOutput struct {
	Embedding []*string `type:"list" json:"embedding,omitempty"`

	Index *int32 `type:"int32" json:"index,omitempty"`

	Object *string `type:"string" json:"object,omitempty"`
	// contains filtered or unexported fields
}

func (DataForEmbeddingsOutput) GoString added in v1.0.7

func (s DataForEmbeddingsOutput) GoString() string

GoString returns the string representation

func (*DataForEmbeddingsOutput) SetEmbedding added in v1.0.7

SetEmbedding sets the Embedding field's value.

func (*DataForEmbeddingsOutput) SetIndex added in v1.0.7

SetIndex sets the Index field's value.

func (*DataForEmbeddingsOutput) SetObject added in v1.0.7

SetObject sets the Object field's value.

func (DataForEmbeddingsOutput) String added in v1.0.7

func (s DataForEmbeddingsOutput) String() string

String returns the string representation

type DataForGetModelCustomizationJobOutput

type DataForGetModelCustomizationJobOutput struct {
	EncryptionKeyringType *string `type:"string" json:",omitempty" enum:"EnumOfEncryptionKeyringTypeForGetModelCustomizationJobOutput"`

	KMSTrn *string `type:"string" json:",omitempty"`

	TrainingSet *TrainingSetForGetModelCustomizationJobOutput `type:"structure" json:",omitempty"`

	ValidationPercentage *int32 `type:"int32" json:",omitempty"`

	ValidationSet *ValidationSetForGetModelCustomizationJobOutput `type:"structure" json:",omitempty"`
	// contains filtered or unexported fields
}

func (DataForGetModelCustomizationJobOutput) GoString

GoString returns the string representation

func (*DataForGetModelCustomizationJobOutput) SetEncryptionKeyringType

SetEncryptionKeyringType sets the EncryptionKeyringType field's value.

func (*DataForGetModelCustomizationJobOutput) SetKMSTrn

SetKMSTrn sets the KMSTrn field's value.

func (*DataForGetModelCustomizationJobOutput) SetTrainingSet

SetTrainingSet sets the TrainingSet field's value.

func (*DataForGetModelCustomizationJobOutput) SetValidationPercentage

SetValidationPercentage sets the ValidationPercentage field's value.

func (*DataForGetModelCustomizationJobOutput) SetValidationSet

SetValidationSet sets the ValidationSet field's value.

func (DataForGetModelCustomizationJobOutput) String

String returns the string representation

type DataForListModelCustomizationJobsOutput

type DataForListModelCustomizationJobsOutput struct {
	EncryptionKeyringType *string `type:"string" json:",omitempty" enum:"EnumOfEncryptionKeyringTypeForListModelCustomizationJobsOutput"`

	KMSTrn *string `type:"string" json:",omitempty"`

	TrainingSet *TrainingSetForListModelCustomizationJobsOutput `type:"structure" json:",omitempty"`

	ValidationPercentage *int32 `type:"int32" json:",omitempty"`

	ValidationSet *ValidationSetForListModelCustomizationJobsOutput `type:"structure" json:",omitempty"`
	// contains filtered or unexported fields
}

func (DataForListModelCustomizationJobsOutput) GoString

GoString returns the string representation

func (*DataForListModelCustomizationJobsOutput) SetEncryptionKeyringType

SetEncryptionKeyringType sets the EncryptionKeyringType field's value.

func (*DataForListModelCustomizationJobsOutput) SetKMSTrn

SetKMSTrn sets the KMSTrn field's value.

func (*DataForListModelCustomizationJobsOutput) SetTrainingSet

SetTrainingSet sets the TrainingSet field's value.

func (*DataForListModelCustomizationJobsOutput) SetValidationPercentage

SetValidationPercentage sets the ValidationPercentage field's value.

func (*DataForListModelCustomizationJobsOutput) SetValidationSet

SetValidationSet sets the ValidationSet field's value.

func (DataForListModelCustomizationJobsOutput) String

String returns the string representation

type DataForTokenizationOutput added in v1.0.7

type DataForTokenizationOutput struct {
	Index *int32 `type:"int32" json:"index,omitempty"`

	Object *string `type:"string" json:"object,omitempty"`

	Offset_mapping []*int32 `type:"list" json:"offset_mapping,omitempty"`

	Token_ids []*int32 `type:"list" json:"token_ids,omitempty"`

	Total_tokens *int32 `type:"int32" json:"total_tokens,omitempty"`
	// contains filtered or unexported fields
}

func (DataForTokenizationOutput) GoString added in v1.0.7

func (s DataForTokenizationOutput) GoString() string

GoString returns the string representation

func (*DataForTokenizationOutput) SetIndex added in v1.0.7

SetIndex sets the Index field's value.

func (*DataForTokenizationOutput) SetObject added in v1.0.7

SetObject sets the Object field's value.

func (*DataForTokenizationOutput) SetOffset_mapping added in v1.0.7

func (s *DataForTokenizationOutput) SetOffset_mapping(v []*int32) *DataForTokenizationOutput

SetOffset_mapping sets the Offset_mapping field's value.

func (*DataForTokenizationOutput) SetToken_ids added in v1.0.7

SetToken_ids sets the Token_ids field's value.

func (*DataForTokenizationOutput) SetTotal_tokens added in v1.0.7

SetTotal_tokens sets the Total_tokens field's value.

func (DataForTokenizationOutput) String added in v1.0.7

func (s DataForTokenizationOutput) String() string

String returns the string representation

type DatasetForCreateModelCustomizationJobInput

type DatasetForCreateModelCustomizationJobInput struct {
	DatasetId *string `type:"string" json:",omitempty"`

	DatasetVersionId *string `type:"string" json:",omitempty"`

	Multiplier *float64 `type:"double" json:",omitempty"`

	SampleCount *int64 `type:"int64" json:",omitempty"`
	// contains filtered or unexported fields
}

func (DatasetForCreateModelCustomizationJobInput) GoString

GoString returns the string representation

func (*DatasetForCreateModelCustomizationJobInput) SetDatasetId

SetDatasetId sets the DatasetId field's value.

func (*DatasetForCreateModelCustomizationJobInput) SetDatasetVersionId

SetDatasetVersionId sets the DatasetVersionId field's value.

func (*DatasetForCreateModelCustomizationJobInput) SetMultiplier

SetMultiplier sets the Multiplier field's value.

func (*DatasetForCreateModelCustomizationJobInput) SetSampleCount

SetSampleCount sets the SampleCount field's value.

func (DatasetForCreateModelCustomizationJobInput) String

String returns the string representation

type DatasetForGetModelCustomizationJobOutput

type DatasetForGetModelCustomizationJobOutput struct {
	DatasetId *string `type:"string" json:",omitempty"`

	DatasetVersionId *string `type:"string" json:",omitempty"`

	Multiplier *float64 `type:"double" json:",omitempty"`

	SampleCount *int64 `type:"int64" json:",omitempty"`
	// contains filtered or unexported fields
}

func (DatasetForGetModelCustomizationJobOutput) GoString

GoString returns the string representation

func (*DatasetForGetModelCustomizationJobOutput) SetDatasetId

SetDatasetId sets the DatasetId field's value.

func (*DatasetForGetModelCustomizationJobOutput) SetDatasetVersionId

SetDatasetVersionId sets the DatasetVersionId field's value.

func (*DatasetForGetModelCustomizationJobOutput) SetMultiplier

SetMultiplier sets the Multiplier field's value.

func (*DatasetForGetModelCustomizationJobOutput) SetSampleCount

SetSampleCount sets the SampleCount field's value.

func (DatasetForGetModelCustomizationJobOutput) String

String returns the string representation

type DatasetForListModelCustomizationJobsOutput

type DatasetForListModelCustomizationJobsOutput struct {
	DatasetId *string `type:"string" json:",omitempty"`

	DatasetVersionId *string `type:"string" json:",omitempty"`

	Multiplier *float64 `type:"double" json:",omitempty"`

	SampleCount *int64 `type:"int64" json:",omitempty"`
	// contains filtered or unexported fields
}

func (DatasetForListModelCustomizationJobsOutput) GoString

GoString returns the string representation

func (*DatasetForListModelCustomizationJobsOutput) SetDatasetId

SetDatasetId sets the DatasetId field's value.

func (*DatasetForListModelCustomizationJobsOutput) SetDatasetVersionId

SetDatasetVersionId sets the DatasetVersionId field's value.

func (*DatasetForListModelCustomizationJobsOutput) SetMultiplier

SetMultiplier sets the Multiplier field's value.

func (*DatasetForListModelCustomizationJobsOutput) SetSampleCount

SetSampleCount sets the SampleCount field's value.

func (DatasetForListModelCustomizationJobsOutput) String

String returns the string representation

type DeleteEndpointInput

type DeleteEndpointInput struct {

	// Id is a required field
	Id *string `type:"string" json:",omitempty" required:"true"`
	// contains filtered or unexported fields
}

func (DeleteEndpointInput) GoString

func (s DeleteEndpointInput) GoString() string

GoString returns the string representation

func (*DeleteEndpointInput) SetId

SetId sets the Id field's value.

func (DeleteEndpointInput) String

func (s DeleteEndpointInput) String() string

String returns the string representation

func (*DeleteEndpointInput) Validate

func (s *DeleteEndpointInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type DeleteEndpointOutput

type DeleteEndpointOutput struct {
	Metadata *response.ResponseMetadata
	// contains filtered or unexported fields
}

func (DeleteEndpointOutput) GoString

func (s DeleteEndpointOutput) GoString() string

GoString returns the string representation

func (DeleteEndpointOutput) String

func (s DeleteEndpointOutput) String() string

String returns the string representation

type DeltaForBatchChatCompletionsOutput added in v1.0.7

type DeltaForBatchChatCompletionsOutput struct {
	Content *string `type:"string" json:"content,omitempty"`

	Role *string `type:"string" json:"role,omitempty"`

	Tool_calls []*Tool_callForBatchChatCompletionsOutput `type:"list" json:"tool_calls,omitempty"`
	// contains filtered or unexported fields
}

func (DeltaForBatchChatCompletionsOutput) GoString added in v1.0.7

GoString returns the string representation

func (*DeltaForBatchChatCompletionsOutput) SetContent added in v1.0.7

SetContent sets the Content field's value.

func (*DeltaForBatchChatCompletionsOutput) SetRole added in v1.0.7

SetRole sets the Role field's value.

func (*DeltaForBatchChatCompletionsOutput) SetTool_calls added in v1.0.7

SetTool_calls sets the Tool_calls field's value.

func (DeltaForBatchChatCompletionsOutput) String added in v1.0.7

String returns the string representation

type DeltaForBotsChatCompletionsOutput added in v1.0.7

type DeltaForBotsChatCompletionsOutput struct {
	Content *string `type:"string" json:"content,omitempty"`

	Role *string `type:"string" json:"role,omitempty"`

	Tool_calls []*Tool_callForBotsChatCompletionsOutput `type:"list" json:"tool_calls,omitempty"`
	// contains filtered or unexported fields
}

func (DeltaForBotsChatCompletionsOutput) GoString added in v1.0.7

GoString returns the string representation

func (*DeltaForBotsChatCompletionsOutput) SetContent added in v1.0.7

SetContent sets the Content field's value.

func (*DeltaForBotsChatCompletionsOutput) SetRole added in v1.0.7

SetRole sets the Role field's value.

func (*DeltaForBotsChatCompletionsOutput) SetTool_calls added in v1.0.7

SetTool_calls sets the Tool_calls field's value.

func (DeltaForBotsChatCompletionsOutput) String added in v1.0.7

String returns the string representation

type DeltaForChatCompletionsTextOutput added in v1.0.7

type DeltaForChatCompletionsTextOutput struct {
	Content *string `type:"string" json:"content,omitempty"`

	Role *string `type:"string" json:"role,omitempty"`

	Tool_calls []*Tool_callForChatCompletionsTextOutput `type:"list" json:"tool_calls,omitempty"`
	// contains filtered or unexported fields
}

func (DeltaForChatCompletionsTextOutput) GoString added in v1.0.7

GoString returns the string representation

func (*DeltaForChatCompletionsTextOutput) SetContent added in v1.0.7

SetContent sets the Content field's value.

func (*DeltaForChatCompletionsTextOutput) SetRole added in v1.0.7

SetRole sets the Role field's value.

func (*DeltaForChatCompletionsTextOutput) SetTool_calls added in v1.0.7

SetTool_calls sets the Tool_calls field's value.

func (DeltaForChatCompletionsTextOutput) String added in v1.0.7

String returns the string representation

type DeltaForChatCompletionsVisionOutput added in v1.0.7

type DeltaForChatCompletionsVisionOutput struct {
	// contains filtered or unexported fields
}

func (DeltaForChatCompletionsVisionOutput) GoString added in v1.0.7

GoString returns the string representation

func (DeltaForChatCompletionsVisionOutput) String added in v1.0.7

String returns the string representation

type EmbeddingsInput added in v1.0.7

type EmbeddingsInput struct {
	Encoding_format *string `type:"string" json:"encoding_format,omitempty"`

	Input []*string `type:"list" json:"input,omitempty"`

	// Model is a required field
	Model *string `type:"string" json:"model,omitempty" required:"true"`
	// contains filtered or unexported fields
}

func (EmbeddingsInput) GoString added in v1.0.7

func (s EmbeddingsInput) GoString() string

GoString returns the string representation

func (*EmbeddingsInput) SetEncoding_format added in v1.0.7

func (s *EmbeddingsInput) SetEncoding_format(v string) *EmbeddingsInput

SetEncoding_format sets the Encoding_format field's value.

func (*EmbeddingsInput) SetInput added in v1.0.7

func (s *EmbeddingsInput) SetInput(v []*string) *EmbeddingsInput

SetInput sets the Input field's value.

func (*EmbeddingsInput) SetModel added in v1.0.7

func (s *EmbeddingsInput) SetModel(v string) *EmbeddingsInput

SetModel sets the Model field's value.

func (EmbeddingsInput) String added in v1.0.7

func (s EmbeddingsInput) String() string

String returns the string representation

func (*EmbeddingsInput) Validate added in v1.0.7

func (s *EmbeddingsInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type EmbeddingsMultimodalInput added in v1.0.7

type EmbeddingsMultimodalInput struct {
	Encoding_format *string `type:"string" json:"encoding_format,omitempty"`

	Input []*InputForEmbeddingsMultimodalInput `type:"list" json:"input,omitempty"`

	// Model is a required field
	Model *string `type:"string" json:"model,omitempty" required:"true"`
	// contains filtered or unexported fields
}

func (EmbeddingsMultimodalInput) GoString added in v1.0.7

func (s EmbeddingsMultimodalInput) GoString() string

GoString returns the string representation

func (*EmbeddingsMultimodalInput) SetEncoding_format added in v1.0.7

SetEncoding_format sets the Encoding_format field's value.

func (*EmbeddingsMultimodalInput) SetInput added in v1.0.7

SetInput sets the Input field's value.

func (*EmbeddingsMultimodalInput) SetModel added in v1.0.7

SetModel sets the Model field's value.

func (EmbeddingsMultimodalInput) String added in v1.0.7

func (s EmbeddingsMultimodalInput) String() string

String returns the string representation

func (*EmbeddingsMultimodalInput) Validate added in v1.0.7

func (s *EmbeddingsMultimodalInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type EmbeddingsMultimodalOutput added in v1.0.7

type EmbeddingsMultimodalOutput struct {
	Metadata *response.ResponseMetadata

	Created *int32 `type:"int32" json:"created,omitempty"`

	Data *DataForEmbeddingsMultimodalOutput `type:"structure" json:"data,omitempty"`

	Id *string `type:"string" json:"id,omitempty"`

	Model *string `type:"string" json:"model,omitempty"`

	Object *string `type:"string" json:"object,omitempty"`

	Usage *UsageForEmbeddingsMultimodalOutput `type:"structure" json:"usage,omitempty"`
	// contains filtered or unexported fields
}

func (EmbeddingsMultimodalOutput) GoString added in v1.0.7

func (s EmbeddingsMultimodalOutput) GoString() string

GoString returns the string representation

func (*EmbeddingsMultimodalOutput) SetCreated added in v1.0.7

SetCreated sets the Created field's value.

func (*EmbeddingsMultimodalOutput) SetData added in v1.0.7

SetData sets the Data field's value.

func (*EmbeddingsMultimodalOutput) SetId added in v1.0.7

SetId sets the Id field's value.

func (*EmbeddingsMultimodalOutput) SetModel added in v1.0.7

SetModel sets the Model field's value.

func (*EmbeddingsMultimodalOutput) SetObject added in v1.0.7

SetObject sets the Object field's value.

func (*EmbeddingsMultimodalOutput) SetUsage added in v1.0.7

SetUsage sets the Usage field's value.

func (EmbeddingsMultimodalOutput) String added in v1.0.7

String returns the string representation

type EmbeddingsOutput added in v1.0.7

type EmbeddingsOutput struct {
	Metadata *response.ResponseMetadata

	Created *int32 `type:"int32" json:"created,omitempty"`

	Data []*DataForEmbeddingsOutput `type:"list" json:"data,omitempty"`

	Id *string `type:"string" json:"id,omitempty"`

	Model *string `type:"string" json:"model,omitempty"`

	Object *string `type:"string" json:"object,omitempty"`

	Usage *UsageForEmbeddingsOutput `type:"structure" json:"usage,omitempty"`
	// contains filtered or unexported fields
}

func (EmbeddingsOutput) GoString added in v1.0.7

func (s EmbeddingsOutput) GoString() string

GoString returns the string representation

func (*EmbeddingsOutput) SetCreated added in v1.0.7

func (s *EmbeddingsOutput) SetCreated(v int32) *EmbeddingsOutput

SetCreated sets the Created field's value.

func (*EmbeddingsOutput) SetData added in v1.0.7

SetData sets the Data field's value.

func (*EmbeddingsOutput) SetId added in v1.0.7

SetId sets the Id field's value.

func (*EmbeddingsOutput) SetModel added in v1.0.7

func (s *EmbeddingsOutput) SetModel(v string) *EmbeddingsOutput

SetModel sets the Model field's value.

func (*EmbeddingsOutput) SetObject added in v1.0.7

func (s *EmbeddingsOutput) SetObject(v string) *EmbeddingsOutput

SetObject sets the Object field's value.

func (*EmbeddingsOutput) SetUsage added in v1.0.7

SetUsage sets the Usage field's value.

func (EmbeddingsOutput) String added in v1.0.7

func (s EmbeddingsOutput) String() string

String returns the string representation

type FilterForListBatchInferenceJobsInput

type FilterForListBatchInferenceJobsInput struct {
	CustomModelIds []*string `type:"list" json:",omitempty"`

	FoundationModels []*FoundationModelForListBatchInferenceJobsInput `type:"list" json:",omitempty"`

	Ids []*string `type:"list" json:",omitempty"`

	Name *string `type:"string" json:",omitempty"`

	Phases []*string `type:"list" json:",omitempty"`
	// contains filtered or unexported fields
}

func (FilterForListBatchInferenceJobsInput) GoString

GoString returns the string representation

func (*FilterForListBatchInferenceJobsInput) SetCustomModelIds

SetCustomModelIds sets the CustomModelIds field's value.

func (*FilterForListBatchInferenceJobsInput) SetFoundationModels

SetFoundationModels sets the FoundationModels field's value.

func (*FilterForListBatchInferenceJobsInput) SetIds

SetIds sets the Ids field's value.

func (*FilterForListBatchInferenceJobsInput) SetName

SetName sets the Name field's value.

func (*FilterForListBatchInferenceJobsInput) SetPhases

SetPhases sets the Phases field's value.

func (FilterForListBatchInferenceJobsInput) String

String returns the string representation

type FilterForListEndpointsInput

type FilterForListEndpointsInput struct {
	CustomModelIds []*string `type:"list" json:",omitempty"`

	EndpointModelTypes []*string `type:"list" json:",omitempty"`

	FoundationModelName *string `type:"string" json:",omitempty"`

	Ids []*string `type:"list" json:",omitempty"`

	ModelVersions []*string `type:"list" json:",omitempty"`

	Name *string `type:"string" json:",omitempty"`

	Statuses []*string `type:"list" json:",omitempty"`
	// contains filtered or unexported fields
}

func (FilterForListEndpointsInput) GoString

func (s FilterForListEndpointsInput) GoString() string

GoString returns the string representation

func (*FilterForListEndpointsInput) SetCustomModelIds

SetCustomModelIds sets the CustomModelIds field's value.

func (*FilterForListEndpointsInput) SetEndpointModelTypes

func (s *FilterForListEndpointsInput) SetEndpointModelTypes(v []*string) *FilterForListEndpointsInput

SetEndpointModelTypes sets the EndpointModelTypes field's value.

func (*FilterForListEndpointsInput) SetFoundationModelName

func (s *FilterForListEndpointsInput) SetFoundationModelName(v string) *FilterForListEndpointsInput

SetFoundationModelName sets the FoundationModelName field's value.

func (*FilterForListEndpointsInput) SetIds

SetIds sets the Ids field's value.

func (*FilterForListEndpointsInput) SetModelVersions

SetModelVersions sets the ModelVersions field's value.

func (*FilterForListEndpointsInput) SetName

SetName sets the Name field's value.

func (*FilterForListEndpointsInput) SetStatuses

SetStatuses sets the Statuses field's value.

func (FilterForListEndpointsInput) String

String returns the string representation

type FilterForListModelCustomizationJobsInput

type FilterForListModelCustomizationJobsInput struct {
	CreateTimeAfter *string `type:"string" json:",omitempty"`

	CreateTimeBefore *string `type:"string" json:",omitempty"`

	CustomModelIds []*string `type:"list" json:",omitempty"`

	CustomizationTypes []*string `type:"list" json:",omitempty"`

	FoundationModels []*FoundationModelForListModelCustomizationJobsInput `type:"list" json:",omitempty"`

	Ids []*string `type:"list" json:",omitempty"`

	Name *string `type:"string" json:",omitempty"`

	Phases []*string `type:"list" json:",omitempty"`
	// contains filtered or unexported fields
}

func (FilterForListModelCustomizationJobsInput) GoString

GoString returns the string representation

func (*FilterForListModelCustomizationJobsInput) SetCreateTimeAfter

SetCreateTimeAfter sets the CreateTimeAfter field's value.

func (*FilterForListModelCustomizationJobsInput) SetCreateTimeBefore

SetCreateTimeBefore sets the CreateTimeBefore field's value.

func (*FilterForListModelCustomizationJobsInput) SetCustomModelIds

SetCustomModelIds sets the CustomModelIds field's value.

func (*FilterForListModelCustomizationJobsInput) SetCustomizationTypes

SetCustomizationTypes sets the CustomizationTypes field's value.

func (*FilterForListModelCustomizationJobsInput) SetFoundationModels

SetFoundationModels sets the FoundationModels field's value.

func (*FilterForListModelCustomizationJobsInput) SetIds

SetIds sets the Ids field's value.

func (*FilterForListModelCustomizationJobsInput) SetName

SetName sets the Name field's value.

func (*FilterForListModelCustomizationJobsInput) SetPhases

SetPhases sets the Phases field's value.

func (FilterForListModelCustomizationJobsInput) String

String returns the string representation

type FoundationModelForCreateBatchInferenceJobInput

type FoundationModelForCreateBatchInferenceJobInput struct {
	ModelVersion *string `type:"string" json:",omitempty"`

	Name *string `type:"string" json:",omitempty"`
	// contains filtered or unexported fields
}

func (FoundationModelForCreateBatchInferenceJobInput) GoString

GoString returns the string representation

func (*FoundationModelForCreateBatchInferenceJobInput) SetModelVersion

SetModelVersion sets the ModelVersion field's value.

func (*FoundationModelForCreateBatchInferenceJobInput) SetName

SetName sets the Name field's value.

func (FoundationModelForCreateBatchInferenceJobInput) String

String returns the string representation

type FoundationModelForCreateEndpointInput

type FoundationModelForCreateEndpointInput struct {
	ModelVersion *string `type:"string" json:",omitempty"`

	Name *string `type:"string" json:",omitempty"`
	// contains filtered or unexported fields
}

func (FoundationModelForCreateEndpointInput) GoString

GoString returns the string representation

func (*FoundationModelForCreateEndpointInput) SetModelVersion

SetModelVersion sets the ModelVersion field's value.

func (*FoundationModelForCreateEndpointInput) SetName

SetName sets the Name field's value.

func (FoundationModelForCreateEndpointInput) String

String returns the string representation

type FoundationModelForCreateModelCustomizationJobInput

type FoundationModelForCreateModelCustomizationJobInput struct {
	ModelVersion *string `type:"string" json:",omitempty"`

	Name *string `type:"string" json:",omitempty"`
	// contains filtered or unexported fields
}

func (FoundationModelForCreateModelCustomizationJobInput) GoString

GoString returns the string representation

func (*FoundationModelForCreateModelCustomizationJobInput) SetModelVersion

SetModelVersion sets the ModelVersion field's value.

func (*FoundationModelForCreateModelCustomizationJobInput) SetName

SetName sets the Name field's value.

func (FoundationModelForCreateModelCustomizationJobInput) String

String returns the string representation

type FoundationModelForGetEndpointOutput

type FoundationModelForGetEndpointOutput struct {
	ModelVersion *string `type:"string" json:",omitempty"`

	Name *string `type:"string" json:",omitempty"`
	// contains filtered or unexported fields
}

func (FoundationModelForGetEndpointOutput) GoString

GoString returns the string representation

func (*FoundationModelForGetEndpointOutput) SetModelVersion

SetModelVersion sets the ModelVersion field's value.

func (*FoundationModelForGetEndpointOutput) SetName

SetName sets the Name field's value.

func (FoundationModelForGetEndpointOutput) String

String returns the string representation

type FoundationModelForGetModelCustomizationJobOutput

type FoundationModelForGetModelCustomizationJobOutput struct {
	ModelVersion *string `type:"string" json:",omitempty"`

	Name *string `type:"string" json:",omitempty"`
	// contains filtered or unexported fields
}

func (FoundationModelForGetModelCustomizationJobOutput) GoString

GoString returns the string representation

func (*FoundationModelForGetModelCustomizationJobOutput) SetModelVersion

SetModelVersion sets the ModelVersion field's value.

func (*FoundationModelForGetModelCustomizationJobOutput) SetName

SetName sets the Name field's value.

func (FoundationModelForGetModelCustomizationJobOutput) String

String returns the string representation

type FoundationModelForListBatchInferenceJobsInput

type FoundationModelForListBatchInferenceJobsInput struct {
	ModelVersions []*string `type:"list" json:",omitempty"`

	Name *string `type:"string" json:",omitempty"`
	// contains filtered or unexported fields
}

func (FoundationModelForListBatchInferenceJobsInput) GoString

GoString returns the string representation

func (*FoundationModelForListBatchInferenceJobsInput) SetModelVersions

SetModelVersions sets the ModelVersions field's value.

func (*FoundationModelForListBatchInferenceJobsInput) SetName

SetName sets the Name field's value.

func (FoundationModelForListBatchInferenceJobsInput) String

String returns the string representation

type FoundationModelForListBatchInferenceJobsOutput

type FoundationModelForListBatchInferenceJobsOutput struct {
	ModelVersion *string `type:"string" json:",omitempty"`

	Name *string `type:"string" json:",omitempty"`
	// contains filtered or unexported fields
}

func (FoundationModelForListBatchInferenceJobsOutput) GoString

GoString returns the string representation

func (*FoundationModelForListBatchInferenceJobsOutput) SetModelVersion

SetModelVersion sets the ModelVersion field's value.

func (*FoundationModelForListBatchInferenceJobsOutput) SetName

SetName sets the Name field's value.

func (FoundationModelForListBatchInferenceJobsOutput) String

String returns the string representation

type FoundationModelForListEndpointsOutput

type FoundationModelForListEndpointsOutput struct {
	ModelVersion *string `type:"string" json:",omitempty"`

	Name *string `type:"string" json:",omitempty"`
	// contains filtered or unexported fields
}

func (FoundationModelForListEndpointsOutput) GoString

GoString returns the string representation

func (*FoundationModelForListEndpointsOutput) SetModelVersion

SetModelVersion sets the ModelVersion field's value.

func (*FoundationModelForListEndpointsOutput) SetName

SetName sets the Name field's value.

func (FoundationModelForListEndpointsOutput) String

String returns the string representation

type FoundationModelForListModelCustomizationJobsInput

type FoundationModelForListModelCustomizationJobsInput struct {
	ModelVersions []*string `type:"list" json:",omitempty"`

	Name *string `type:"string" json:",omitempty"`
	// contains filtered or unexported fields
}

func (FoundationModelForListModelCustomizationJobsInput) GoString

GoString returns the string representation

func (*FoundationModelForListModelCustomizationJobsInput) SetModelVersions

SetModelVersions sets the ModelVersions field's value.

func (*FoundationModelForListModelCustomizationJobsInput) SetName

SetName sets the Name field's value.

func (FoundationModelForListModelCustomizationJobsInput) String

String returns the string representation

type FoundationModelForListModelCustomizationJobsOutput

type FoundationModelForListModelCustomizationJobsOutput struct {
	ModelVersion *string `type:"string" json:",omitempty"`

	Name *string `type:"string" json:",omitempty"`
	// contains filtered or unexported fields
}

func (FoundationModelForListModelCustomizationJobsOutput) GoString

GoString returns the string representation

func (*FoundationModelForListModelCustomizationJobsOutput) SetModelVersion

SetModelVersion sets the ModelVersion field's value.

func (*FoundationModelForListModelCustomizationJobsOutput) SetName

SetName sets the Name field's value.

func (FoundationModelForListModelCustomizationJobsOutput) String

String returns the string representation

type FunctionForBatchChatCompletionsInput added in v1.0.7

type FunctionForBatchChatCompletionsInput struct {
	Arguments *string `type:"string" json:"arguments,omitempty"`

	Name *string `type:"string" json:"name,omitempty"`
	// contains filtered or unexported fields
}

func (FunctionForBatchChatCompletionsInput) GoString added in v1.0.7

GoString returns the string representation

func (*FunctionForBatchChatCompletionsInput) SetArguments added in v1.0.7

SetArguments sets the Arguments field's value.

func (*FunctionForBatchChatCompletionsInput) SetName added in v1.0.7

SetName sets the Name field's value.

func (FunctionForBatchChatCompletionsInput) String added in v1.0.7

String returns the string representation

type FunctionForBatchChatCompletionsOutput added in v1.0.7

type FunctionForBatchChatCompletionsOutput struct {
	Arguments *string `type:"string" json:"arguments,omitempty"`

	Name *string `type:"string" json:"name,omitempty"`
	// contains filtered or unexported fields
}

func (FunctionForBatchChatCompletionsOutput) GoString added in v1.0.7

GoString returns the string representation

func (*FunctionForBatchChatCompletionsOutput) SetArguments added in v1.0.7

SetArguments sets the Arguments field's value.

func (*FunctionForBatchChatCompletionsOutput) SetName added in v1.0.7

SetName sets the Name field's value.

func (FunctionForBatchChatCompletionsOutput) String added in v1.0.7

String returns the string representation

type FunctionForBotsChatCompletionsInput added in v1.0.7

type FunctionForBotsChatCompletionsInput struct {
	Arguments *string `type:"string" json:"arguments,omitempty"`

	Name *string `type:"string" json:"name,omitempty"`
	// contains filtered or unexported fields
}

func (FunctionForBotsChatCompletionsInput) GoString added in v1.0.7

GoString returns the string representation

func (*FunctionForBotsChatCompletionsInput) SetArguments added in v1.0.7

SetArguments sets the Arguments field's value.

func (*FunctionForBotsChatCompletionsInput) SetName added in v1.0.7

SetName sets the Name field's value.

func (FunctionForBotsChatCompletionsInput) String added in v1.0.7

String returns the string representation

type FunctionForBotsChatCompletionsOutput added in v1.0.7

type FunctionForBotsChatCompletionsOutput struct {
	Arguments *string `type:"string" json:"arguments,omitempty"`

	Name *string `type:"string" json:"name,omitempty"`
	// contains filtered or unexported fields
}

func (FunctionForBotsChatCompletionsOutput) GoString added in v1.0.7

GoString returns the string representation

func (*FunctionForBotsChatCompletionsOutput) SetArguments added in v1.0.7

SetArguments sets the Arguments field's value.

func (*FunctionForBotsChatCompletionsOutput) SetName added in v1.0.7

SetName sets the Name field's value.

func (FunctionForBotsChatCompletionsOutput) String added in v1.0.7

String returns the string representation

type FunctionForChatCompletionsTextInput added in v1.0.7

type FunctionForChatCompletionsTextInput struct {
	Arguments *string `type:"string" json:"arguments,omitempty"`

	Name *string `type:"string" json:"name,omitempty"`
	// contains filtered or unexported fields
}

func (FunctionForChatCompletionsTextInput) GoString added in v1.0.7

GoString returns the string representation

func (*FunctionForChatCompletionsTextInput) SetArguments added in v1.0.7

SetArguments sets the Arguments field's value.

func (*FunctionForChatCompletionsTextInput) SetName added in v1.0.7

SetName sets the Name field's value.

func (FunctionForChatCompletionsTextInput) String added in v1.0.7

String returns the string representation

type FunctionForChatCompletionsTextOutput added in v1.0.7

type FunctionForChatCompletionsTextOutput struct {
	Arguments *string `type:"string" json:"arguments,omitempty"`

	Name *string `type:"string" json:"name,omitempty"`
	// contains filtered or unexported fields
}

func (FunctionForChatCompletionsTextOutput) GoString added in v1.0.7

GoString returns the string representation

func (*FunctionForChatCompletionsTextOutput) SetArguments added in v1.0.7

SetArguments sets the Arguments field's value.

func (*FunctionForChatCompletionsTextOutput) SetName added in v1.0.7

SetName sets the Name field's value.

func (FunctionForChatCompletionsTextOutput) String added in v1.0.7

String returns the string representation

type GetApiKeyInput

type GetApiKeyInput struct {

	// DurationSeconds is a required field
	DurationSeconds *int32 `type:"int32" json:",omitempty" required:"true"`

	ResourceIds []*string `type:"list" json:",omitempty"`

	// ResourceType is a required field
	ResourceType *string `type:"string" json:",omitempty" required:"true"`
	// contains filtered or unexported fields
}

func (GetApiKeyInput) GoString

func (s GetApiKeyInput) GoString() string

GoString returns the string representation

func (*GetApiKeyInput) SetDurationSeconds

func (s *GetApiKeyInput) SetDurationSeconds(v int32) *GetApiKeyInput

SetDurationSeconds sets the DurationSeconds field's value.

func (*GetApiKeyInput) SetResourceIds

func (s *GetApiKeyInput) SetResourceIds(v []*string) *GetApiKeyInput

SetResourceIds sets the ResourceIds field's value.

func (*GetApiKeyInput) SetResourceType

func (s *GetApiKeyInput) SetResourceType(v string) *GetApiKeyInput

SetResourceType sets the ResourceType field's value.

func (GetApiKeyInput) String

func (s GetApiKeyInput) String() string

String returns the string representation

func (*GetApiKeyInput) Validate

func (s *GetApiKeyInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type GetApiKeyOutput

type GetApiKeyOutput struct {
	Metadata *response.ResponseMetadata

	ApiKey *string `type:"string" json:",omitempty"`

	ExpiredTime *int32 `type:"int32" json:",omitempty"`
	// contains filtered or unexported fields
}

func (GetApiKeyOutput) GoString

func (s GetApiKeyOutput) GoString() string

GoString returns the string representation

func (*GetApiKeyOutput) SetApiKey

func (s *GetApiKeyOutput) SetApiKey(v string) *GetApiKeyOutput

SetApiKey sets the ApiKey field's value.

func (*GetApiKeyOutput) SetExpiredTime

func (s *GetApiKeyOutput) SetExpiredTime(v int32) *GetApiKeyOutput

SetExpiredTime sets the ExpiredTime field's value.

func (GetApiKeyOutput) String

func (s GetApiKeyOutput) String() string

String returns the string representation

type GetEndpointCertificateInput added in v1.0.7

type GetEndpointCertificateInput struct {

	// Id is a required field
	Id *string `type:"string" json:",omitempty" required:"true"`
	// contains filtered or unexported fields
}

func (GetEndpointCertificateInput) GoString added in v1.0.7

func (s GetEndpointCertificateInput) GoString() string

GoString returns the string representation

func (*GetEndpointCertificateInput) SetId added in v1.0.7

SetId sets the Id field's value.

func (GetEndpointCertificateInput) String added in v1.0.7

String returns the string representation

func (*GetEndpointCertificateInput) Validate added in v1.0.7

func (s *GetEndpointCertificateInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type GetEndpointCertificateOutput added in v1.0.7

type GetEndpointCertificateOutput struct {
	Metadata *response.ResponseMetadata

	NotAfter *int64 `type:"int64" json:",omitempty"`

	NotBefore *int64 `type:"int64" json:",omitempty"`

	PCAHost *string `type:"string" json:",omitempty"`

	PCAInstanceCertificate *string `type:"string" json:",omitempty"`

	PCAName *string `type:"string" json:",omitempty"`

	PCARootCACertificate *string `type:"string" json:",omitempty"`

	PCASubCACertificate *string `type:"string" json:",omitempty"`
	// contains filtered or unexported fields
}

func (GetEndpointCertificateOutput) GoString added in v1.0.7

func (s GetEndpointCertificateOutput) GoString() string

GoString returns the string representation

func (*GetEndpointCertificateOutput) SetNotAfter added in v1.0.7

SetNotAfter sets the NotAfter field's value.

func (*GetEndpointCertificateOutput) SetNotBefore added in v1.0.7

SetNotBefore sets the NotBefore field's value.

func (*GetEndpointCertificateOutput) SetPCAHost added in v1.0.7

SetPCAHost sets the PCAHost field's value.

func (*GetEndpointCertificateOutput) SetPCAInstanceCertificate added in v1.0.7

func (s *GetEndpointCertificateOutput) SetPCAInstanceCertificate(v string) *GetEndpointCertificateOutput

SetPCAInstanceCertificate sets the PCAInstanceCertificate field's value.

func (*GetEndpointCertificateOutput) SetPCAName added in v1.0.7

SetPCAName sets the PCAName field's value.

func (*GetEndpointCertificateOutput) SetPCARootCACertificate added in v1.0.7

func (s *GetEndpointCertificateOutput) SetPCARootCACertificate(v string) *GetEndpointCertificateOutput

SetPCARootCACertificate sets the PCARootCACertificate field's value.

func (*GetEndpointCertificateOutput) SetPCASubCACertificate added in v1.0.7

SetPCASubCACertificate sets the PCASubCACertificate field's value.

func (GetEndpointCertificateOutput) String added in v1.0.7

String returns the string representation

type GetEndpointInput

type GetEndpointInput struct {

	// Id is a required field
	Id *string `type:"string" json:",omitempty" required:"true"`
	// contains filtered or unexported fields
}

func (GetEndpointInput) GoString

func (s GetEndpointInput) GoString() string

GoString returns the string representation

func (*GetEndpointInput) SetId

SetId sets the Id field's value.

func (GetEndpointInput) String

func (s GetEndpointInput) String() string

String returns the string representation

func (*GetEndpointInput) Validate

func (s *GetEndpointInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type GetEndpointOutput

type GetEndpointOutput struct {
	Metadata *response.ResponseMetadata

	BatchOnly *bool `type:"boolean" json:",omitempty"`

	CreateTime *string `type:"string" json:",omitempty"`

	Description *string `type:"string" json:",omitempty"`

	EndpointModelType *string `type:"string" json:",omitempty"`

	Id *string `type:"string" json:",omitempty"`

	ModelReference *ModelReferenceForGetEndpointOutput `type:"structure" json:",omitempty"`

	ModelUnitId *string `type:"string" json:",omitempty"`

	Moderation *ModerationForGetEndpointOutput `type:"structure" json:",omitempty"`

	Name *string `type:"string" json:",omitempty"`

	ProjectName *string `type:"string" json:",omitempty"`

	RateLimit *RateLimitForGetEndpointOutput `type:"structure" json:",omitempty"`

	RollingId *string `type:"string" json:",omitempty"`

	ScaleTierId *string `type:"string" json:",omitempty"`

	Status *string `type:"string" json:",omitempty"`

	StatusReason *string `type:"string" json:",omitempty"`

	SupportRolling *bool `type:"boolean" json:",omitempty"`

	SupportScaleTier *bool `type:"boolean" json:",omitempty"`

	Tags []*TagForGetEndpointOutput `type:"list" json:",omitempty"`

	UpdateTime *string `type:"string" json:",omitempty"`
	// contains filtered or unexported fields
}

func (GetEndpointOutput) GoString

func (s GetEndpointOutput) GoString() string

GoString returns the string representation

func (*GetEndpointOutput) SetBatchOnly

func (s *GetEndpointOutput) SetBatchOnly(v bool) *GetEndpointOutput

SetBatchOnly sets the BatchOnly field's value.

func (*GetEndpointOutput) SetCreateTime

func (s *GetEndpointOutput) SetCreateTime(v string) *GetEndpointOutput

SetCreateTime sets the CreateTime field's value.

func (*GetEndpointOutput) SetDescription

func (s *GetEndpointOutput) SetDescription(v string) *GetEndpointOutput

SetDescription sets the Description field's value.

func (*GetEndpointOutput) SetEndpointModelType

func (s *GetEndpointOutput) SetEndpointModelType(v string) *GetEndpointOutput

SetEndpointModelType sets the EndpointModelType field's value.

func (*GetEndpointOutput) SetId

SetId sets the Id field's value.

func (*GetEndpointOutput) SetModelReference

SetModelReference sets the ModelReference field's value.

func (*GetEndpointOutput) SetModelUnitId

func (s *GetEndpointOutput) SetModelUnitId(v string) *GetEndpointOutput

SetModelUnitId sets the ModelUnitId field's value.

func (*GetEndpointOutput) SetModeration

SetModeration sets the Moderation field's value.

func (*GetEndpointOutput) SetName

SetName sets the Name field's value.

func (*GetEndpointOutput) SetProjectName

func (s *GetEndpointOutput) SetProjectName(v string) *GetEndpointOutput

SetProjectName sets the ProjectName field's value.

func (*GetEndpointOutput) SetRateLimit

SetRateLimit sets the RateLimit field's value.

func (*GetEndpointOutput) SetRollingId

func (s *GetEndpointOutput) SetRollingId(v string) *GetEndpointOutput

SetRollingId sets the RollingId field's value.

func (*GetEndpointOutput) SetScaleTierId

func (s *GetEndpointOutput) SetScaleTierId(v string) *GetEndpointOutput

SetScaleTierId sets the ScaleTierId field's value.

func (*GetEndpointOutput) SetStatus

func (s *GetEndpointOutput) SetStatus(v string) *GetEndpointOutput

SetStatus sets the Status field's value.

func (*GetEndpointOutput) SetStatusReason

func (s *GetEndpointOutput) SetStatusReason(v string) *GetEndpointOutput

SetStatusReason sets the StatusReason field's value.

func (*GetEndpointOutput) SetSupportRolling

func (s *GetEndpointOutput) SetSupportRolling(v bool) *GetEndpointOutput

SetSupportRolling sets the SupportRolling field's value.

func (*GetEndpointOutput) SetSupportScaleTier

func (s *GetEndpointOutput) SetSupportScaleTier(v bool) *GetEndpointOutput

SetSupportScaleTier sets the SupportScaleTier field's value.

func (*GetEndpointOutput) SetTags

SetTags sets the Tags field's value.

func (*GetEndpointOutput) SetUpdateTime

func (s *GetEndpointOutput) SetUpdateTime(v string) *GetEndpointOutput

SetUpdateTime sets the UpdateTime field's value.

func (GetEndpointOutput) String

func (s GetEndpointOutput) String() string

String returns the string representation

type GetModelCustomizationJobInput

type GetModelCustomizationJobInput struct {

	// Id is a required field
	Id *string `type:"string" json:",omitempty" required:"true"`
	// contains filtered or unexported fields
}

func (GetModelCustomizationJobInput) GoString

GoString returns the string representation

func (*GetModelCustomizationJobInput) SetId

SetId sets the Id field's value.

func (GetModelCustomizationJobInput) String

String returns the string representation

func (*GetModelCustomizationJobInput) Validate

func (s *GetModelCustomizationJobInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type GetModelCustomizationJobOutput

type GetModelCustomizationJobOutput struct {
	Metadata *response.ResponseMetadata

	CreateTime *string `type:"string" json:",omitempty"`

	CustomizationType *string `type:"string" json:",omitempty"`

	Data *DataForGetModelCustomizationJobOutput `type:"structure" json:",omitempty"`

	Description *string `type:"string" json:",omitempty"`

	Hyperparameters []*HyperparameterForGetModelCustomizationJobOutput `type:"list" json:",omitempty"`

	Id *string `type:"string" json:",omitempty"`

	ModelReference *ModelReferenceForGetModelCustomizationJobOutput `type:"structure" json:",omitempty"`

	Name *string `type:"string" json:",omitempty"`

	Outputs []*OutputForGetModelCustomizationJobOutput `type:"list" json:",omitempty"`

	ProjectName *string `type:"string" json:",omitempty"`

	PublishedOutputCount *int32 `type:"int32" json:",omitempty"`

	Reason *string `type:"string" json:",omitempty"`

	SaveModelLimit *int32 `type:"int32" json:",omitempty"`

	Status *StatusForGetModelCustomizationJobOutput `type:"structure" json:",omitempty"`

	Tags []*TagForGetModelCustomizationJobOutput `type:"list" json:",omitempty"`

	TotalOutputCount *int32 `type:"int32" json:",omitempty"`

	UpdateTime *string `type:"string" json:",omitempty"`
	// contains filtered or unexported fields
}

func (GetModelCustomizationJobOutput) GoString

GoString returns the string representation

func (*GetModelCustomizationJobOutput) SetCreateTime

SetCreateTime sets the CreateTime field's value.

func (*GetModelCustomizationJobOutput) SetCustomizationType

SetCustomizationType sets the CustomizationType field's value.

func (*GetModelCustomizationJobOutput) SetData

SetData sets the Data field's value.

func (*GetModelCustomizationJobOutput) SetDescription

SetDescription sets the Description field's value.

func (*GetModelCustomizationJobOutput) SetHyperparameters

SetHyperparameters sets the Hyperparameters field's value.

func (*GetModelCustomizationJobOutput) SetId

SetId sets the Id field's value.

func (*GetModelCustomizationJobOutput) SetModelReference

SetModelReference sets the ModelReference field's value.

func (*GetModelCustomizationJobOutput) SetName

SetName sets the Name field's value.

func (*GetModelCustomizationJobOutput) SetOutputs

SetOutputs sets the Outputs field's value.

func (*GetModelCustomizationJobOutput) SetProjectName

SetProjectName sets the ProjectName field's value.

func (*GetModelCustomizationJobOutput) SetPublishedOutputCount

SetPublishedOutputCount sets the PublishedOutputCount field's value.

func (*GetModelCustomizationJobOutput) SetReason

SetReason sets the Reason field's value.

func (*GetModelCustomizationJobOutput) SetSaveModelLimit

SetSaveModelLimit sets the SaveModelLimit field's value.

func (*GetModelCustomizationJobOutput) SetStatus

SetStatus sets the Status field's value.

func (*GetModelCustomizationJobOutput) SetTags

SetTags sets the Tags field's value.

func (*GetModelCustomizationJobOutput) SetTotalOutputCount

SetTotalOutputCount sets the TotalOutputCount field's value.

func (*GetModelCustomizationJobOutput) SetUpdateTime

SetUpdateTime sets the UpdateTime field's value.

func (GetModelCustomizationJobOutput) String

String returns the string representation

type Group_chat_configForBotsChatCompletionsInput added in v1.0.7

type Group_chat_configForBotsChatCompletionsInput struct {
	// contains filtered or unexported fields
}

func (Group_chat_configForBotsChatCompletionsInput) GoString added in v1.0.7

GoString returns the string representation

func (Group_chat_configForBotsChatCompletionsInput) String added in v1.0.7

String returns the string representation

type Group_chat_configForBotsChatCompletionsOutput added in v1.0.7

type Group_chat_configForBotsChatCompletionsOutput struct {
	// contains filtered or unexported fields
}

func (Group_chat_configForBotsChatCompletionsOutput) GoString added in v1.0.7

GoString returns the string representation

func (Group_chat_configForBotsChatCompletionsOutput) String added in v1.0.7

String returns the string representation

type HyperparameterForCreateModelCustomizationJobInput

type HyperparameterForCreateModelCustomizationJobInput struct {
	Name *string `type:"string" json:",omitempty"`

	Value *string `type:"string" json:",omitempty"`
	// contains filtered or unexported fields
}

func (HyperparameterForCreateModelCustomizationJobInput) GoString

GoString returns the string representation

func (*HyperparameterForCreateModelCustomizationJobInput) SetName

SetName sets the Name field's value.

func (*HyperparameterForCreateModelCustomizationJobInput) SetValue

SetValue sets the Value field's value.

func (HyperparameterForCreateModelCustomizationJobInput) String

String returns the string representation

type HyperparameterForGetModelCustomizationJobOutput

type HyperparameterForGetModelCustomizationJobOutput struct {
	Name *string `type:"string" json:",omitempty"`

	Value *string `type:"string" json:",omitempty"`
	// contains filtered or unexported fields
}

func (HyperparameterForGetModelCustomizationJobOutput) GoString

GoString returns the string representation

func (*HyperparameterForGetModelCustomizationJobOutput) SetName

SetName sets the Name field's value.

func (*HyperparameterForGetModelCustomizationJobOutput) SetValue

SetValue sets the Value field's value.

func (HyperparameterForGetModelCustomizationJobOutput) String

String returns the string representation

type HyperparameterForListModelCustomizationJobsOutput

type HyperparameterForListModelCustomizationJobsOutput struct {
	Name *string `type:"string" json:",omitempty"`

	Value *string `type:"string" json:",omitempty"`
	// contains filtered or unexported fields
}

func (HyperparameterForListModelCustomizationJobsOutput) GoString

GoString returns the string representation

func (*HyperparameterForListModelCustomizationJobsOutput) SetName

SetName sets the Name field's value.

func (*HyperparameterForListModelCustomizationJobsOutput) SetValue

SetValue sets the Value field's value.

func (HyperparameterForListModelCustomizationJobsOutput) String

String returns the string representation

type Image_urlForEmbeddingsMultimodalInput added in v1.0.7

type Image_urlForEmbeddingsMultimodalInput struct {
	// contains filtered or unexported fields
}

func (Image_urlForEmbeddingsMultimodalInput) GoString added in v1.0.7

GoString returns the string representation

func (Image_urlForEmbeddingsMultimodalInput) String added in v1.0.7

String returns the string representation

type InputFileTosLocationForCreateBatchInferenceJobInput

type InputFileTosLocationForCreateBatchInferenceJobInput struct {
	BucketName *string `type:"string" json:",omitempty"`

	ObjectKey *string `type:"string" json:",omitempty"`
	// contains filtered or unexported fields
}

func (InputFileTosLocationForCreateBatchInferenceJobInput) GoString

GoString returns the string representation

func (*InputFileTosLocationForCreateBatchInferenceJobInput) SetBucketName

SetBucketName sets the BucketName field's value.

func (*InputFileTosLocationForCreateBatchInferenceJobInput) SetObjectKey

SetObjectKey sets the ObjectKey field's value.

func (InputFileTosLocationForCreateBatchInferenceJobInput) String

String returns the string representation

type InputFileTosLocationForListBatchInferenceJobsOutput

type InputFileTosLocationForListBatchInferenceJobsOutput struct {
	BucketName *string `type:"string" json:",omitempty"`

	ObjectKey *string `type:"string" json:",omitempty"`
	// contains filtered or unexported fields
}

func (InputFileTosLocationForListBatchInferenceJobsOutput) GoString

GoString returns the string representation

func (*InputFileTosLocationForListBatchInferenceJobsOutput) SetBucketName

SetBucketName sets the BucketName field's value.

func (*InputFileTosLocationForListBatchInferenceJobsOutput) SetObjectKey

SetObjectKey sets the ObjectKey field's value.

func (InputFileTosLocationForListBatchInferenceJobsOutput) String

String returns the string representation

type InputForEmbeddingsMultimodalInput added in v1.0.7

type InputForEmbeddingsMultimodalInput struct {
	Image_url *Image_urlForEmbeddingsMultimodalInput `type:"structure" json:"image_url,omitempty"`

	Text *string `type:"string" json:"text,omitempty"`

	Type *string `type:"string" json:"type,omitempty"`
	// contains filtered or unexported fields
}

func (InputForEmbeddingsMultimodalInput) GoString added in v1.0.7

GoString returns the string representation

func (*InputForEmbeddingsMultimodalInput) SetImage_url added in v1.0.7

SetImage_url sets the Image_url field's value.

func (*InputForEmbeddingsMultimodalInput) SetText added in v1.0.7

SetText sets the Text field's value.

func (*InputForEmbeddingsMultimodalInput) SetType added in v1.0.7

SetType sets the Type field's value.

func (InputForEmbeddingsMultimodalInput) String added in v1.0.7

String returns the string representation

type ItemForListBatchInferenceJobsOutput

type ItemForListBatchInferenceJobsOutput struct {
	CompletionWindow *string `type:"string" json:",omitempty"`

	CreateTime *string `type:"string" json:",omitempty"`

	Description *string `type:"string" json:",omitempty"`

	ExpireTime *string `type:"string" json:",omitempty"`

	Id *string `type:"string" json:",omitempty"`

	InputFileTosLocation *InputFileTosLocationForListBatchInferenceJobsOutput `type:"structure" json:",omitempty"`

	ModelReference *ModelReferenceForListBatchInferenceJobsOutput `type:"structure" json:",omitempty"`

	Name *string `type:"string" json:",omitempty"`

	OutputDirTosLocation *OutputDirTosLocationForListBatchInferenceJobsOutput `type:"structure" json:",omitempty"`

	ProjectName *string `type:"string" json:",omitempty"`

	RequestCounts *RequestCountsForListBatchInferenceJobsOutput `type:"structure" json:",omitempty"`

	Status *StatusForListBatchInferenceJobsOutput `type:"structure" json:",omitempty"`

	Tags []*TagForListBatchInferenceJobsOutput `type:"list" json:",omitempty"`

	UpdateTime *string `type:"string" json:",omitempty"`
	// contains filtered or unexported fields
}

func (ItemForListBatchInferenceJobsOutput) GoString

GoString returns the string representation

func (*ItemForListBatchInferenceJobsOutput) SetCompletionWindow

SetCompletionWindow sets the CompletionWindow field's value.

func (*ItemForListBatchInferenceJobsOutput) SetCreateTime

SetCreateTime sets the CreateTime field's value.

func (*ItemForListBatchInferenceJobsOutput) SetDescription

SetDescription sets the Description field's value.

func (*ItemForListBatchInferenceJobsOutput) SetExpireTime

SetExpireTime sets the ExpireTime field's value.

func (*ItemForListBatchInferenceJobsOutput) SetId

SetId sets the Id field's value.

func (*ItemForListBatchInferenceJobsOutput) SetInputFileTosLocation

SetInputFileTosLocation sets the InputFileTosLocation field's value.

func (*ItemForListBatchInferenceJobsOutput) SetModelReference

SetModelReference sets the ModelReference field's value.

func (*ItemForListBatchInferenceJobsOutput) SetName

SetName sets the Name field's value.

func (*ItemForListBatchInferenceJobsOutput) SetOutputDirTosLocation

SetOutputDirTosLocation sets the OutputDirTosLocation field's value.

func (*ItemForListBatchInferenceJobsOutput) SetProjectName

SetProjectName sets the ProjectName field's value.

func (*ItemForListBatchInferenceJobsOutput) SetRequestCounts

SetRequestCounts sets the RequestCounts field's value.

func (*ItemForListBatchInferenceJobsOutput) SetStatus

SetStatus sets the Status field's value.

func (*ItemForListBatchInferenceJobsOutput) SetTags

SetTags sets the Tags field's value.

func (*ItemForListBatchInferenceJobsOutput) SetUpdateTime

SetUpdateTime sets the UpdateTime field's value.

func (ItemForListBatchInferenceJobsOutput) String

String returns the string representation

type ItemForListEndpointsOutput

type ItemForListEndpointsOutput struct {
	CreateTime *string `type:"string" json:",omitempty"`

	Description *string `type:"string" json:",omitempty"`

	EndpointModelType *string `type:"string" json:",omitempty" enum:"EnumOfEndpointModelTypeForListEndpointsOutput"`

	Id *string `type:"string" json:",omitempty"`

	ModelReference *ModelReferenceForListEndpointsOutput `type:"structure" json:",omitempty"`

	ModelUnitId *string `type:"string" json:",omitempty"`

	Name *string `type:"string" json:",omitempty"`

	ProjectName *string `type:"string" json:",omitempty"`

	RateLimit *RateLimitForListEndpointsOutput `type:"structure" json:",omitempty"`

	RollingId *string `type:"string" json:",omitempty"`

	ScaleTierId *string `type:"string" json:",omitempty"`

	Status *string `type:"string" json:",omitempty" enum:"EnumOfStatusForListEndpointsOutput"`

	StatusReason *string `type:"string" json:",omitempty"`

	SupportRolling *bool `type:"boolean" json:",omitempty"`

	SupportScaleTier *bool `type:"boolean" json:",omitempty"`

	Tags []*TagForListEndpointsOutput `type:"list" json:",omitempty"`

	UpdateTime *string `type:"string" json:",omitempty"`
	// contains filtered or unexported fields
}

func (ItemForListEndpointsOutput) GoString

func (s ItemForListEndpointsOutput) GoString() string

GoString returns the string representation

func (*ItemForListEndpointsOutput) SetCreateTime

SetCreateTime sets the CreateTime field's value.

func (*ItemForListEndpointsOutput) SetDescription

SetDescription sets the Description field's value.

func (*ItemForListEndpointsOutput) SetEndpointModelType

func (s *ItemForListEndpointsOutput) SetEndpointModelType(v string) *ItemForListEndpointsOutput

SetEndpointModelType sets the EndpointModelType field's value.

func (*ItemForListEndpointsOutput) SetId

SetId sets the Id field's value.

func (*ItemForListEndpointsOutput) SetModelReference

SetModelReference sets the ModelReference field's value.

func (*ItemForListEndpointsOutput) SetModelUnitId

SetModelUnitId sets the ModelUnitId field's value.

func (*ItemForListEndpointsOutput) SetName

SetName sets the Name field's value.

func (*ItemForListEndpointsOutput) SetProjectName

SetProjectName sets the ProjectName field's value.

func (*ItemForListEndpointsOutput) SetRateLimit

SetRateLimit sets the RateLimit field's value.

func (*ItemForListEndpointsOutput) SetRollingId

SetRollingId sets the RollingId field's value.

func (*ItemForListEndpointsOutput) SetScaleTierId

SetScaleTierId sets the ScaleTierId field's value.

func (*ItemForListEndpointsOutput) SetStatus

SetStatus sets the Status field's value.

func (*ItemForListEndpointsOutput) SetStatusReason

SetStatusReason sets the StatusReason field's value.

func (*ItemForListEndpointsOutput) SetSupportRolling

SetSupportRolling sets the SupportRolling field's value.

func (*ItemForListEndpointsOutput) SetSupportScaleTier

func (s *ItemForListEndpointsOutput) SetSupportScaleTier(v bool) *ItemForListEndpointsOutput

SetSupportScaleTier sets the SupportScaleTier field's value.

func (*ItemForListEndpointsOutput) SetTags

SetTags sets the Tags field's value.

func (*ItemForListEndpointsOutput) SetUpdateTime

SetUpdateTime sets the UpdateTime field's value.

func (ItemForListEndpointsOutput) String

String returns the string representation

type ItemForListModelCustomizationJobsOutput

type ItemForListModelCustomizationJobsOutput struct {
	CreateTime *string `type:"string" json:",omitempty"`

	CustomizationType *string `type:"string" json:",omitempty" enum:"EnumOfCustomizationTypeForListModelCustomizationJobsOutput"`

	Data *DataForListModelCustomizationJobsOutput `type:"structure" json:",omitempty"`

	Description *string `type:"string" json:",omitempty"`

	Hyperparameters []*HyperparameterForListModelCustomizationJobsOutput `type:"list" json:",omitempty"`

	Id *string `type:"string" json:",omitempty"`

	ModelReference *ModelReferenceForListModelCustomizationJobsOutput `type:"structure" json:",omitempty"`

	Name *string `type:"string" json:",omitempty"`

	Outputs []*OutputForListModelCustomizationJobsOutput `type:"list" json:",omitempty"`

	ProjectName *string `type:"string" json:",omitempty"`

	PublishedOutputCount *int32 `type:"int32" json:",omitempty"`

	Reason *string `type:"string" json:",omitempty"`

	SaveModelLimit *int32 `type:"int32" json:",omitempty"`

	Status *StatusForListModelCustomizationJobsOutput `type:"structure" json:",omitempty"`

	Tags []*TagForListModelCustomizationJobsOutput `type:"list" json:",omitempty"`

	TotalOutputCount *int32 `type:"int32" json:",omitempty"`

	UpdateTime *string `type:"string" json:",omitempty"`
	// contains filtered or unexported fields
}

func (ItemForListModelCustomizationJobsOutput) GoString

GoString returns the string representation

func (*ItemForListModelCustomizationJobsOutput) SetCreateTime

SetCreateTime sets the CreateTime field's value.

func (*ItemForListModelCustomizationJobsOutput) SetCustomizationType

SetCustomizationType sets the CustomizationType field's value.

func (*ItemForListModelCustomizationJobsOutput) SetData

SetData sets the Data field's value.

func (*ItemForListModelCustomizationJobsOutput) SetDescription

SetDescription sets the Description field's value.

func (*ItemForListModelCustomizationJobsOutput) SetHyperparameters

SetHyperparameters sets the Hyperparameters field's value.

func (*ItemForListModelCustomizationJobsOutput) SetId

SetId sets the Id field's value.

func (*ItemForListModelCustomizationJobsOutput) SetModelReference

SetModelReference sets the ModelReference field's value.

func (*ItemForListModelCustomizationJobsOutput) SetName

SetName sets the Name field's value.

func (*ItemForListModelCustomizationJobsOutput) SetOutputs

SetOutputs sets the Outputs field's value.

func (*ItemForListModelCustomizationJobsOutput) SetProjectName

SetProjectName sets the ProjectName field's value.

func (*ItemForListModelCustomizationJobsOutput) SetPublishedOutputCount

SetPublishedOutputCount sets the PublishedOutputCount field's value.

func (*ItemForListModelCustomizationJobsOutput) SetReason

SetReason sets the Reason field's value.

func (*ItemForListModelCustomizationJobsOutput) SetSaveModelLimit

SetSaveModelLimit sets the SaveModelLimit field's value.

func (*ItemForListModelCustomizationJobsOutput) SetStatus

SetStatus sets the Status field's value.

func (*ItemForListModelCustomizationJobsOutput) SetTags

SetTags sets the Tags field's value.

func (*ItemForListModelCustomizationJobsOutput) SetTotalOutputCount

SetTotalOutputCount sets the TotalOutputCount field's value.

func (*ItemForListModelCustomizationJobsOutput) SetUpdateTime

SetUpdateTime sets the UpdateTime field's value.

func (ItemForListModelCustomizationJobsOutput) String

String returns the string representation

type ListBatchInferenceJobsInput

type ListBatchInferenceJobsInput struct {
	Filter *FilterForListBatchInferenceJobsInput `type:"structure" json:",omitempty"`

	PageNumber *int32 `type:"int32" json:",omitempty"`

	PageSize *int32 `type:"int32" json:",omitempty"`

	ProjectName *string `type:"string" json:",omitempty"`

	SortBy *string `type:"string" json:",omitempty"`

	SortOrder *string `type:"string" json:",omitempty"`

	TagFilters []*TagFilterForListBatchInferenceJobsInput `type:"list" json:",omitempty"`
	// contains filtered or unexported fields
}

func (ListBatchInferenceJobsInput) GoString

func (s ListBatchInferenceJobsInput) GoString() string

GoString returns the string representation

func (*ListBatchInferenceJobsInput) SetFilter

SetFilter sets the Filter field's value.

func (*ListBatchInferenceJobsInput) SetPageNumber

SetPageNumber sets the PageNumber field's value.

func (*ListBatchInferenceJobsInput) SetPageSize

SetPageSize sets the PageSize field's value.

func (*ListBatchInferenceJobsInput) SetProjectName

SetProjectName sets the ProjectName field's value.

func (*ListBatchInferenceJobsInput) SetSortBy

SetSortBy sets the SortBy field's value.

func (*ListBatchInferenceJobsInput) SetSortOrder

SetSortOrder sets the SortOrder field's value.

func (*ListBatchInferenceJobsInput) SetTagFilters

SetTagFilters sets the TagFilters field's value.

func (ListBatchInferenceJobsInput) String

String returns the string representation

type ListBatchInferenceJobsOutput

type ListBatchInferenceJobsOutput struct {
	Metadata *response.ResponseMetadata

	Items []*ItemForListBatchInferenceJobsOutput `type:"list" json:",omitempty"`

	PageNumber *int32 `type:"int32" json:",omitempty"`

	PageSize *int32 `type:"int32" json:",omitempty"`

	TotalCount *int32 `type:"int32" json:",omitempty"`
	// contains filtered or unexported fields
}

func (ListBatchInferenceJobsOutput) GoString

func (s ListBatchInferenceJobsOutput) GoString() string

GoString returns the string representation

func (*ListBatchInferenceJobsOutput) SetItems

SetItems sets the Items field's value.

func (*ListBatchInferenceJobsOutput) SetPageNumber

SetPageNumber sets the PageNumber field's value.

func (*ListBatchInferenceJobsOutput) SetPageSize

SetPageSize sets the PageSize field's value.

func (*ListBatchInferenceJobsOutput) SetTotalCount

SetTotalCount sets the TotalCount field's value.

func (ListBatchInferenceJobsOutput) String

String returns the string representation

type ListEndpointsInput

type ListEndpointsInput struct {
	Filter *FilterForListEndpointsInput `type:"structure" json:",omitempty"`

	PageNumber *int32 `type:"int32" json:",omitempty"`

	PageSize *int32 `type:"int32" json:",omitempty"`

	ProjectName *string `type:"string" json:",omitempty"`

	SortBy *string `type:"string" json:",omitempty"`

	SortOrder *string `type:"string" json:",omitempty"`

	TagFilters []*TagFilterForListEndpointsInput `type:"list" json:",omitempty"`
	// contains filtered or unexported fields
}

func (ListEndpointsInput) GoString

func (s ListEndpointsInput) GoString() string

GoString returns the string representation

func (*ListEndpointsInput) SetFilter

SetFilter sets the Filter field's value.

func (*ListEndpointsInput) SetPageNumber

func (s *ListEndpointsInput) SetPageNumber(v int32) *ListEndpointsInput

SetPageNumber sets the PageNumber field's value.

func (*ListEndpointsInput) SetPageSize

func (s *ListEndpointsInput) SetPageSize(v int32) *ListEndpointsInput

SetPageSize sets the PageSize field's value.

func (*ListEndpointsInput) SetProjectName

func (s *ListEndpointsInput) SetProjectName(v string) *ListEndpointsInput

SetProjectName sets the ProjectName field's value.

func (*ListEndpointsInput) SetSortBy

func (s *ListEndpointsInput) SetSortBy(v string) *ListEndpointsInput

SetSortBy sets the SortBy field's value.

func (*ListEndpointsInput) SetSortOrder

func (s *ListEndpointsInput) SetSortOrder(v string) *ListEndpointsInput

SetSortOrder sets the SortOrder field's value.

func (*ListEndpointsInput) SetTagFilters

SetTagFilters sets the TagFilters field's value.

func (ListEndpointsInput) String

func (s ListEndpointsInput) String() string

String returns the string representation

type ListEndpointsOutput

type ListEndpointsOutput struct {
	Metadata *response.ResponseMetadata

	Items []*ItemForListEndpointsOutput `type:"list" json:",omitempty"`

	PageNumber *int32 `type:"int32" json:",omitempty"`

	PageSize *int32 `type:"int32" json:",omitempty"`

	TotalCount *int32 `type:"int32" json:",omitempty"`
	// contains filtered or unexported fields
}

func (ListEndpointsOutput) GoString

func (s ListEndpointsOutput) GoString() string

GoString returns the string representation

func (*ListEndpointsOutput) SetItems

SetItems sets the Items field's value.

func (*ListEndpointsOutput) SetPageNumber

func (s *ListEndpointsOutput) SetPageNumber(v int32) *ListEndpointsOutput

SetPageNumber sets the PageNumber field's value.

func (*ListEndpointsOutput) SetPageSize

func (s *ListEndpointsOutput) SetPageSize(v int32) *ListEndpointsOutput

SetPageSize sets the PageSize field's value.

func (*ListEndpointsOutput) SetTotalCount

func (s *ListEndpointsOutput) SetTotalCount(v int32) *ListEndpointsOutput

SetTotalCount sets the TotalCount field's value.

func (ListEndpointsOutput) String

func (s ListEndpointsOutput) String() string

String returns the string representation

type ListModelCustomizationJobsInput

type ListModelCustomizationJobsInput struct {
	Filter *FilterForListModelCustomizationJobsInput `type:"structure" json:",omitempty"`

	PageNumber *int32 `type:"int32" json:",omitempty"`

	PageSize *int32 `type:"int32" json:",omitempty"`

	ProjectName *string `type:"string" json:",omitempty"`

	SortBy *string `type:"string" json:",omitempty" enum:"EnumOfSortByForListModelCustomizationJobsInput"`

	SortOrder *string `type:"string" json:",omitempty" enum:"EnumOfSortOrderForListModelCustomizationJobsInput"`

	TagFilters []*TagFilterForListModelCustomizationJobsInput `type:"list" json:",omitempty"`
	// contains filtered or unexported fields
}

func (ListModelCustomizationJobsInput) GoString

GoString returns the string representation

func (*ListModelCustomizationJobsInput) SetFilter

SetFilter sets the Filter field's value.

func (*ListModelCustomizationJobsInput) SetPageNumber

SetPageNumber sets the PageNumber field's value.

func (*ListModelCustomizationJobsInput) SetPageSize

SetPageSize sets the PageSize field's value.

func (*ListModelCustomizationJobsInput) SetProjectName

SetProjectName sets the ProjectName field's value.

func (*ListModelCustomizationJobsInput) SetSortBy

SetSortBy sets the SortBy field's value.

func (*ListModelCustomizationJobsInput) SetSortOrder

SetSortOrder sets the SortOrder field's value.

func (*ListModelCustomizationJobsInput) SetTagFilters

SetTagFilters sets the TagFilters field's value.

func (ListModelCustomizationJobsInput) String

String returns the string representation

type ListModelCustomizationJobsOutput

type ListModelCustomizationJobsOutput struct {
	Metadata *response.ResponseMetadata

	Items []*ItemForListModelCustomizationJobsOutput `type:"list" json:",omitempty"`

	PageNumber *int32 `type:"int32" json:",omitempty"`

	PageSize *int32 `type:"int32" json:",omitempty"`

	TotalCount *int32 `type:"int32" json:",omitempty"`
	// contains filtered or unexported fields
}

func (ListModelCustomizationJobsOutput) GoString

GoString returns the string representation

func (*ListModelCustomizationJobsOutput) SetItems

SetItems sets the Items field's value.

func (*ListModelCustomizationJobsOutput) SetPageNumber

SetPageNumber sets the PageNumber field's value.

func (*ListModelCustomizationJobsOutput) SetPageSize

SetPageSize sets the PageSize field's value.

func (*ListModelCustomizationJobsOutput) SetTotalCount

SetTotalCount sets the TotalCount field's value.

func (ListModelCustomizationJobsOutput) String

String returns the string representation

type Logit_biasForBatchChatCompletionsInput added in v1.0.7

type Logit_biasForBatchChatCompletionsInput struct {
	// contains filtered or unexported fields
}

func (Logit_biasForBatchChatCompletionsInput) GoString added in v1.0.7

GoString returns the string representation

func (Logit_biasForBatchChatCompletionsInput) String added in v1.0.7

String returns the string representation

type Logit_biasForBotsChatCompletionsInput added in v1.0.7

type Logit_biasForBotsChatCompletionsInput struct {
	// contains filtered or unexported fields
}

func (Logit_biasForBotsChatCompletionsInput) GoString added in v1.0.7

GoString returns the string representation

func (Logit_biasForBotsChatCompletionsInput) String added in v1.0.7

String returns the string representation

type Logit_biasForChatCompletionsTextInput added in v1.0.7

type Logit_biasForChatCompletionsTextInput struct {
	// contains filtered or unexported fields
}

func (Logit_biasForChatCompletionsTextInput) GoString added in v1.0.7

GoString returns the string representation

func (Logit_biasForChatCompletionsTextInput) String added in v1.0.7

String returns the string representation

type Logit_biasForChatCompletionsVisionInput added in v1.0.7

type Logit_biasForChatCompletionsVisionInput struct {
	// contains filtered or unexported fields
}

func (Logit_biasForChatCompletionsVisionInput) GoString added in v1.0.7

GoString returns the string representation

func (Logit_biasForChatCompletionsVisionInput) String added in v1.0.7

String returns the string representation

type Logit_biasForContextChatCompletionsInput added in v1.0.7

type Logit_biasForContextChatCompletionsInput struct {
	// contains filtered or unexported fields
}

func (Logit_biasForContextChatCompletionsInput) GoString added in v1.0.7

GoString returns the string representation

func (Logit_biasForContextChatCompletionsInput) String added in v1.0.7

String returns the string representation

type LogprobsForBatchChatCompletionsOutput added in v1.0.7

type LogprobsForBatchChatCompletionsOutput struct {
	Content []*ContentForBatchChatCompletionsOutput `type:"list" json:"content,omitempty"`
	// contains filtered or unexported fields
}

func (LogprobsForBatchChatCompletionsOutput) GoString added in v1.0.7

GoString returns the string representation

func (*LogprobsForBatchChatCompletionsOutput) SetContent added in v1.0.7

SetContent sets the Content field's value.

func (LogprobsForBatchChatCompletionsOutput) String added in v1.0.7

String returns the string representation

type LogprobsForBotsChatCompletionsOutput added in v1.0.7

type LogprobsForBotsChatCompletionsOutput struct {
	Content []*ContentForBotsChatCompletionsOutput `type:"list" json:"content,omitempty"`
	// contains filtered or unexported fields
}

func (LogprobsForBotsChatCompletionsOutput) GoString added in v1.0.7

GoString returns the string representation

func (*LogprobsForBotsChatCompletionsOutput) SetContent added in v1.0.7

SetContent sets the Content field's value.

func (LogprobsForBotsChatCompletionsOutput) String added in v1.0.7

String returns the string representation

type LogprobsForChatCompletionsTextOutput added in v1.0.7

type LogprobsForChatCompletionsTextOutput struct {
	Content []*ContentForChatCompletionsTextOutput `type:"list" json:"content,omitempty"`
	// contains filtered or unexported fields
}

func (LogprobsForChatCompletionsTextOutput) GoString added in v1.0.7

GoString returns the string representation

func (*LogprobsForChatCompletionsTextOutput) SetContent added in v1.0.7

SetContent sets the Content field's value.

func (LogprobsForChatCompletionsTextOutput) String added in v1.0.7

String returns the string representation

type LogprobsForChatCompletionsVisionOutput added in v1.0.7

type LogprobsForChatCompletionsVisionOutput struct {
	// contains filtered or unexported fields
}

func (LogprobsForChatCompletionsVisionOutput) GoString added in v1.0.7

GoString returns the string representation

func (LogprobsForChatCompletionsVisionOutput) String added in v1.0.7

String returns the string representation

type MessageForBatchChatCompletionsInput added in v1.0.7

type MessageForBatchChatCompletionsInput struct {
	Content *string `type:"string" json:"content,omitempty"`

	Role *string `type:"string" json:"role,omitempty" enum:"EnumOfroleForBatchChatCompletionsInput"`

	Tool_call_id *string `type:"string" json:"tool_call_id,omitempty"`

	Tool_calls []*Tool_callForBatchChatCompletionsInput `type:"list" json:"tool_calls,omitempty"`
	// contains filtered or unexported fields
}

func (MessageForBatchChatCompletionsInput) GoString added in v1.0.7

GoString returns the string representation

func (*MessageForBatchChatCompletionsInput) SetContent added in v1.0.7

SetContent sets the Content field's value.

func (*MessageForBatchChatCompletionsInput) SetRole added in v1.0.7

SetRole sets the Role field's value.

func (*MessageForBatchChatCompletionsInput) SetTool_call_id added in v1.0.7

SetTool_call_id sets the Tool_call_id field's value.

func (*MessageForBatchChatCompletionsInput) SetTool_calls added in v1.0.7

SetTool_calls sets the Tool_calls field's value.

func (MessageForBatchChatCompletionsInput) String added in v1.0.7

String returns the string representation

type MessageForBatchChatCompletionsOutput added in v1.0.7

type MessageForBatchChatCompletionsOutput struct {
	Content *string `type:"string" json:"content,omitempty"`

	Reasoning_content *string `type:"string" json:"reasoning_content,omitempty"`

	Role *string `type:"string" json:"role,omitempty"`

	Tool_calls []*Converttool_callForBatchChatCompletionsOutput `type:"list" json:"tool_calls,omitempty"`
	// contains filtered or unexported fields
}

func (MessageForBatchChatCompletionsOutput) GoString added in v1.0.7

GoString returns the string representation

func (*MessageForBatchChatCompletionsOutput) SetContent added in v1.0.7

SetContent sets the Content field's value.

func (*MessageForBatchChatCompletionsOutput) SetReasoning_content added in v1.0.7

SetReasoning_content sets the Reasoning_content field's value.

func (*MessageForBatchChatCompletionsOutput) SetRole added in v1.0.7

SetRole sets the Role field's value.

func (*MessageForBatchChatCompletionsOutput) SetTool_calls added in v1.0.7

SetTool_calls sets the Tool_calls field's value.

func (MessageForBatchChatCompletionsOutput) String added in v1.0.7

String returns the string representation

type MessageForBotsChatCompletionsInput added in v1.0.7

type MessageForBotsChatCompletionsInput struct {
	Content *string `type:"string" json:"content,omitempty"`

	Name *string `type:"string" json:"name,omitempty"`

	Role *string `type:"string" json:"role,omitempty" enum:"EnumOfroleForBotsChatCompletionsInput"`

	Tool_call_id *string `type:"string" json:"tool_call_id,omitempty"`

	Tool_calls *Tool_callsForBotsChatCompletionsInput `type:"structure" json:"tool_calls,omitempty"`
	// contains filtered or unexported fields
}

func (MessageForBotsChatCompletionsInput) GoString added in v1.0.7

GoString returns the string representation

func (*MessageForBotsChatCompletionsInput) SetContent added in v1.0.7

SetContent sets the Content field's value.

func (*MessageForBotsChatCompletionsInput) SetName added in v1.0.7

SetName sets the Name field's value.

func (*MessageForBotsChatCompletionsInput) SetRole added in v1.0.7

SetRole sets the Role field's value.

func (*MessageForBotsChatCompletionsInput) SetTool_call_id added in v1.0.7

SetTool_call_id sets the Tool_call_id field's value.

func (*MessageForBotsChatCompletionsInput) SetTool_calls added in v1.0.7

SetTool_calls sets the Tool_calls field's value.

func (MessageForBotsChatCompletionsInput) String added in v1.0.7

String returns the string representation

type MessageForBotsChatCompletionsOutput added in v1.0.7

type MessageForBotsChatCompletionsOutput struct {
	Content *string `type:"string" json:"content,omitempty"`

	Role *string `type:"string" json:"role,omitempty"`

	Tool_calls []*Converttool_callForBotsChatCompletionsOutput `type:"list" json:"tool_calls,omitempty"`
	// contains filtered or unexported fields
}

func (MessageForBotsChatCompletionsOutput) GoString added in v1.0.7

GoString returns the string representation

func (*MessageForBotsChatCompletionsOutput) SetContent added in v1.0.7

SetContent sets the Content field's value.

func (*MessageForBotsChatCompletionsOutput) SetRole added in v1.0.7

SetRole sets the Role field's value.

func (*MessageForBotsChatCompletionsOutput) SetTool_calls added in v1.0.7

SetTool_calls sets the Tool_calls field's value.

func (MessageForBotsChatCompletionsOutput) String added in v1.0.7

String returns the string representation

type MessageForChatCompletionsTextInput added in v1.0.7

type MessageForChatCompletionsTextInput struct {
	Content *string `type:"string" json:"content,omitempty"`

	Role *string `type:"string" json:"role,omitempty" enum:"EnumOfroleForChatCompletionsTextInput"`

	Tool_call_id *string `type:"string" json:"tool_call_id,omitempty"`

	Tool_calls []*Tool_callForChatCompletionsTextInput `type:"list" json:"tool_calls,omitempty"`
	// contains filtered or unexported fields
}

func (MessageForChatCompletionsTextInput) GoString added in v1.0.7

GoString returns the string representation

func (*MessageForChatCompletionsTextInput) SetContent added in v1.0.7

SetContent sets the Content field's value.

func (*MessageForChatCompletionsTextInput) SetRole added in v1.0.7

SetRole sets the Role field's value.

func (*MessageForChatCompletionsTextInput) SetTool_call_id added in v1.0.7

SetTool_call_id sets the Tool_call_id field's value.

func (*MessageForChatCompletionsTextInput) SetTool_calls added in v1.0.7

SetTool_calls sets the Tool_calls field's value.

func (MessageForChatCompletionsTextInput) String added in v1.0.7

String returns the string representation

type MessageForChatCompletionsTextOutput added in v1.0.7

type MessageForChatCompletionsTextOutput struct {
	Content *string `type:"string" json:"content,omitempty"`

	Reasoning_content *string `type:"string" json:"reasoning_content,omitempty"`

	Role *string `type:"string" json:"role,omitempty"`

	Tool_calls []*Converttool_callForChatCompletionsTextOutput `type:"list" json:"tool_calls,omitempty"`
	// contains filtered or unexported fields
}

func (MessageForChatCompletionsTextOutput) GoString added in v1.0.7

GoString returns the string representation

func (*MessageForChatCompletionsTextOutput) SetContent added in v1.0.7

SetContent sets the Content field's value.

func (*MessageForChatCompletionsTextOutput) SetReasoning_content added in v1.0.7

SetReasoning_content sets the Reasoning_content field's value.

func (*MessageForChatCompletionsTextOutput) SetRole added in v1.0.7

SetRole sets the Role field's value.

func (*MessageForChatCompletionsTextOutput) SetTool_calls added in v1.0.7

SetTool_calls sets the Tool_calls field's value.

func (MessageForChatCompletionsTextOutput) String added in v1.0.7

String returns the string representation

type MessageForChatCompletionsVisionOutput added in v1.0.7

type MessageForChatCompletionsVisionOutput struct {
	// contains filtered or unexported fields
}

func (MessageForChatCompletionsVisionOutput) GoString added in v1.0.7

GoString returns the string representation

func (MessageForChatCompletionsVisionOutput) String added in v1.0.7

String returns the string representation

type MessagesForChatCompletionsVisionInput added in v1.0.7

type MessagesForChatCompletionsVisionInput struct {
	// contains filtered or unexported fields
}

func (MessagesForChatCompletionsVisionInput) GoString added in v1.0.7

GoString returns the string representation

func (MessagesForChatCompletionsVisionInput) String added in v1.0.7

String returns the string representation

type MessagesForContextChatCompletionsInput added in v1.0.7

type MessagesForContextChatCompletionsInput struct {
	// contains filtered or unexported fields
}

func (MessagesForContextChatCompletionsInput) GoString added in v1.0.7

GoString returns the string representation

func (MessagesForContextChatCompletionsInput) String added in v1.0.7

String returns the string representation

type MessagesForContextCreateInput added in v1.0.7

type MessagesForContextCreateInput struct {
	// contains filtered or unexported fields
}

func (MessagesForContextCreateInput) GoString added in v1.0.7

GoString returns the string representation

func (MessagesForContextCreateInput) String added in v1.0.7

String returns the string representation

type MetadataForBotsChatCompletionsInput added in v1.0.7

type MetadataForBotsChatCompletionsInput struct {
	Emit_intention_signal_extra *string `type:"string" json:"emit_intention_signal_extra,omitempty"`

	Group_chat_config *Group_chat_configForBotsChatCompletionsInput `type:"structure" json:"group_chat_config,omitempty"`

	Target_character_name *string `type:"string" json:"target_character_name,omitempty"`

	User_info *string `type:"string" json:"user_info,omitempty"`
	// contains filtered or unexported fields
}

func (MetadataForBotsChatCompletionsInput) GoString added in v1.0.7

GoString returns the string representation

func (*MetadataForBotsChatCompletionsInput) SetEmit_intention_signal_extra added in v1.0.7

SetEmit_intention_signal_extra sets the Emit_intention_signal_extra field's value.

func (*MetadataForBotsChatCompletionsInput) SetGroup_chat_config added in v1.0.7

SetGroup_chat_config sets the Group_chat_config field's value.

func (*MetadataForBotsChatCompletionsInput) SetTarget_character_name added in v1.0.7

SetTarget_character_name sets the Target_character_name field's value.

func (*MetadataForBotsChatCompletionsInput) SetUser_info added in v1.0.7

SetUser_info sets the User_info field's value.

func (MetadataForBotsChatCompletionsInput) String added in v1.0.7

String returns the string representation

type MetadataForBotsChatCompletionsOutput added in v1.0.7

type MetadataForBotsChatCompletionsOutput struct {
	Emit_intention_signal_extra *string `type:"string" json:"emit_intention_signal_extra,omitempty"`

	Group_chat_config *Group_chat_configForBotsChatCompletionsOutput `type:"structure" json:"group_chat_config,omitempty"`

	Target_character_name *string `type:"string" json:"target_character_name,omitempty"`

	User_info *string `type:"string" json:"user_info,omitempty"`
	// contains filtered or unexported fields
}

func (MetadataForBotsChatCompletionsOutput) GoString added in v1.0.7

GoString returns the string representation

func (*MetadataForBotsChatCompletionsOutput) SetEmit_intention_signal_extra added in v1.0.7

SetEmit_intention_signal_extra sets the Emit_intention_signal_extra field's value.

func (*MetadataForBotsChatCompletionsOutput) SetGroup_chat_config added in v1.0.7

SetGroup_chat_config sets the Group_chat_config field's value.

func (*MetadataForBotsChatCompletionsOutput) SetTarget_character_name added in v1.0.7

SetTarget_character_name sets the Target_character_name field's value.

func (*MetadataForBotsChatCompletionsOutput) SetUser_info added in v1.0.7

SetUser_info sets the User_info field's value.

func (MetadataForBotsChatCompletionsOutput) String added in v1.0.7

String returns the string representation

type ModelReferenceForCreateBatchInferenceJobInput

type ModelReferenceForCreateBatchInferenceJobInput struct {
	CustomModelId *string `type:"string" json:",omitempty"`

	FoundationModel *FoundationModelForCreateBatchInferenceJobInput `type:"structure" json:",omitempty"`
	// contains filtered or unexported fields
}

func (ModelReferenceForCreateBatchInferenceJobInput) GoString

GoString returns the string representation

func (*ModelReferenceForCreateBatchInferenceJobInput) SetCustomModelId

SetCustomModelId sets the CustomModelId field's value.

func (*ModelReferenceForCreateBatchInferenceJobInput) SetFoundationModel

SetFoundationModel sets the FoundationModel field's value.

func (ModelReferenceForCreateBatchInferenceJobInput) String

String returns the string representation

type ModelReferenceForCreateEndpointInput

type ModelReferenceForCreateEndpointInput struct {
	CustomModelId *string `type:"string" json:",omitempty"`

	FoundationModel *FoundationModelForCreateEndpointInput `type:"structure" json:",omitempty"`
	// contains filtered or unexported fields
}

func (ModelReferenceForCreateEndpointInput) GoString

GoString returns the string representation

func (*ModelReferenceForCreateEndpointInput) SetCustomModelId

SetCustomModelId sets the CustomModelId field's value.

func (*ModelReferenceForCreateEndpointInput) SetFoundationModel

SetFoundationModel sets the FoundationModel field's value.

func (ModelReferenceForCreateEndpointInput) String

String returns the string representation

type ModelReferenceForCreateModelCustomizationJobInput

type ModelReferenceForCreateModelCustomizationJobInput struct {
	CustomModelId *string `type:"string" json:",omitempty"`

	FoundationModel *FoundationModelForCreateModelCustomizationJobInput `type:"structure" json:",omitempty"`
	// contains filtered or unexported fields
}

func (ModelReferenceForCreateModelCustomizationJobInput) GoString

GoString returns the string representation

func (*ModelReferenceForCreateModelCustomizationJobInput) SetCustomModelId

SetCustomModelId sets the CustomModelId field's value.

func (*ModelReferenceForCreateModelCustomizationJobInput) SetFoundationModel

SetFoundationModel sets the FoundationModel field's value.

func (ModelReferenceForCreateModelCustomizationJobInput) String

String returns the string representation

type ModelReferenceForGetEndpointOutput

type ModelReferenceForGetEndpointOutput struct {
	CustomModelId *string `type:"string" json:",omitempty"`

	FoundationModel *FoundationModelForGetEndpointOutput `type:"structure" json:",omitempty"`
	// contains filtered or unexported fields
}

func (ModelReferenceForGetEndpointOutput) GoString

GoString returns the string representation

func (*ModelReferenceForGetEndpointOutput) SetCustomModelId

SetCustomModelId sets the CustomModelId field's value.

func (*ModelReferenceForGetEndpointOutput) SetFoundationModel

SetFoundationModel sets the FoundationModel field's value.

func (ModelReferenceForGetEndpointOutput) String

String returns the string representation

type ModelReferenceForGetModelCustomizationJobOutput

type ModelReferenceForGetModelCustomizationJobOutput struct {
	CustomModelId *string `type:"string" json:",omitempty"`

	FoundationModel *FoundationModelForGetModelCustomizationJobOutput `type:"structure" json:",omitempty"`
	// contains filtered or unexported fields
}

func (ModelReferenceForGetModelCustomizationJobOutput) GoString

GoString returns the string representation

func (*ModelReferenceForGetModelCustomizationJobOutput) SetCustomModelId

SetCustomModelId sets the CustomModelId field's value.

func (*ModelReferenceForGetModelCustomizationJobOutput) SetFoundationModel

SetFoundationModel sets the FoundationModel field's value.

func (ModelReferenceForGetModelCustomizationJobOutput) String

String returns the string representation

type ModelReferenceForListBatchInferenceJobsOutput

type ModelReferenceForListBatchInferenceJobsOutput struct {
	CustomModelId *string `type:"string" json:",omitempty"`

	FoundationModel *FoundationModelForListBatchInferenceJobsOutput `type:"structure" json:",omitempty"`
	// contains filtered or unexported fields
}

func (ModelReferenceForListBatchInferenceJobsOutput) GoString

GoString returns the string representation

func (*ModelReferenceForListBatchInferenceJobsOutput) SetCustomModelId

SetCustomModelId sets the CustomModelId field's value.

func (*ModelReferenceForListBatchInferenceJobsOutput) SetFoundationModel

SetFoundationModel sets the FoundationModel field's value.

func (ModelReferenceForListBatchInferenceJobsOutput) String

String returns the string representation

type ModelReferenceForListEndpointsOutput

type ModelReferenceForListEndpointsOutput struct {
	CustomModelId *string `type:"string" json:",omitempty"`

	FoundationModel *FoundationModelForListEndpointsOutput `type:"structure" json:",omitempty"`
	// contains filtered or unexported fields
}

func (ModelReferenceForListEndpointsOutput) GoString

GoString returns the string representation

func (*ModelReferenceForListEndpointsOutput) SetCustomModelId

SetCustomModelId sets the CustomModelId field's value.

func (*ModelReferenceForListEndpointsOutput) SetFoundationModel

SetFoundationModel sets the FoundationModel field's value.

func (ModelReferenceForListEndpointsOutput) String

String returns the string representation

type ModelReferenceForListModelCustomizationJobsOutput

type ModelReferenceForListModelCustomizationJobsOutput struct {
	CustomModelId *string `type:"string" json:",omitempty"`

	FoundationModel *FoundationModelForListModelCustomizationJobsOutput `type:"structure" json:",omitempty"`
	// contains filtered or unexported fields
}

func (ModelReferenceForListModelCustomizationJobsOutput) GoString

GoString returns the string representation

func (*ModelReferenceForListModelCustomizationJobsOutput) SetCustomModelId

SetCustomModelId sets the CustomModelId field's value.

func (*ModelReferenceForListModelCustomizationJobsOutput) SetFoundationModel

SetFoundationModel sets the FoundationModel field's value.

func (ModelReferenceForListModelCustomizationJobsOutput) String

String returns the string representation

type Model_usageForBotsChatCompletionsOutput added in v1.0.7

type Model_usageForBotsChatCompletionsOutput struct {
	Completion_tokens *int32 `type:"int32" json:"completion_tokens,omitempty"`

	Name *string `type:"string" json:"name,omitempty"`

	Prompt_tokens *int32 `type:"int32" json:"prompt_tokens,omitempty"`

	Total_tokens *int32 `type:"int32" json:"total_tokens,omitempty"`
	// contains filtered or unexported fields
}

func (Model_usageForBotsChatCompletionsOutput) GoString added in v1.0.7

GoString returns the string representation

func (*Model_usageForBotsChatCompletionsOutput) SetCompletion_tokens added in v1.0.7

SetCompletion_tokens sets the Completion_tokens field's value.

func (*Model_usageForBotsChatCompletionsOutput) SetName added in v1.0.7

SetName sets the Name field's value.

func (*Model_usageForBotsChatCompletionsOutput) SetPrompt_tokens added in v1.0.7

SetPrompt_tokens sets the Prompt_tokens field's value.

func (*Model_usageForBotsChatCompletionsOutput) SetTotal_tokens added in v1.0.7

SetTotal_tokens sets the Total_tokens field's value.

func (Model_usageForBotsChatCompletionsOutput) String added in v1.0.7

String returns the string representation

type ModerationForCreateEndpointInput

type ModerationForCreateEndpointInput struct {
	Strategy *string `type:"string" json:",omitempty"`
	// contains filtered or unexported fields
}

func (ModerationForCreateEndpointInput) GoString

GoString returns the string representation

func (*ModerationForCreateEndpointInput) SetStrategy

SetStrategy sets the Strategy field's value.

func (ModerationForCreateEndpointInput) String

String returns the string representation

type ModerationForGetEndpointOutput

type ModerationForGetEndpointOutput struct {
	Strategy *string `type:"string" json:",omitempty"`
	// contains filtered or unexported fields
}

func (ModerationForGetEndpointOutput) GoString

GoString returns the string representation

func (*ModerationForGetEndpointOutput) SetStrategy

SetStrategy sets the Strategy field's value.

func (ModerationForGetEndpointOutput) String

String returns the string representation

type OutputDirTosLocationForCreateBatchInferenceJobInput

type OutputDirTosLocationForCreateBatchInferenceJobInput struct {
	BucketName *string `type:"string" json:",omitempty"`

	ObjectKey *string `type:"string" json:",omitempty"`
	// contains filtered or unexported fields
}

func (OutputDirTosLocationForCreateBatchInferenceJobInput) GoString

GoString returns the string representation

func (*OutputDirTosLocationForCreateBatchInferenceJobInput) SetBucketName

SetBucketName sets the BucketName field's value.

func (*OutputDirTosLocationForCreateBatchInferenceJobInput) SetObjectKey

SetObjectKey sets the ObjectKey field's value.

func (OutputDirTosLocationForCreateBatchInferenceJobInput) String

String returns the string representation

type OutputDirTosLocationForListBatchInferenceJobsOutput

type OutputDirTosLocationForListBatchInferenceJobsOutput struct {
	BucketName *string `type:"string" json:",omitempty"`

	ObjectKey *string `type:"string" json:",omitempty"`
	// contains filtered or unexported fields
}

func (OutputDirTosLocationForListBatchInferenceJobsOutput) GoString

GoString returns the string representation

func (*OutputDirTosLocationForListBatchInferenceJobsOutput) SetBucketName

SetBucketName sets the BucketName field's value.

func (*OutputDirTosLocationForListBatchInferenceJobsOutput) SetObjectKey

SetObjectKey sets the ObjectKey field's value.

func (OutputDirTosLocationForListBatchInferenceJobsOutput) String

String returns the string representation

type OutputForGetModelCustomizationJobOutput

type OutputForGetModelCustomizationJobOutput struct {
	CustomModelCreateTimeUnix *int64 `type:"int64" json:",omitempty"`

	CustomModelId *string `type:"string" json:",omitempty"`

	Index *int32 `type:"int32" json:",omitempty"`

	Name *string `type:"string" json:",omitempty"`

	Status *string `type:"string" json:",omitempty" enum:"EnumOfStatusForGetModelCustomizationJobOutput"`
	// contains filtered or unexported fields
}

func (OutputForGetModelCustomizationJobOutput) GoString

GoString returns the string representation

func (*OutputForGetModelCustomizationJobOutput) SetCustomModelCreateTimeUnix

SetCustomModelCreateTimeUnix sets the CustomModelCreateTimeUnix field's value.

func (*OutputForGetModelCustomizationJobOutput) SetCustomModelId

SetCustomModelId sets the CustomModelId field's value.

func (*OutputForGetModelCustomizationJobOutput) SetIndex

SetIndex sets the Index field's value.

func (*OutputForGetModelCustomizationJobOutput) SetName

SetName sets the Name field's value.

func (*OutputForGetModelCustomizationJobOutput) SetStatus

SetStatus sets the Status field's value.

func (OutputForGetModelCustomizationJobOutput) String

String returns the string representation

type OutputForListModelCustomizationJobsOutput

type OutputForListModelCustomizationJobsOutput struct {
	CustomModelCreateTimeUnix *int64 `type:"int64" json:",omitempty"`

	CustomModelId *string `type:"string" json:",omitempty"`

	Index *int32 `type:"int32" json:",omitempty"`

	Name *string `type:"string" json:",omitempty"`

	Status *string `type:"string" json:",omitempty" enum:"EnumOfStatusForListModelCustomizationJobsOutput"`
	// contains filtered or unexported fields
}

func (OutputForListModelCustomizationJobsOutput) GoString

GoString returns the string representation

func (*OutputForListModelCustomizationJobsOutput) SetCustomModelCreateTimeUnix

SetCustomModelCreateTimeUnix sets the CustomModelCreateTimeUnix field's value.

func (*OutputForListModelCustomizationJobsOutput) SetCustomModelId

SetCustomModelId sets the CustomModelId field's value.

func (*OutputForListModelCustomizationJobsOutput) SetIndex

SetIndex sets the Index field's value.

func (*OutputForListModelCustomizationJobsOutput) SetName

SetName sets the Name field's value.

func (*OutputForListModelCustomizationJobsOutput) SetStatus

SetStatus sets the Status field's value.

func (OutputForListModelCustomizationJobsOutput) String

String returns the string representation

type ParametersForBatchChatCompletionsInput added in v1.0.7

type ParametersForBatchChatCompletionsInput struct {
	// contains filtered or unexported fields
}

func (ParametersForBatchChatCompletionsInput) GoString added in v1.0.7

GoString returns the string representation

func (ParametersForBatchChatCompletionsInput) String added in v1.0.7

String returns the string representation

type ParametersForBotsChatCompletionsInput added in v1.0.7

type ParametersForBotsChatCompletionsInput struct {
	// contains filtered or unexported fields
}

func (ParametersForBotsChatCompletionsInput) GoString added in v1.0.7

GoString returns the string representation

func (ParametersForBotsChatCompletionsInput) String added in v1.0.7

String returns the string representation

type ParametersForChatCompletionsTextInput added in v1.0.7

type ParametersForChatCompletionsTextInput struct {
	// contains filtered or unexported fields
}

func (ParametersForChatCompletionsTextInput) GoString added in v1.0.7

GoString returns the string representation

func (ParametersForChatCompletionsTextInput) String added in v1.0.7

String returns the string representation

type PresetDatasetForCreateModelCustomizationJobInput

type PresetDatasetForCreateModelCustomizationJobInput struct {
	DatasetVersionId *string `type:"string" json:",omitempty"`

	InjectMultiplier *float64 `type:"double" json:",omitempty"`

	InjectSampleCount *int64 `type:"int64" json:",omitempty"`
	// contains filtered or unexported fields
}

func (PresetDatasetForCreateModelCustomizationJobInput) GoString

GoString returns the string representation

func (*PresetDatasetForCreateModelCustomizationJobInput) SetDatasetVersionId

SetDatasetVersionId sets the DatasetVersionId field's value.

func (*PresetDatasetForCreateModelCustomizationJobInput) SetInjectMultiplier

SetInjectMultiplier sets the InjectMultiplier field's value.

func (*PresetDatasetForCreateModelCustomizationJobInput) SetInjectSampleCount

SetInjectSampleCount sets the InjectSampleCount field's value.

func (PresetDatasetForCreateModelCustomizationJobInput) String

String returns the string representation

type PresetDatasetForGetModelCustomizationJobOutput

type PresetDatasetForGetModelCustomizationJobOutput struct {
	DatasetVersionId *string `type:"string" json:",omitempty"`

	InjectMultiplier *float64 `type:"double" json:",omitempty"`

	InjectSampleCount *int64 `type:"int64" json:",omitempty"`
	// contains filtered or unexported fields
}

func (PresetDatasetForGetModelCustomizationJobOutput) GoString

GoString returns the string representation

func (*PresetDatasetForGetModelCustomizationJobOutput) SetDatasetVersionId

SetDatasetVersionId sets the DatasetVersionId field's value.

func (*PresetDatasetForGetModelCustomizationJobOutput) SetInjectMultiplier

SetInjectMultiplier sets the InjectMultiplier field's value.

func (*PresetDatasetForGetModelCustomizationJobOutput) SetInjectSampleCount

SetInjectSampleCount sets the InjectSampleCount field's value.

func (PresetDatasetForGetModelCustomizationJobOutput) String

String returns the string representation

type PresetDatasetForListModelCustomizationJobsOutput

type PresetDatasetForListModelCustomizationJobsOutput struct {
	DatasetVersionId *string `type:"string" json:",omitempty"`

	InjectMultiplier *float64 `type:"double" json:",omitempty"`

	InjectSampleCount *int64 `type:"int64" json:",omitempty"`
	// contains filtered or unexported fields
}

func (PresetDatasetForListModelCustomizationJobsOutput) GoString

GoString returns the string representation

func (*PresetDatasetForListModelCustomizationJobsOutput) SetDatasetVersionId

SetDatasetVersionId sets the DatasetVersionId field's value.

func (*PresetDatasetForListModelCustomizationJobsOutput) SetInjectMultiplier

SetInjectMultiplier sets the InjectMultiplier field's value.

func (*PresetDatasetForListModelCustomizationJobsOutput) SetInjectSampleCount

SetInjectSampleCount sets the InjectSampleCount field's value.

func (PresetDatasetForListModelCustomizationJobsOutput) String

String returns the string representation

type Prompt_tokens_detailsForBatchChatCompletionsOutput added in v1.0.7

type Prompt_tokens_detailsForBatchChatCompletionsOutput struct {
	// contains filtered or unexported fields
}

func (Prompt_tokens_detailsForBatchChatCompletionsOutput) GoString added in v1.0.7

GoString returns the string representation

func (Prompt_tokens_detailsForBatchChatCompletionsOutput) String added in v1.0.7

String returns the string representation

type Prompt_tokens_detailsForChatCompletionsTextOutput added in v1.0.7

type Prompt_tokens_detailsForChatCompletionsTextOutput struct {
	// contains filtered or unexported fields
}

func (Prompt_tokens_detailsForChatCompletionsTextOutput) GoString added in v1.0.7

GoString returns the string representation

func (Prompt_tokens_detailsForChatCompletionsTextOutput) String added in v1.0.7

String returns the string representation

type Prompt_tokens_detailsForChatCompletionsVisionOutput added in v1.0.7

type Prompt_tokens_detailsForChatCompletionsVisionOutput struct {
	// contains filtered or unexported fields
}

func (Prompt_tokens_detailsForChatCompletionsVisionOutput) GoString added in v1.0.7

GoString returns the string representation

func (Prompt_tokens_detailsForChatCompletionsVisionOutput) String added in v1.0.7

String returns the string representation

type Prompt_tokens_detailsForEmbeddingsMultimodalOutput added in v1.0.7

type Prompt_tokens_detailsForEmbeddingsMultimodalOutput struct {
	Image_tokens *int32 `type:"int32" json:"image_tokens,omitempty"`

	Text_tokens *int32 `type:"int32" json:"text_tokens,omitempty"`
	// contains filtered or unexported fields
}

func (Prompt_tokens_detailsForEmbeddingsMultimodalOutput) GoString added in v1.0.7

GoString returns the string representation

func (*Prompt_tokens_detailsForEmbeddingsMultimodalOutput) SetImage_tokens added in v1.0.7

SetImage_tokens sets the Image_tokens field's value.

func (*Prompt_tokens_detailsForEmbeddingsMultimodalOutput) SetText_tokens added in v1.0.7

SetText_tokens sets the Text_tokens field's value.

func (Prompt_tokens_detailsForEmbeddingsMultimodalOutput) String added in v1.0.7

String returns the string representation

type RateLimitForCreateEndpointInput

type RateLimitForCreateEndpointInput struct {
	Rpm *int32 `type:"int32" json:",omitempty"`

	Tpm *int32 `type:"int32" json:",omitempty"`
	// contains filtered or unexported fields
}

func (RateLimitForCreateEndpointInput) GoString

GoString returns the string representation

func (*RateLimitForCreateEndpointInput) SetRpm

SetRpm sets the Rpm field's value.

func (*RateLimitForCreateEndpointInput) SetTpm

SetTpm sets the Tpm field's value.

func (RateLimitForCreateEndpointInput) String

String returns the string representation

type RateLimitForGetEndpointOutput

type RateLimitForGetEndpointOutput struct {
	Rpm *int32 `type:"int32" json:",omitempty"`

	Tpm *int32 `type:"int32" json:",omitempty"`
	// contains filtered or unexported fields
}

func (RateLimitForGetEndpointOutput) GoString

GoString returns the string representation

func (*RateLimitForGetEndpointOutput) SetRpm

SetRpm sets the Rpm field's value.

func (*RateLimitForGetEndpointOutput) SetTpm

SetTpm sets the Tpm field's value.

func (RateLimitForGetEndpointOutput) String

String returns the string representation

type RateLimitForListEndpointsOutput

type RateLimitForListEndpointsOutput struct {
	Rpm *int32 `type:"int32" json:",omitempty"`

	Tpm *int32 `type:"int32" json:",omitempty"`
	// contains filtered or unexported fields
}

func (RateLimitForListEndpointsOutput) GoString

GoString returns the string representation

func (*RateLimitForListEndpointsOutput) SetRpm

SetRpm sets the Rpm field's value.

func (*RateLimitForListEndpointsOutput) SetTpm

SetTpm sets the Tpm field's value.

func (RateLimitForListEndpointsOutput) String

String returns the string representation

type ReferenceForBotsChatCompletionsOutput added in v1.0.7

type ReferenceForBotsChatCompletionsOutput struct {
	// contains filtered or unexported fields
}

func (ReferenceForBotsChatCompletionsOutput) GoString added in v1.0.7

GoString returns the string representation

func (ReferenceForBotsChatCompletionsOutput) String added in v1.0.7

String returns the string representation

type RequestCountsForListBatchInferenceJobsOutput

type RequestCountsForListBatchInferenceJobsOutput struct {
	Completed *int64 `type:"int64" json:",omitempty"`

	Failed *int64 `type:"int64" json:",omitempty"`

	Total *int64 `type:"int64" json:",omitempty"`
	// contains filtered or unexported fields
}

func (RequestCountsForListBatchInferenceJobsOutput) GoString

GoString returns the string representation

func (*RequestCountsForListBatchInferenceJobsOutput) SetCompleted

SetCompleted sets the Completed field's value.

func (*RequestCountsForListBatchInferenceJobsOutput) SetFailed

SetFailed sets the Failed field's value.

func (*RequestCountsForListBatchInferenceJobsOutput) SetTotal

SetTotal sets the Total field's value.

func (RequestCountsForListBatchInferenceJobsOutput) String

String returns the string representation

type StatusForGetModelCustomizationJobOutput

type StatusForGetModelCustomizationJobOutput struct {
	BillableTokens *int64 `type:"int64" json:",omitempty"`

	Message *string `type:"string" json:",omitempty"`

	OutputExpiredTime *string `type:"string" json:",omitempty"`

	Phase *string `type:"string" json:",omitempty"`

	PhaseTime *string `type:"string" json:",omitempty"`

	QueuePosition *int32 `type:"int32" json:",omitempty"`

	Resumable *bool `type:"boolean" json:",omitempty"`

	RetryCount *int32 `type:"int32" json:",omitempty"`

	RetryLimit *int32 `type:"int32" json:",omitempty"`

	TrainingTokensPerEpoch *int64 `type:"int64" json:",omitempty"`
	// contains filtered or unexported fields
}

func (StatusForGetModelCustomizationJobOutput) GoString

GoString returns the string representation

func (*StatusForGetModelCustomizationJobOutput) SetBillableTokens

SetBillableTokens sets the BillableTokens field's value.

func (*StatusForGetModelCustomizationJobOutput) SetMessage

SetMessage sets the Message field's value.

func (*StatusForGetModelCustomizationJobOutput) SetOutputExpiredTime

SetOutputExpiredTime sets the OutputExpiredTime field's value.

func (*StatusForGetModelCustomizationJobOutput) SetPhase

SetPhase sets the Phase field's value.

func (*StatusForGetModelCustomizationJobOutput) SetPhaseTime

SetPhaseTime sets the PhaseTime field's value.

func (*StatusForGetModelCustomizationJobOutput) SetQueuePosition

SetQueuePosition sets the QueuePosition field's value.

func (*StatusForGetModelCustomizationJobOutput) SetResumable

SetResumable sets the Resumable field's value.

func (*StatusForGetModelCustomizationJobOutput) SetRetryCount

SetRetryCount sets the RetryCount field's value.

func (*StatusForGetModelCustomizationJobOutput) SetRetryLimit

SetRetryLimit sets the RetryLimit field's value.

func (*StatusForGetModelCustomizationJobOutput) SetTrainingTokensPerEpoch

SetTrainingTokensPerEpoch sets the TrainingTokensPerEpoch field's value.

func (StatusForGetModelCustomizationJobOutput) String

String returns the string representation

type StatusForListBatchInferenceJobsOutput

type StatusForListBatchInferenceJobsOutput struct {
	Message *string `type:"string" json:",omitempty"`

	Phase *string `type:"string" json:",omitempty"`

	PhaseTime *string `type:"string" json:",omitempty"`
	// contains filtered or unexported fields
}

func (StatusForListBatchInferenceJobsOutput) GoString

GoString returns the string representation

func (*StatusForListBatchInferenceJobsOutput) SetMessage

SetMessage sets the Message field's value.

func (*StatusForListBatchInferenceJobsOutput) SetPhase

SetPhase sets the Phase field's value.

func (*StatusForListBatchInferenceJobsOutput) SetPhaseTime

SetPhaseTime sets the PhaseTime field's value.

func (StatusForListBatchInferenceJobsOutput) String

String returns the string representation

type StatusForListModelCustomizationJobsOutput

type StatusForListModelCustomizationJobsOutput struct {
	BillableTokens *int64 `type:"int64" json:",omitempty"`

	Message *string `type:"string" json:",omitempty"`

	OutputExpiredTime *string `type:"string" json:",omitempty"`

	Phase *string `type:"string" json:",omitempty"`

	PhaseTime *string `type:"string" json:",omitempty"`

	QueuePosition *int32 `type:"int32" json:",omitempty"`

	Resumable *bool `type:"boolean" json:",omitempty"`

	RetryCount *int32 `type:"int32" json:",omitempty"`

	RetryLimit *int32 `type:"int32" json:",omitempty"`

	TrainingTokensPerEpoch *int64 `type:"int64" json:",omitempty"`
	// contains filtered or unexported fields
}

func (StatusForListModelCustomizationJobsOutput) GoString

GoString returns the string representation

func (*StatusForListModelCustomizationJobsOutput) SetBillableTokens

SetBillableTokens sets the BillableTokens field's value.

func (*StatusForListModelCustomizationJobsOutput) SetMessage

SetMessage sets the Message field's value.

func (*StatusForListModelCustomizationJobsOutput) SetOutputExpiredTime

SetOutputExpiredTime sets the OutputExpiredTime field's value.

func (*StatusForListModelCustomizationJobsOutput) SetPhase

SetPhase sets the Phase field's value.

func (*StatusForListModelCustomizationJobsOutput) SetPhaseTime

SetPhaseTime sets the PhaseTime field's value.

func (*StatusForListModelCustomizationJobsOutput) SetQueuePosition

SetQueuePosition sets the QueuePosition field's value.

func (*StatusForListModelCustomizationJobsOutput) SetResumable

SetResumable sets the Resumable field's value.

func (*StatusForListModelCustomizationJobsOutput) SetRetryCount

SetRetryCount sets the RetryCount field's value.

func (*StatusForListModelCustomizationJobsOutput) SetRetryLimit

SetRetryLimit sets the RetryLimit field's value.

func (*StatusForListModelCustomizationJobsOutput) SetTrainingTokensPerEpoch

SetTrainingTokensPerEpoch sets the TrainingTokensPerEpoch field's value.

func (StatusForListModelCustomizationJobsOutput) String

String returns the string representation

type Stream_optionsForBatchChatCompletionsInput added in v1.0.7

type Stream_optionsForBatchChatCompletionsInput struct {
	Include_usage *bool `type:"boolean" json:"include_usage,omitempty"`
	// contains filtered or unexported fields
}

func (Stream_optionsForBatchChatCompletionsInput) GoString added in v1.0.7

GoString returns the string representation

func (*Stream_optionsForBatchChatCompletionsInput) SetInclude_usage added in v1.0.7

SetInclude_usage sets the Include_usage field's value.

func (Stream_optionsForBatchChatCompletionsInput) String added in v1.0.7

String returns the string representation

type Stream_optionsForBotsChatCompletionsInput added in v1.0.7

type Stream_optionsForBotsChatCompletionsInput struct {
	Include_usage *bool `type:"boolean" json:"include_usage,omitempty"`
	// contains filtered or unexported fields
}

func (Stream_optionsForBotsChatCompletionsInput) GoString added in v1.0.7

GoString returns the string representation

func (*Stream_optionsForBotsChatCompletionsInput) SetInclude_usage added in v1.0.7

SetInclude_usage sets the Include_usage field's value.

func (Stream_optionsForBotsChatCompletionsInput) String added in v1.0.7

String returns the string representation

type Stream_optionsForChatCompletionsTextInput added in v1.0.7

type Stream_optionsForChatCompletionsTextInput struct {
	Include_usage *bool `type:"boolean" json:"include_usage,omitempty"`
	// contains filtered or unexported fields
}

func (Stream_optionsForChatCompletionsTextInput) GoString added in v1.0.7

GoString returns the string representation

func (*Stream_optionsForChatCompletionsTextInput) SetInclude_usage added in v1.0.7

SetInclude_usage sets the Include_usage field's value.

func (Stream_optionsForChatCompletionsTextInput) String added in v1.0.7

String returns the string representation

type Stream_optionsForChatCompletionsVisionInput added in v1.0.7

type Stream_optionsForChatCompletionsVisionInput struct {
	Include_usage *bool `type:"boolean" json:"include_usage,omitempty"`
	// contains filtered or unexported fields
}

func (Stream_optionsForChatCompletionsVisionInput) GoString added in v1.0.7

GoString returns the string representation

func (*Stream_optionsForChatCompletionsVisionInput) SetInclude_usage added in v1.0.7

SetInclude_usage sets the Include_usage field's value.

func (Stream_optionsForChatCompletionsVisionInput) String added in v1.0.7

String returns the string representation

type Stream_optionsForContextChatCompletionsInput added in v1.0.7

type Stream_optionsForContextChatCompletionsInput struct {
	Include_usage *bool `type:"boolean" json:"include_usage,omitempty"`
	// contains filtered or unexported fields
}

func (Stream_optionsForContextChatCompletionsInput) GoString added in v1.0.7

GoString returns the string representation

func (*Stream_optionsForContextChatCompletionsInput) SetInclude_usage added in v1.0.7

SetInclude_usage sets the Include_usage field's value.

func (Stream_optionsForContextChatCompletionsInput) String added in v1.0.7

String returns the string representation

type TagFilterForListBatchInferenceJobsInput

type TagFilterForListBatchInferenceJobsInput struct {
	Key *string `type:"string" json:",omitempty"`

	Values []*string `type:"list" json:",omitempty"`
	// contains filtered or unexported fields
}

func (TagFilterForListBatchInferenceJobsInput) GoString

GoString returns the string representation

func (*TagFilterForListBatchInferenceJobsInput) SetKey

SetKey sets the Key field's value.

func (*TagFilterForListBatchInferenceJobsInput) SetValues

SetValues sets the Values field's value.

func (TagFilterForListBatchInferenceJobsInput) String

String returns the string representation

type TagFilterForListEndpointsInput

type TagFilterForListEndpointsInput struct {
	Key *string `type:"string" json:",omitempty"`

	Values []*string `type:"list" json:",omitempty"`
	// contains filtered or unexported fields
}

func (TagFilterForListEndpointsInput) GoString

GoString returns the string representation

func (*TagFilterForListEndpointsInput) SetKey

SetKey sets the Key field's value.

func (*TagFilterForListEndpointsInput) SetValues

SetValues sets the Values field's value.

func (TagFilterForListEndpointsInput) String

String returns the string representation

type TagFilterForListModelCustomizationJobsInput

type TagFilterForListModelCustomizationJobsInput struct {
	Key *string `type:"string" json:",omitempty"`

	Values []*string `type:"list" json:",omitempty"`
	// contains filtered or unexported fields
}

func (TagFilterForListModelCustomizationJobsInput) GoString

GoString returns the string representation

func (*TagFilterForListModelCustomizationJobsInput) SetKey

SetKey sets the Key field's value.

func (*TagFilterForListModelCustomizationJobsInput) SetValues

SetValues sets the Values field's value.

func (TagFilterForListModelCustomizationJobsInput) String

String returns the string representation

type TagForCreateBatchInferenceJobInput

type TagForCreateBatchInferenceJobInput struct {
	Key *string `type:"string" json:",omitempty"`

	Value *string `type:"string" json:",omitempty"`
	// contains filtered or unexported fields
}

func (TagForCreateBatchInferenceJobInput) GoString

GoString returns the string representation

func (*TagForCreateBatchInferenceJobInput) SetKey

SetKey sets the Key field's value.

func (*TagForCreateBatchInferenceJobInput) SetValue

SetValue sets the Value field's value.

func (TagForCreateBatchInferenceJobInput) String

String returns the string representation

type TagForCreateEndpointInput

type TagForCreateEndpointInput struct {
	Key *string `type:"string" json:",omitempty"`

	Value *string `type:"string" json:",omitempty"`
	// contains filtered or unexported fields
}

func (TagForCreateEndpointInput) GoString

func (s TagForCreateEndpointInput) GoString() string

GoString returns the string representation

func (*TagForCreateEndpointInput) SetKey

SetKey sets the Key field's value.

func (*TagForCreateEndpointInput) SetValue

SetValue sets the Value field's value.

func (TagForCreateEndpointInput) String

func (s TagForCreateEndpointInput) String() string

String returns the string representation

type TagForCreateModelCustomizationJobInput

type TagForCreateModelCustomizationJobInput struct {
	Key *string `type:"string" json:",omitempty"`

	Value *string `type:"string" json:",omitempty"`
	// contains filtered or unexported fields
}

func (TagForCreateModelCustomizationJobInput) GoString

GoString returns the string representation

func (*TagForCreateModelCustomizationJobInput) SetKey

SetKey sets the Key field's value.

func (*TagForCreateModelCustomizationJobInput) SetValue

SetValue sets the Value field's value.

func (TagForCreateModelCustomizationJobInput) String

String returns the string representation

type TagForGetEndpointOutput

type TagForGetEndpointOutput struct {
	Key *string `type:"string" json:",omitempty"`

	Value *string `type:"string" json:",omitempty"`
	// contains filtered or unexported fields
}

func (TagForGetEndpointOutput) GoString

func (s TagForGetEndpointOutput) GoString() string

GoString returns the string representation

func (*TagForGetEndpointOutput) SetKey

SetKey sets the Key field's value.

func (*TagForGetEndpointOutput) SetValue

SetValue sets the Value field's value.

func (TagForGetEndpointOutput) String

func (s TagForGetEndpointOutput) String() string

String returns the string representation

type TagForGetModelCustomizationJobOutput

type TagForGetModelCustomizationJobOutput struct {
	Key *string `type:"string" json:",omitempty"`

	Value *string `type:"string" json:",omitempty"`
	// contains filtered or unexported fields
}

func (TagForGetModelCustomizationJobOutput) GoString

GoString returns the string representation

func (*TagForGetModelCustomizationJobOutput) SetKey

SetKey sets the Key field's value.

func (*TagForGetModelCustomizationJobOutput) SetValue

SetValue sets the Value field's value.

func (TagForGetModelCustomizationJobOutput) String

String returns the string representation

type TagForListBatchInferenceJobsOutput

type TagForListBatchInferenceJobsOutput struct {
	Key *string `type:"string" json:",omitempty"`

	Value *string `type:"string" json:",omitempty"`
	// contains filtered or unexported fields
}

func (TagForListBatchInferenceJobsOutput) GoString

GoString returns the string representation

func (*TagForListBatchInferenceJobsOutput) SetKey

SetKey sets the Key field's value.

func (*TagForListBatchInferenceJobsOutput) SetValue

SetValue sets the Value field's value.

func (TagForListBatchInferenceJobsOutput) String

String returns the string representation

type TagForListEndpointsOutput

type TagForListEndpointsOutput struct {
	Key *string `type:"string" json:",omitempty"`

	Value *string `type:"string" json:",omitempty"`
	// contains filtered or unexported fields
}

func (TagForListEndpointsOutput) GoString

func (s TagForListEndpointsOutput) GoString() string

GoString returns the string representation

func (*TagForListEndpointsOutput) SetKey

SetKey sets the Key field's value.

func (*TagForListEndpointsOutput) SetValue

SetValue sets the Value field's value.

func (TagForListEndpointsOutput) String

func (s TagForListEndpointsOutput) String() string

String returns the string representation

type TagForListModelCustomizationJobsOutput

type TagForListModelCustomizationJobsOutput struct {
	Key *string `type:"string" json:",omitempty"`

	Value *string `type:"string" json:",omitempty"`
	// contains filtered or unexported fields
}

func (TagForListModelCustomizationJobsOutput) GoString

GoString returns the string representation

func (*TagForListModelCustomizationJobsOutput) SetKey

SetKey sets the Key field's value.

func (*TagForListModelCustomizationJobsOutput) SetValue

SetValue sets the Value field's value.

func (TagForListModelCustomizationJobsOutput) String

String returns the string representation

type TokenizationInput added in v1.0.7

type TokenizationInput struct {

	// Model is a required field
	Model *string `type:"string" json:"model,omitempty" required:"true"`

	Text []*string `type:"list" json:"text,omitempty"`
	// contains filtered or unexported fields
}

func (TokenizationInput) GoString added in v1.0.7

func (s TokenizationInput) GoString() string

GoString returns the string representation

func (*TokenizationInput) SetModel added in v1.0.7

func (s *TokenizationInput) SetModel(v string) *TokenizationInput

SetModel sets the Model field's value.

func (*TokenizationInput) SetText added in v1.0.7

func (s *TokenizationInput) SetText(v []*string) *TokenizationInput

SetText sets the Text field's value.

func (TokenizationInput) String added in v1.0.7

func (s TokenizationInput) String() string

String returns the string representation

func (*TokenizationInput) Validate added in v1.0.7

func (s *TokenizationInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type TokenizationOutput added in v1.0.7

type TokenizationOutput struct {
	Metadata *response.ResponseMetadata

	Created *int32 `type:"int32" json:"created,omitempty"`

	Data []*DataForTokenizationOutput `type:"list" json:"data,omitempty"`

	Id *string `type:"string" json:"id,omitempty"`

	Model *string `type:"string" json:"model,omitempty"`

	Object *string `type:"string" json:"object,omitempty"`
	// contains filtered or unexported fields
}

func (TokenizationOutput) GoString added in v1.0.7

func (s TokenizationOutput) GoString() string

GoString returns the string representation

func (*TokenizationOutput) SetCreated added in v1.0.7

func (s *TokenizationOutput) SetCreated(v int32) *TokenizationOutput

SetCreated sets the Created field's value.

func (*TokenizationOutput) SetData added in v1.0.7

SetData sets the Data field's value.

func (*TokenizationOutput) SetId added in v1.0.7

SetId sets the Id field's value.

func (*TokenizationOutput) SetModel added in v1.0.7

SetModel sets the Model field's value.

func (*TokenizationOutput) SetObject added in v1.0.7

func (s *TokenizationOutput) SetObject(v string) *TokenizationOutput

SetObject sets the Object field's value.

func (TokenizationOutput) String added in v1.0.7

func (s TokenizationOutput) String() string

String returns the string representation

type ToolForBatchChatCompletionsInput added in v1.0.7

type ToolForBatchChatCompletionsInput struct {
	Function *ConvertfunctionForBatchChatCompletionsInput `type:"structure" json:"function,omitempty"`

	Type *string `type:"string" json:"type,omitempty"`
	// contains filtered or unexported fields
}

func (ToolForBatchChatCompletionsInput) GoString added in v1.0.7

GoString returns the string representation

func (*ToolForBatchChatCompletionsInput) SetFunction added in v1.0.7

SetFunction sets the Function field's value.

func (*ToolForBatchChatCompletionsInput) SetType added in v1.0.7

SetType sets the Type field's value.

func (ToolForBatchChatCompletionsInput) String added in v1.0.7

String returns the string representation

type ToolForBotsChatCompletionsInput added in v1.0.7

type ToolForBotsChatCompletionsInput struct {
	Function *ConvertfunctionForBotsChatCompletionsInput `type:"structure" json:"function,omitempty"`

	Type *string `type:"string" json:"type,omitempty"`
	// contains filtered or unexported fields
}

func (ToolForBotsChatCompletionsInput) GoString added in v1.0.7

GoString returns the string representation

func (*ToolForBotsChatCompletionsInput) SetFunction added in v1.0.7

SetFunction sets the Function field's value.

func (*ToolForBotsChatCompletionsInput) SetType added in v1.0.7

SetType sets the Type field's value.

func (ToolForBotsChatCompletionsInput) String added in v1.0.7

String returns the string representation

type ToolForChatCompletionsTextInput added in v1.0.7

type ToolForChatCompletionsTextInput struct {
	Function *ConvertfunctionForChatCompletionsTextInput `type:"structure" json:"function,omitempty"`

	Type *string `type:"string" json:"type,omitempty"`
	// contains filtered or unexported fields
}

func (ToolForChatCompletionsTextInput) GoString added in v1.0.7

GoString returns the string representation

func (*ToolForChatCompletionsTextInput) SetFunction added in v1.0.7

SetFunction sets the Function field's value.

func (*ToolForChatCompletionsTextInput) SetType added in v1.0.7

SetType sets the Type field's value.

func (ToolForChatCompletionsTextInput) String added in v1.0.7

String returns the string representation

type Tool_callForBatchChatCompletionsInput added in v1.0.7

type Tool_callForBatchChatCompletionsInput struct {
	Function *FunctionForBatchChatCompletionsInput `type:"structure" json:"function,omitempty"`

	Id *string `type:"string" json:"id,omitempty"`

	Type *string `type:"string" json:"type,omitempty"`
	// contains filtered or unexported fields
}

func (Tool_callForBatchChatCompletionsInput) GoString added in v1.0.7

GoString returns the string representation

func (*Tool_callForBatchChatCompletionsInput) SetFunction added in v1.0.7

SetFunction sets the Function field's value.

func (*Tool_callForBatchChatCompletionsInput) SetId added in v1.0.7

SetId sets the Id field's value.

func (*Tool_callForBatchChatCompletionsInput) SetType added in v1.0.7

SetType sets the Type field's value.

func (Tool_callForBatchChatCompletionsInput) String added in v1.0.7

String returns the string representation

type Tool_callForBatchChatCompletionsOutput added in v1.0.7

type Tool_callForBatchChatCompletionsOutput struct {
	Function *FunctionForBatchChatCompletionsOutput `type:"structure" json:"function,omitempty"`

	Id *string `type:"string" json:"id,omitempty"`

	Index *int32 `type:"int32" json:"index,omitempty"`

	Type *string `type:"string" json:"type,omitempty"`
	// contains filtered or unexported fields
}

func (Tool_callForBatchChatCompletionsOutput) GoString added in v1.0.7

GoString returns the string representation

func (*Tool_callForBatchChatCompletionsOutput) SetFunction added in v1.0.7

SetFunction sets the Function field's value.

func (*Tool_callForBatchChatCompletionsOutput) SetId added in v1.0.7

SetId sets the Id field's value.

func (*Tool_callForBatchChatCompletionsOutput) SetIndex added in v1.0.7

SetIndex sets the Index field's value.

func (*Tool_callForBatchChatCompletionsOutput) SetType added in v1.0.7

SetType sets the Type field's value.

func (Tool_callForBatchChatCompletionsOutput) String added in v1.0.7

String returns the string representation

type Tool_callForBotsChatCompletionsOutput added in v1.0.7

type Tool_callForBotsChatCompletionsOutput struct {
	Function *FunctionForBotsChatCompletionsOutput `type:"structure" json:"function,omitempty"`

	Id *string `type:"string" json:"id,omitempty"`

	Index *int32 `type:"int32" json:"index,omitempty"`

	Type *string `type:"string" json:"type,omitempty"`
	// contains filtered or unexported fields
}

func (Tool_callForBotsChatCompletionsOutput) GoString added in v1.0.7

GoString returns the string representation

func (*Tool_callForBotsChatCompletionsOutput) SetFunction added in v1.0.7

SetFunction sets the Function field's value.

func (*Tool_callForBotsChatCompletionsOutput) SetId added in v1.0.7

SetId sets the Id field's value.

func (*Tool_callForBotsChatCompletionsOutput) SetIndex added in v1.0.7

SetIndex sets the Index field's value.

func (*Tool_callForBotsChatCompletionsOutput) SetType added in v1.0.7

SetType sets the Type field's value.

func (Tool_callForBotsChatCompletionsOutput) String added in v1.0.7

String returns the string representation

type Tool_callForChatCompletionsTextInput added in v1.0.7

type Tool_callForChatCompletionsTextInput struct {
	Function *FunctionForChatCompletionsTextInput `type:"structure" json:"function,omitempty"`

	Id *string `type:"string" json:"id,omitempty"`

	Type *string `type:"string" json:"type,omitempty"`
	// contains filtered or unexported fields
}

func (Tool_callForChatCompletionsTextInput) GoString added in v1.0.7

GoString returns the string representation

func (*Tool_callForChatCompletionsTextInput) SetFunction added in v1.0.7

SetFunction sets the Function field's value.

func (*Tool_callForChatCompletionsTextInput) SetId added in v1.0.7

SetId sets the Id field's value.

func (*Tool_callForChatCompletionsTextInput) SetType added in v1.0.7

SetType sets the Type field's value.

func (Tool_callForChatCompletionsTextInput) String added in v1.0.7

String returns the string representation

type Tool_callForChatCompletionsTextOutput added in v1.0.7

type Tool_callForChatCompletionsTextOutput struct {
	Function *FunctionForChatCompletionsTextOutput `type:"structure" json:"function,omitempty"`

	Id *string `type:"string" json:"id,omitempty"`

	Index *int32 `type:"int32" json:"index,omitempty"`

	Type *string `type:"string" json:"type,omitempty"`
	// contains filtered or unexported fields
}

func (Tool_callForChatCompletionsTextOutput) GoString added in v1.0.7

GoString returns the string representation

func (*Tool_callForChatCompletionsTextOutput) SetFunction added in v1.0.7

SetFunction sets the Function field's value.

func (*Tool_callForChatCompletionsTextOutput) SetId added in v1.0.7

SetId sets the Id field's value.

func (*Tool_callForChatCompletionsTextOutput) SetIndex added in v1.0.7

SetIndex sets the Index field's value.

func (*Tool_callForChatCompletionsTextOutput) SetType added in v1.0.7

SetType sets the Type field's value.

func (Tool_callForChatCompletionsTextOutput) String added in v1.0.7

String returns the string representation

type Tool_callsForBotsChatCompletionsInput added in v1.0.7

type Tool_callsForBotsChatCompletionsInput struct {
	Function *FunctionForBotsChatCompletionsInput `type:"structure" json:"function,omitempty"`

	Id *string `type:"string" json:"id,omitempty"`

	Type *string `type:"string" json:"type,omitempty"`
	// contains filtered or unexported fields
}

func (Tool_callsForBotsChatCompletionsInput) GoString added in v1.0.7

GoString returns the string representation

func (*Tool_callsForBotsChatCompletionsInput) SetFunction added in v1.0.7

SetFunction sets the Function field's value.

func (*Tool_callsForBotsChatCompletionsInput) SetId added in v1.0.7

SetId sets the Id field's value.

func (*Tool_callsForBotsChatCompletionsInput) SetType added in v1.0.7

SetType sets the Type field's value.

func (Tool_callsForBotsChatCompletionsInput) String added in v1.0.7

String returns the string representation

type Top_logprobForBatchChatCompletionsOutput added in v1.0.7

type Top_logprobForBatchChatCompletionsOutput struct {
	Bytes []*int32 `type:"list" json:"bytes,omitempty"`

	Logprob *float64 `type:"float" json:"logprob,omitempty"`

	Token *string `type:"string" json:"token,omitempty"`
	// contains filtered or unexported fields
}

func (Top_logprobForBatchChatCompletionsOutput) GoString added in v1.0.7

GoString returns the string representation

func (*Top_logprobForBatchChatCompletionsOutput) SetBytes added in v1.0.7

SetBytes sets the Bytes field's value.

func (*Top_logprobForBatchChatCompletionsOutput) SetLogprob added in v1.0.7

SetLogprob sets the Logprob field's value.

func (*Top_logprobForBatchChatCompletionsOutput) SetToken added in v1.0.7

SetToken sets the Token field's value.

func (Top_logprobForBatchChatCompletionsOutput) String added in v1.0.7

String returns the string representation

type Top_logprobForBotsChatCompletionsOutput added in v1.0.7

type Top_logprobForBotsChatCompletionsOutput struct {
	Bytes []*int32 `type:"list" json:"bytes,omitempty"`

	Logprob *float64 `type:"float" json:"logprob,omitempty"`

	Token *string `type:"string" json:"token,omitempty"`
	// contains filtered or unexported fields
}

func (Top_logprobForBotsChatCompletionsOutput) GoString added in v1.0.7

GoString returns the string representation

func (*Top_logprobForBotsChatCompletionsOutput) SetBytes added in v1.0.7

SetBytes sets the Bytes field's value.

func (*Top_logprobForBotsChatCompletionsOutput) SetLogprob added in v1.0.7

SetLogprob sets the Logprob field's value.

func (*Top_logprobForBotsChatCompletionsOutput) SetToken added in v1.0.7

SetToken sets the Token field's value.

func (Top_logprobForBotsChatCompletionsOutput) String added in v1.0.7

String returns the string representation

type Top_logprobForChatCompletionsTextOutput added in v1.0.7

type Top_logprobForChatCompletionsTextOutput struct {
	Bytes []*int32 `type:"list" json:"bytes,omitempty"`

	Logprob *float64 `type:"float" json:"logprob,omitempty"`

	Token *string `type:"string" json:"token,omitempty"`
	// contains filtered or unexported fields
}

func (Top_logprobForChatCompletionsTextOutput) GoString added in v1.0.7

GoString returns the string representation

func (*Top_logprobForChatCompletionsTextOutput) SetBytes added in v1.0.7

SetBytes sets the Bytes field's value.

func (*Top_logprobForChatCompletionsTextOutput) SetLogprob added in v1.0.7

SetLogprob sets the Logprob field's value.

func (*Top_logprobForChatCompletionsTextOutput) SetToken added in v1.0.7

SetToken sets the Token field's value.

func (Top_logprobForChatCompletionsTextOutput) String added in v1.0.7

String returns the string representation

type TrainingSetForCreateModelCustomizationJobInput

type TrainingSetForCreateModelCustomizationJobInput struct {
	Datasets []*DatasetForCreateModelCustomizationJobInput `type:"list" json:",omitempty"`

	PresetData *string `type:"string" json:",omitempty"`

	PresetDataPercentage *int32 `type:"int32" json:",omitempty"`

	PresetDatasets []*PresetDatasetForCreateModelCustomizationJobInput `type:"list" json:",omitempty"`

	TosBucket *string `type:"string" json:",omitempty"`

	TosPaths []*string `type:"list" json:",omitempty"`
	// contains filtered or unexported fields
}

func (TrainingSetForCreateModelCustomizationJobInput) GoString

GoString returns the string representation

func (*TrainingSetForCreateModelCustomizationJobInput) SetDatasets

SetDatasets sets the Datasets field's value.

func (*TrainingSetForCreateModelCustomizationJobInput) SetPresetData

SetPresetData sets the PresetData field's value.

func (*TrainingSetForCreateModelCustomizationJobInput) SetPresetDataPercentage

SetPresetDataPercentage sets the PresetDataPercentage field's value.

func (*TrainingSetForCreateModelCustomizationJobInput) SetPresetDatasets

SetPresetDatasets sets the PresetDatasets field's value.

func (*TrainingSetForCreateModelCustomizationJobInput) SetTosBucket

SetTosBucket sets the TosBucket field's value.

func (*TrainingSetForCreateModelCustomizationJobInput) SetTosPaths

SetTosPaths sets the TosPaths field's value.

func (TrainingSetForCreateModelCustomizationJobInput) String

String returns the string representation

type TrainingSetForGetModelCustomizationJobOutput

type TrainingSetForGetModelCustomizationJobOutput struct {
	Datasets []*DatasetForGetModelCustomizationJobOutput `type:"list" json:",omitempty"`

	PresetData *string `type:"string" json:",omitempty"`

	PresetDataPercentage *int32 `type:"int32" json:",omitempty"`

	PresetDatasets []*PresetDatasetForGetModelCustomizationJobOutput `type:"list" json:",omitempty"`

	TosBucket *string `type:"string" json:",omitempty"`

	TosPaths []*string `type:"list" json:",omitempty"`
	// contains filtered or unexported fields
}

func (TrainingSetForGetModelCustomizationJobOutput) GoString

GoString returns the string representation

func (*TrainingSetForGetModelCustomizationJobOutput) SetDatasets

SetDatasets sets the Datasets field's value.

func (*TrainingSetForGetModelCustomizationJobOutput) SetPresetData

SetPresetData sets the PresetData field's value.

func (*TrainingSetForGetModelCustomizationJobOutput) SetPresetDataPercentage

SetPresetDataPercentage sets the PresetDataPercentage field's value.

func (*TrainingSetForGetModelCustomizationJobOutput) SetPresetDatasets

SetPresetDatasets sets the PresetDatasets field's value.

func (*TrainingSetForGetModelCustomizationJobOutput) SetTosBucket

SetTosBucket sets the TosBucket field's value.

func (*TrainingSetForGetModelCustomizationJobOutput) SetTosPaths

SetTosPaths sets the TosPaths field's value.

func (TrainingSetForGetModelCustomizationJobOutput) String

String returns the string representation

type TrainingSetForListModelCustomizationJobsOutput

type TrainingSetForListModelCustomizationJobsOutput struct {
	Datasets []*DatasetForListModelCustomizationJobsOutput `type:"list" json:",omitempty"`

	PresetData *string `type:"string" json:",omitempty"`

	PresetDataPercentage *int32 `type:"int32" json:",omitempty"`

	PresetDatasets []*PresetDatasetForListModelCustomizationJobsOutput `type:"list" json:",omitempty"`

	TosBucket *string `type:"string" json:",omitempty"`

	TosPaths []*string `type:"list" json:",omitempty"`
	// contains filtered or unexported fields
}

func (TrainingSetForListModelCustomizationJobsOutput) GoString

GoString returns the string representation

func (*TrainingSetForListModelCustomizationJobsOutput) SetDatasets

SetDatasets sets the Datasets field's value.

func (*TrainingSetForListModelCustomizationJobsOutput) SetPresetData

SetPresetData sets the PresetData field's value.

func (*TrainingSetForListModelCustomizationJobsOutput) SetPresetDataPercentage

SetPresetDataPercentage sets the PresetDataPercentage field's value.

func (*TrainingSetForListModelCustomizationJobsOutput) SetPresetDatasets

SetPresetDatasets sets the PresetDatasets field's value.

func (*TrainingSetForListModelCustomizationJobsOutput) SetTosBucket

SetTosBucket sets the TosBucket field's value.

func (*TrainingSetForListModelCustomizationJobsOutput) SetTosPaths

SetTosPaths sets the TosPaths field's value.

func (TrainingSetForListModelCustomizationJobsOutput) String

String returns the string representation

type Truncation_strategyForContextCreateInput added in v1.0.7

type Truncation_strategyForContextCreateInput struct {
	Last_history_tokens *int32 `type:"int32" json:"last_history_tokens,omitempty"`

	Rolling_tokens *bool `type:"boolean" json:"rolling_tokens,omitempty"`

	Type *string `type:"string" json:"type,omitempty"`
	// contains filtered or unexported fields
}

func (Truncation_strategyForContextCreateInput) GoString added in v1.0.7

GoString returns the string representation

func (*Truncation_strategyForContextCreateInput) SetLast_history_tokens added in v1.0.7

SetLast_history_tokens sets the Last_history_tokens field's value.

func (*Truncation_strategyForContextCreateInput) SetRolling_tokens added in v1.0.7

SetRolling_tokens sets the Rolling_tokens field's value.

func (*Truncation_strategyForContextCreateInput) SetType added in v1.0.7

SetType sets the Type field's value.

func (Truncation_strategyForContextCreateInput) String added in v1.0.7

String returns the string representation

type Truncation_strategyForContextCreateOutput added in v1.0.7

type Truncation_strategyForContextCreateOutput struct {
	Last_history_tokens *int32 `type:"int32" json:"last_history_tokens,omitempty"`

	Rolling_tokens *bool `type:"boolean" json:"rolling_tokens,omitempty"`

	Type *string `type:"string" json:"type,omitempty"`
	// contains filtered or unexported fields
}

func (Truncation_strategyForContextCreateOutput) GoString added in v1.0.7

GoString returns the string representation

func (*Truncation_strategyForContextCreateOutput) SetLast_history_tokens added in v1.0.7

SetLast_history_tokens sets the Last_history_tokens field's value.

func (*Truncation_strategyForContextCreateOutput) SetRolling_tokens added in v1.0.7

SetRolling_tokens sets the Rolling_tokens field's value.

func (*Truncation_strategyForContextCreateOutput) SetType added in v1.0.7

SetType sets the Type field's value.

func (Truncation_strategyForContextCreateOutput) String added in v1.0.7

String returns the string representation

type UsageForBatchChatCompletionsOutput added in v1.0.7

type UsageForBatchChatCompletionsOutput struct {
	Completion_tokens *int32 `type:"int32" json:"completion_tokens,omitempty"`

	Completion_tokens_details *Completion_tokens_detailsForBatchChatCompletionsOutput `type:"structure" json:"completion_tokens_details,omitempty"`

	Prompt_tokens *int32 `type:"int32" json:"prompt_tokens,omitempty"`

	Prompt_tokens_details *Prompt_tokens_detailsForBatchChatCompletionsOutput `type:"structure" json:"prompt_tokens_details,omitempty"`

	Total_tokens *int32 `type:"int32" json:"total_tokens,omitempty"`
	// contains filtered or unexported fields
}

func (UsageForBatchChatCompletionsOutput) GoString added in v1.0.7

GoString returns the string representation

func (*UsageForBatchChatCompletionsOutput) SetCompletion_tokens added in v1.0.7

SetCompletion_tokens sets the Completion_tokens field's value.

func (*UsageForBatchChatCompletionsOutput) SetCompletion_tokens_details added in v1.0.7

SetCompletion_tokens_details sets the Completion_tokens_details field's value.

func (*UsageForBatchChatCompletionsOutput) SetPrompt_tokens added in v1.0.7

SetPrompt_tokens sets the Prompt_tokens field's value.

func (*UsageForBatchChatCompletionsOutput) SetPrompt_tokens_details added in v1.0.7

SetPrompt_tokens_details sets the Prompt_tokens_details field's value.

func (*UsageForBatchChatCompletionsOutput) SetTotal_tokens added in v1.0.7

SetTotal_tokens sets the Total_tokens field's value.

func (UsageForBatchChatCompletionsOutput) String added in v1.0.7

String returns the string representation

type UsageForChatCompletionsTextOutput added in v1.0.7

type UsageForChatCompletionsTextOutput struct {
	Completion_tokens *int32 `type:"int32" json:"completion_tokens,omitempty"`

	Completion_tokens_details *Completion_tokens_detailsForChatCompletionsTextOutput `type:"structure" json:"completion_tokens_details,omitempty"`

	Prompt_tokens *int32 `type:"int32" json:"prompt_tokens,omitempty"`

	Prompt_tokens_details *Prompt_tokens_detailsForChatCompletionsTextOutput `type:"structure" json:"prompt_tokens_details,omitempty"`

	Total_tokens *int32 `type:"int32" json:"total_tokens,omitempty"`
	// contains filtered or unexported fields
}

func (UsageForChatCompletionsTextOutput) GoString added in v1.0.7

GoString returns the string representation

func (*UsageForChatCompletionsTextOutput) SetCompletion_tokens added in v1.0.7

SetCompletion_tokens sets the Completion_tokens field's value.

func (*UsageForChatCompletionsTextOutput) SetCompletion_tokens_details added in v1.0.7

SetCompletion_tokens_details sets the Completion_tokens_details field's value.

func (*UsageForChatCompletionsTextOutput) SetPrompt_tokens added in v1.0.7

SetPrompt_tokens sets the Prompt_tokens field's value.

func (*UsageForChatCompletionsTextOutput) SetPrompt_tokens_details added in v1.0.7

SetPrompt_tokens_details sets the Prompt_tokens_details field's value.

func (*UsageForChatCompletionsTextOutput) SetTotal_tokens added in v1.0.7

SetTotal_tokens sets the Total_tokens field's value.

func (UsageForChatCompletionsTextOutput) String added in v1.0.7

String returns the string representation

type UsageForChatCompletionsVisionOutput added in v1.0.7

type UsageForChatCompletionsVisionOutput struct {
	Completion_tokens *int32 `type:"int32" json:"completion_tokens,omitempty"`

	Prompt_tokens *int32 `type:"int32" json:"prompt_tokens,omitempty"`

	Prompt_tokens_details *Prompt_tokens_detailsForChatCompletionsVisionOutput `type:"structure" json:"prompt_tokens_details,omitempty"`

	Total_tokens *int32 `type:"int32" json:"total_tokens,omitempty"`
	// contains filtered or unexported fields
}

func (UsageForChatCompletionsVisionOutput) GoString added in v1.0.7

GoString returns the string representation

func (*UsageForChatCompletionsVisionOutput) SetCompletion_tokens added in v1.0.7

SetCompletion_tokens sets the Completion_tokens field's value.

func (*UsageForChatCompletionsVisionOutput) SetPrompt_tokens added in v1.0.7

SetPrompt_tokens sets the Prompt_tokens field's value.

func (*UsageForChatCompletionsVisionOutput) SetPrompt_tokens_details added in v1.0.7

SetPrompt_tokens_details sets the Prompt_tokens_details field's value.

func (*UsageForChatCompletionsVisionOutput) SetTotal_tokens added in v1.0.7

SetTotal_tokens sets the Total_tokens field's value.

func (UsageForChatCompletionsVisionOutput) String added in v1.0.7

String returns the string representation

type UsageForContextCreateOutput added in v1.0.7

type UsageForContextCreateOutput struct {
	// contains filtered or unexported fields
}

func (UsageForContextCreateOutput) GoString added in v1.0.7

func (s UsageForContextCreateOutput) GoString() string

GoString returns the string representation

func (UsageForContextCreateOutput) String added in v1.0.7

String returns the string representation

type UsageForEmbeddingsMultimodalOutput added in v1.0.7

type UsageForEmbeddingsMultimodalOutput struct {
	Prompt_tokens *int32 `type:"int32" json:"prompt_tokens,omitempty"`

	Prompt_tokens_details *Prompt_tokens_detailsForEmbeddingsMultimodalOutput `type:"structure" json:"prompt_tokens_details,omitempty"`

	Total_tokens *int32 `type:"int32" json:"total_tokens,omitempty"`
	// contains filtered or unexported fields
}

func (UsageForEmbeddingsMultimodalOutput) GoString added in v1.0.7

GoString returns the string representation

func (*UsageForEmbeddingsMultimodalOutput) SetPrompt_tokens added in v1.0.7

SetPrompt_tokens sets the Prompt_tokens field's value.

func (*UsageForEmbeddingsMultimodalOutput) SetPrompt_tokens_details added in v1.0.7

SetPrompt_tokens_details sets the Prompt_tokens_details field's value.

func (*UsageForEmbeddingsMultimodalOutput) SetTotal_tokens added in v1.0.7

SetTotal_tokens sets the Total_tokens field's value.

func (UsageForEmbeddingsMultimodalOutput) String added in v1.0.7

String returns the string representation

type UsageForEmbeddingsOutput added in v1.0.7

type UsageForEmbeddingsOutput struct {
	Prompt_tokens *int32 `type:"int32" json:"prompt_tokens,omitempty"`

	Total_tokens *int32 `type:"int32" json:"total_tokens,omitempty"`
	// contains filtered or unexported fields
}

func (UsageForEmbeddingsOutput) GoString added in v1.0.7

func (s UsageForEmbeddingsOutput) GoString() string

GoString returns the string representation

func (*UsageForEmbeddingsOutput) SetPrompt_tokens added in v1.0.7

SetPrompt_tokens sets the Prompt_tokens field's value.

func (*UsageForEmbeddingsOutput) SetTotal_tokens added in v1.0.7

SetTotal_tokens sets the Total_tokens field's value.

func (UsageForEmbeddingsOutput) String added in v1.0.7

func (s UsageForEmbeddingsOutput) String() string

String returns the string representation

type ValidationSetForCreateModelCustomizationJobInput

type ValidationSetForCreateModelCustomizationJobInput struct {
	Datasets []*DatasetForCreateModelCustomizationJobInput `type:"list" json:",omitempty"`

	TosBucket *string `type:"string" json:",omitempty"`

	TosPaths []*string `type:"list" json:",omitempty"`
	// contains filtered or unexported fields
}

func (ValidationSetForCreateModelCustomizationJobInput) GoString

GoString returns the string representation

func (*ValidationSetForCreateModelCustomizationJobInput) SetDatasets

SetDatasets sets the Datasets field's value.

func (*ValidationSetForCreateModelCustomizationJobInput) SetTosBucket

SetTosBucket sets the TosBucket field's value.

func (*ValidationSetForCreateModelCustomizationJobInput) SetTosPaths

SetTosPaths sets the TosPaths field's value.

func (ValidationSetForCreateModelCustomizationJobInput) String

String returns the string representation

type ValidationSetForGetModelCustomizationJobOutput

type ValidationSetForGetModelCustomizationJobOutput struct {
	Datasets []*DatasetForGetModelCustomizationJobOutput `type:"list" json:",omitempty"`

	TosBucket *string `type:"string" json:",omitempty"`

	TosPaths []*string `type:"list" json:",omitempty"`
	// contains filtered or unexported fields
}

func (ValidationSetForGetModelCustomizationJobOutput) GoString

GoString returns the string representation

func (*ValidationSetForGetModelCustomizationJobOutput) SetDatasets

SetDatasets sets the Datasets field's value.

func (*ValidationSetForGetModelCustomizationJobOutput) SetTosBucket

SetTosBucket sets the TosBucket field's value.

func (*ValidationSetForGetModelCustomizationJobOutput) SetTosPaths

SetTosPaths sets the TosPaths field's value.

func (ValidationSetForGetModelCustomizationJobOutput) String

String returns the string representation

type ValidationSetForListModelCustomizationJobsOutput

type ValidationSetForListModelCustomizationJobsOutput struct {
	Datasets []*DatasetForListModelCustomizationJobsOutput `type:"list" json:",omitempty"`

	TosBucket *string `type:"string" json:",omitempty"`

	TosPaths []*string `type:"list" json:",omitempty"`
	// contains filtered or unexported fields
}

func (ValidationSetForListModelCustomizationJobsOutput) GoString

GoString returns the string representation

func (*ValidationSetForListModelCustomizationJobsOutput) SetDatasets

SetDatasets sets the Datasets field's value.

func (*ValidationSetForListModelCustomizationJobsOutput) SetTosBucket

SetTosBucket sets the TosBucket field's value.

func (*ValidationSetForListModelCustomizationJobsOutput) SetTosPaths

SetTosPaths sets the TosPaths field's value.

func (ValidationSetForListModelCustomizationJobsOutput) String

String returns the string representation

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL