Search Results for

    Show / Hide Table of Contents

    Class AudioService.TranslationService

    Inheritance
    object
    CrudServiceBase<GroqCloudClient>
    AudioService.TranslationService
    Implements
    ICrudService
    Inherited Members
    CrudServiceBase<GroqCloudClient>.client
    CrudServiceBase<GroqCloudClient>.ApiKey
    CrudServiceBase<GroqCloudClient>.GetUrl(params string[])
    CrudServiceBase<GroqCloudClient>.GetChildUrl(string, params string[])
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Glitch9.AIDevKit.GroqCloud
    Assembly: Glitch9.AIDevKit.Provider.GroqCloud.dll
    Syntax
    public class AudioService.TranslationService : CrudServiceBase<GroqCloudClient>, ICrudService

    Constructors

    | Edit this page View Source

    TranslationService(GroqCloudClient)

    Declaration
    public TranslationService(GroqCloudClient client)
    Parameters
    Type Name Description
    GroqCloudClient client

    Fields

    | Edit this page View Source

    k_Endpoint

    Declaration
    public const string k_Endpoint = "openai/VERSION/audio/translations"
    Field Value
    Type Description
    string

    Methods

    | Edit this page View Source

    CreateAsync(OpenAITranslationRequest, RequestOptions)

    Translates audio into English.

    Declaration
    public UniTask<string> CreateAsync(OpenAITranslationRequest request, RequestOptions options = null)
    Parameters
    Type Name Description
    OpenAITranslationRequest request
    RequestOptions options
    Returns
    Type Description
    UniTask<string>

    Implements

    ICrudService

    Extension Methods

    ArrayExtensions.ToArrayOrEmpty<T>(T)
    ArrayExtensions.ToArrayOrNull<T>(T)
    EventExtensions.ToDelta<T>(T, string, int, string, bool)
    EventExtensions.ToDone<T>(T, string, int, string)
    EventExtensions.ToEvent<T>(T)
    EventExtensions.UpcastDelta<T1, T2>(T1, string, int, string, bool)
    FallbackExtensions.IsOr<TParent, TChild>(TParent, TChild)
    ResponseCastingExtensions.GetResult<T>(T)
    SystemExtensions.GetName(object)
    • Edit this page
    • View Source
    In this article
    Back to top AI DevKit Documentation