Repository navigation
Python: Align Redis context sample guide with current APIs - #9446
Conversation
There was a problem hiding this comment.
🟡 Changes recommended
The prerequisites still omit an embedding-dependent scenario, leaving readers without setup instructions needed to run it.
2 open findings
What changed in this PR
Updates the Redis context-provider sample guide to match current APIs and embedding requirements. No runtime code changes.
Changes:
- Replaces obsolete configuration names and lifecycle hooks.
- Clarifies OpenAI embedding prerequisites.
- Distinguishes context retrieval from complete conversation-history persistence.
| File | Description |
|---|---|
| python/samples/02-agents/context_providers/redis/README.md | Updates API guidance, setup requirements, and sample descriptions. |
🧠 Review effort: Balanced
💡 Add a code-review agent skill for context-aware, tailored reviews. Learn more in the docs.
|
LI (@ktz03), the setup still installs only |
|
Added |

Motivation & Context
The Redis context-provider sample guide still documents removed configuration names and the old
invokinghook. Its optional OpenAI-key instructions also conflict with examples that instantiateOpenAITextVectorizer.Description & Review Guide
redis_vectorizer,overwrite_index, thebefore_run/after_runhooks, and the existing examples' embedding prerequisites. Distinguish context retrieval from complete conversation-history persistence.Related Issue
N/A - trivial change: correct stale API names and setup instructions in one README; no runtime or public API changes.
AI Assistance
AI assistance details: Documentation, API checks, and PR description.
Contribution Checklist
breaking changelabel (or add "[BREAKING]" in the title prefix).