Skip to content

Add Fallback Logic for Missing Vector Embeddings #1

Description

@HelloShibani

Problem

In some cases, document chunks may fail to generate vector embeddings (e.g., due to special characters or model errors).

Proposed Solution

Implement a fallback path:

  • Skip problematic chunks
  • Log skipped entries
  • Optionally default to keyword-based retrieval (e.g., BM25 or text match)

Why it matters

Adds robustness for real-world data ingestion and improves model resilience across document formats.

Activity

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 requestfallback-logicHandles cold starts, missing vectors, or overrides in RAG pipelines

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions