Skip to content

Add optional context parameter to embedding-based grounding#29

Open
nicoloesch wants to merge 1 commit into
mainfrom
19-rag-context
Open

Add optional context parameter to embedding-based grounding#29
nicoloesch wants to merge 1 commit into
mainfrom
19-rag-context

Conversation

@nicoloesch

Copy link
Copy Markdown
Collaborator

Summary

ground_term() gains an optional context: str | None parameter, folded into the text passed to the on-demand query embedding call, letting callers supply disambiguating context alongside the term being grounded. No change to existing callers that omit it.

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.

Increase Context for Grounding in RAG

1 participant