Skip to content

feat(samples): add YAML-driven tea-making guide - #336

Closed
wenxind-nvidia wants to merge 7 commits into
mainfrom
tea-making-sample
Closed

feat(samples): add YAML-driven tea-making guide#336
wenxind-nvidia wants to merge 7 commits into
mainfrom
tea-making-sample

Conversation

@wenxind-nvidia

Copy link
Copy Markdown
Collaborator

Summary

  • add the native embedding-backed RAG service and model integration from PR feat(rag): add native document retrieval service #335
  • add a YAML-driven tea-making-sample using Nemotron-Omni for visual observation and agent reasoning
  • support semantic step navigation, internal VLM evidence, per-step context, RAG questions, reconnect-safe state, and steeping timers
  • add launcher memory/container lifecycle fixes needed to run Omni and the embedding service together

Behavior

  • steps never auto-advance except terminal timer completion; the user controls progression and may skip with reasonable defaults
  • completed steps stay quiet, while missing information produces at most the configured delayed reminder
  • the final step announces when steeping is complete, clears workflow state, and returns the guide to idle
  • a new phrase such as start making tea begins a fresh session at step 1

Testing

uv run pytest -q test_tea_making_sample.py test_rag_service.py test_models_config.py test_models_openai_compat.py test_models_protocols.py test_vllm_docker.py
116 passed

This branch is a single DCO-signed commit based directly on current NVIDIA/xr-ai:main (ba582de).

Comment thread agent-samples/tea-making-sample/worker/tea_making_worker/app.py Fixed
@wenxind-nvidia
wenxind-nvidia changed the base branch from main to agent/native-rag-service August 3, 2026 23:00
@wenxind-nvidia
wenxind-nvidia changed the base branch from agent/native-rag-service to main August 3, 2026 23:27
@wenxind-nvidia
wenxind-nvidia force-pushed the tea-making-sample branch 9 times, most recently from fe3e746 to 0fe89db Compare August 4, 2026 05:56
Comment thread utils/xr-ai-launcher/xr_ai_launcher/_stack.py Fixed
Comment thread utils/xr-ai-launcher/xr_ai_launcher/_stack.py Fixed
@wenxind-nvidia
wenxind-nvidia force-pushed the tea-making-sample branch 2 times, most recently from 97d4215 to 8dced80 Compare August 4, 2026 21:52
Comment thread agent-samples/tea-making-sample/worker/tea_making_worker/tools.py Fixed
Add the native embedding-backed RAG stack from PR 335 and a YAML-driven Nemotron-Omni tea-making workflow with visual step monitoring, semantic navigation, reconnect-safe state, and steeping timers.

Signed-off-by: Wenxin Ding <wenxind@nvidia.com>
Signed-off-by: wenxind-nvidia <wenxind@nvidia.com>
Signed-off-by: Wenxin Ding <wenxind@nvidia.com>
Signed-off-by: Wenxin Ding <wenxind@nvidia.com>
await asyncio.gather(*(self._tick(session) for session in self.store.active()))
try:
await asyncio.wait_for(self._stopped.wait(), timeout=0.25)
except TimeoutError:
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