AudioGenerationModelDyn

Trait AudioGenerationModelDyn 

Source
pub trait AudioGenerationModelDyn: Send + Sync {
    // Required methods
    fn audio_generation(
        &self,
        request: AudioGenerationRequest,
    ) -> BoxFuture<'_, Result<AudioGenerationResponse<()>, AudioGenerationError>>;
    fn audio_generation_request(
        &self,
    ) -> AudioGenerationRequestBuilder<AudioGenerationModelHandle<'_>>;
}
๐Ÿ‘ŽDeprecated since 0.25.0: DynClientBuilder and related features have been deprecated and will be removed in a future release. In this case, use AudioGenerationModel instead.
Available on crate feature audio only.

Required Methodsยง

Source

fn audio_generation( &self, request: AudioGenerationRequest, ) -> BoxFuture<'_, Result<AudioGenerationResponse<()>, AudioGenerationError>>

๐Ÿ‘ŽDeprecated since 0.25.0: DynClientBuilder and related features have been deprecated and will be removed in a future release. In this case, use AudioGenerationModel instead.
Source

fn audio_generation_request( &self, ) -> AudioGenerationRequestBuilder<AudioGenerationModelHandle<'_>>

๐Ÿ‘ŽDeprecated since 0.25.0: DynClientBuilder and related features have been deprecated and will be removed in a future release. In this case, use AudioGenerationModel instead.

Implementorsยง