这是indexloc提供的服务,不要输入任何密码
Skip to content

Not being able to set chunk size for local.ai embeddings #388

@Amejonah1200

Description

@Amejonah1200

this.embeddingChunkLimit = 1_000;

Why is this not configurable using EMBEDDING_MODEL_CHUNK_SIZE or something? Because some embedding models need lower chunk sizes.
For example, sentence-transformers/all-MiniLM-L6-v2 has a default of 256 "word pieces".

Metadata

Metadata

Assignees

No one assigned

    Labels

    Integration RequestRequest for support of a new LLM, Embedder, or Vector databasepossible bugBug was reported but is not confirmed or is unable to be replicated.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions