Skip to content

Add OllamaTextVectorizer for local embedding workflows #492

Description

@tylerhutcherson

Summary

Add an OllamaTextVectorizer to support local embedding models without external API keys.

Level: Intermediate

Current State

  • RedisVL supports many hosted providers and local HF models.
  • Ollama is a common local setup but has no first-class RedisVL vectorizer.

Proposed Change

  • Implement OllamaTextVectorizer in redisvl/utils/vectorize/text/.
  • Register provider in vectorizer enum/factory exports.
  • Add optional dependency handling and clear startup errors.
  • Add docs snippet and tests (mocked plus optional integration gate).

Definition of Done

  • Ollama vectorizer can embed single and batch text.
  • Optional dependency behavior is clear and non-breaking.
  • Unit tests pass; optional integration path documented.

Out of Scope

  • Supporting every Ollama model/task variant in the first pass.

Activity

  1. fkdosilovic commented on Jun 7, 2026

    @fkdosilovic

    This issues seems to be closed in #617

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions