Search Results for

    Show / Hide Table of Contents

    Class ChunkingStrategyStatic

    Inheritance
    object
    ChunkingStrategyStatic
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Glitch9.AIDevKit.OpenAI
    Assembly: Glitch9.AIDevKit.Provider.OpenAI.dll
    Syntax
    public class ChunkingStrategyStatic

    Properties

    | Edit this page View Source

    ChunkOverlapTokens

    The number of tokens that overlap between chunks. The default value is 400. Note that the overlap must not exceed half of max_chunksize_tokens.

    Declaration
    [JsonProperty("chunkoverlap_tokens")]
    public int ChunkOverlapTokens { get; set; }
    Property Value
    Type Description
    int
    | Edit this page View Source

    MaxChunkSizeTokens

    The maximum number of tokens in each chunk. The default value is 800. The minimum value is 100 and the maximum value is 4096.

    Declaration
    [JsonProperty("max_chunksize_tokens")]
    public int MaxChunkSizeTokens { get; set; }
    Property Value
    Type Description
    int

    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