Skip to content

docs: add MockTextEmbedder and MockDocumentEmbedder pages#11876

Draft
julian-risch wants to merge 3 commits into
v3from
docs/v3-simple-doc-updates-4
Draft

docs: add MockTextEmbedder and MockDocumentEmbedder pages#11876
julian-risch wants to merge 3 commits into
v3from
docs/v3-simple-doc-updates-4

Conversation

@julian-risch

@julian-risch julian-risch commented Jul 5, 2026

Copy link
Copy Markdown
Member

Related Issues

Proposed Changes:

Adds two new component pages:

  • MockTextEmbedder covers the three embedding modes (deterministic hash-based default, fixed embedding, embedding_fn), the dimension / model / meta / prefix / suffix parameters, and a full no-API-key retrieval pipeline example with InMemoryEmbeddingRetriever.
  • MockDocumentEmbedder has the same structure, plus the Document-Embedder-specific meta_fields_to_embed / embedding_separator / progress_bar parameters and an indexing pipeline example with DocumentWriter.

How did you test it?

  • All four code examples were executed against the v3 code

Notes for the reviewer

Draft PR targeting v3. Do not merge before v3 is on main.

Checklist

🤖 Generated with Claude Code

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@vercel

vercel Bot commented Jul 5, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
haystack-docs Ready Ready Preview, Comment Jul 7, 2026 8:57am

Request Review

Clarified descriptions of embedding options and their behavior. Improved explanations regarding deterministic embeddings and their implications for retrieval.
Clarified descriptions of embedding options and their behaviors.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant