Search Results for

    Show / Hide Table of Contents

    Interface IVectorStore

    Namespace: Glitch9.VectorStore
    Assembly: Glitch9.VectorStore.dll
    Syntax
    public interface IVectorStore

    Properties

    | Edit this page View Source

    Count

    Declaration
    int Count { get; }
    Property Value
    Type Description
    int
    | Edit this page View Source

    Dimension

    Declaration
    int Dimension { get; }
    Property Value
    Type Description
    int

    Methods

    | Edit this page View Source

    DeleteAsync(string)

    Declaration
    UniTask<bool> DeleteAsync(string id)
    Parameters
    Type Name Description
    string id
    Returns
    Type Description
    UniTask<bool>
    | Edit this page View Source

    ExistsAsync(string)

    Declaration
    UniTask<bool> ExistsAsync(string id)
    Parameters
    Type Name Description
    string id
    Returns
    Type Description
    UniTask<bool>
    | Edit this page View Source

    SearchAsync(float[], int, float)

    Declaration
    UniTask<IReadOnlyList<SearchHit>> SearchAsync(float[] query, int topK, float minSimilarity = 0.2)
    Parameters
    Type Name Description
    float[] query
    int topK
    float minSimilarity
    Returns
    Type Description
    UniTask<IReadOnlyList<SearchHit>>
    | Edit this page View Source

    UpsertAsync(string, float[], object)

    Declaration
    UniTask UpsertAsync(string id, float[] vector, object payload)
    Parameters
    Type Name Description
    string id
    float[] vector
    object payload
    Returns
    Type Description
    UniTask

    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