Skip to content

Hardcoded Ollama embedding dims #139

@RKRitik

Description

@RKRitik

Vector DB dims must match the embedder. If users set a different embedder for ollama provider, right now embedding_dims is hardcoded to 768, which is default for nomic-embed-text.

We should query the embedding model embedding size and appropriately configure that.

This issue was introduced as part of this PR

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions