pub struct CreateLanguageModel<C = DynConnector, M = DefaultMiddleware, R = Standard> { /* private fields */ }
Expand description
Fluent builder constructing a request to CreateLanguageModel
.
Creates a new custom language model. Use Amazon S3 prefixes to provide the location of your input files. The time it takes to create your model depends on the size of your training data.
Implementations
impl<C, M, R> CreateLanguageModel<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
impl<C, M, R> CreateLanguageModel<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
pub async fn send(
self
) -> Result<CreateLanguageModelOutput, SdkError<CreateLanguageModelError>> where
R::Policy: SmithyRetryPolicy<CreateLanguageModelInputOperationOutputAlias, CreateLanguageModelOutput, CreateLanguageModelError, CreateLanguageModelInputOperationRetryAlias>,
pub async fn send(
self
) -> Result<CreateLanguageModelOutput, SdkError<CreateLanguageModelError>> where
R::Policy: SmithyRetryPolicy<CreateLanguageModelInputOperationOutputAlias, CreateLanguageModelOutput, CreateLanguageModelError, CreateLanguageModelInputOperationRetryAlias>,
Sends the request and returns the response.
If an error occurs, an SdkError
will be returned with additional details that
can be matched against.
By default, any retryable failures will be retried twice. Retry behavior is configurable with the RetryConfig, which can be set when configuring the client.
The language of the input text you're using to train your custom language model.
The language of the input text you're using to train your custom language model.
The Amazon Transcribe standard language model, or base model used to create your custom language model.
If you want to use your custom language model to transcribe audio with a sample rate of 16,000 Hz or greater, choose Wideband
.
If you want to use your custom language model to transcribe audio with a sample rate that is less than 16,000 Hz, choose Narrowband
.
The Amazon Transcribe standard language model, or base model used to create your custom language model.
If you want to use your custom language model to transcribe audio with a sample rate of 16,000 Hz or greater, choose Wideband
.
If you want to use your custom language model to transcribe audio with a sample rate that is less than 16,000 Hz, choose Narrowband
.
The name you choose for your custom language model when you create it.
The name you choose for your custom language model when you create it.
Contains the data access role and the Amazon S3 prefixes to read the required input files to create a custom language model.
Contains the data access role and the Amazon S3 prefixes to read the required input files to create a custom language model.
Appends an item to Tags
.
To override the contents of this collection use set_tags
.
Adds one or more tags, each in the form of a key:value pair, to a new language model at the time you create this new model.
Adds one or more tags, each in the form of a key:value pair, to a new language model at the time you create this new model.
Trait Implementations
Auto Trait Implementations
impl<C = DynConnector, M = DefaultMiddleware, R = Standard> !RefUnwindSafe for CreateLanguageModel<C, M, R>
impl<C, M, R> Send for CreateLanguageModel<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Sync for CreateLanguageModel<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Unpin for CreateLanguageModel<C, M, R>
impl<C = DynConnector, M = DefaultMiddleware, R = Standard> !UnwindSafe for CreateLanguageModel<C, M, R>
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more