docs: document <prepend> config for OpenAI embedder#4675
Merged
Conversation
Adds reference documentation for the new <prepend> element on the OpenAI embedder, and a cross-reference from the embedding guide's "Adding a fixed string to a query text" section so users searching for prepend find that it works for OpenAI-compatible models too.
12d0e55 to
ab36064
Compare
Contributor
There was a problem hiding this comment.
Pull request overview
Documents the new <prepend> configuration element for the OpenAI embedder and cross-links it from the general “Adding a fixed string to a query text” section so users discover that the same mechanism applies to OpenAI-compatible embedding backends.
Changes:
- Adds a new
prependrow (with example) to the OpenAI embedder reference config table. - Adds a cross-reference note in the general embedding guide pointing to the OpenAI embedder documentation.
Reviewed changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.
| File | Description |
|---|---|
| en/reference/rag/embedding.html | Adds OpenAI embedder reference-table documentation for <prepend> including <query>/<document> and an XML example. |
| en/rag/embedding.html | Adds a short paragraph cross-referencing that <prepend> is supported by the OpenAI embedder. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
thomasht86
approved these changes
Apr 28, 2026
glebashnik
approved these changes
Apr 28, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
<prepend>element for the OpenAI embedder inen/reference/rag/embedding.html(reference table row with example).en/rag/embedding.htmlso users searching for prepend find that it also works for the OpenAI embedder.