Search Results for

    Show / Hide Table of Contents

    Class TunedModelService

    Inheritance
    object
    CrudServiceBase<GoogleAIClient>
    TunedModelService
    Implements
    ICrudService
    IBetaService
    Inherited Members
    CrudServiceBase<GoogleAIClient>.client
    CrudServiceBase<GoogleAIClient>.ApiKey
    CrudServiceBase<GoogleAIClient>.GetUrl(params string[])
    CrudServiceBase<GoogleAIClient>.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.Google.Services
    Assembly: Glitch9.AIDevKit.Provider.Google.dll
    Syntax
    public class TunedModelService : CrudServiceBase<GoogleAIClient>, ICrudService, IBetaService

    Constructors

    | Edit this page View Source

    TunedModelService(GoogleAIClient)

    Declaration
    public TunedModelService(GoogleAIClient client)
    Parameters
    Type Name Description
    GoogleAIClient client

    Properties

    | Edit this page View Source

    Permissions

    Declaration
    public TunedModelPermissionService Permissions { get; }
    Property Value
    Type Description
    TunedModelPermissionService

    Methods

    | Edit this page View Source

    CreateAsync(TunedModel, RequestOptions)

    Declaration
    public UniTask<TunedModel> CreateAsync(TunedModel request, RequestOptions options = null)
    Parameters
    Type Name Description
    TunedModel request
    RequestOptions options
    Returns
    Type Description
    UniTask<TunedModel>
    | Edit this page View Source

    DeleteAsync(string, RequestOptions)

    Declaration
    public UniTask<DeletionStatus> DeleteAsync(string modelId, RequestOptions options = null)
    Parameters
    Type Name Description
    string modelId
    RequestOptions options
    Returns
    Type Description
    UniTask<DeletionStatus>
    | Edit this page View Source

    GenerateContentAsync(GenerateContentRequest, RequestOptions)

    Declaration
    public UniTask<GenerateContentResponse> GenerateContentAsync(GenerateContentRequest request, RequestOptions options = null)
    Parameters
    Type Name Description
    GenerateContentRequest request
    RequestOptions options
    Returns
    Type Description
    UniTask<GenerateContentResponse>
    | Edit this page View Source

    GenerateTextAsync(GenerateTextRequest, RequestOptions)

    Declaration
    public UniTask<GenerateTextResponse> GenerateTextAsync(GenerateTextRequest request, RequestOptions options = null)
    Parameters
    Type Name Description
    GenerateTextRequest request
    RequestOptions options
    Returns
    Type Description
    UniTask<GenerateTextResponse>
    | Edit this page View Source

    ListAsync(TokenQuery, RequestOptions)

    Declaration
    public UniTask<Queried<TunedModel>> ListAsync(TokenQuery query = null, RequestOptions options = null)
    Parameters
    Type Name Description
    TokenQuery query
    RequestOptions options
    Returns
    Type Description
    UniTask<Queried<TunedModel>>
    | Edit this page View Source

    RetrieveAsync(string, RequestOptions)

    Declaration
    public UniTask<TunedModel> RetrieveAsync(string modelId, RequestOptions options = null)
    Parameters
    Type Name Description
    string modelId
    RequestOptions options
    Returns
    Type Description
    UniTask<TunedModel>
    | Edit this page View Source

    TransferOwnershipAsync(TransferOwnershipRequest, RequestOptions)

    Declaration
    public UniTask<bool> TransferOwnershipAsync(TransferOwnershipRequest request, RequestOptions options = null)
    Parameters
    Type Name Description
    TransferOwnershipRequest request
    RequestOptions options
    Returns
    Type Description
    UniTask<bool>
    | Edit this page View Source

    UpdateAsync(string, IEnumerable<UpdateMask>, RequestOptions)

    Declaration
    public UniTask<TunedModel> UpdateAsync(string modelId, IEnumerable<UpdateMask> updateMasks, RequestOptions options = null)
    Parameters
    Type Name Description
    string modelId
    IEnumerable<UpdateMask> updateMasks
    RequestOptions options
    Returns
    Type Description
    UniTask<TunedModel>

    Implements

    ICrudService
    IBetaService

    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