Skip to content

Add ecommerce_end_to_end template#703

Open
sys13 wants to merge 1 commit into
mainfrom
ecommerce-end-to-end-template
Open

Add ecommerce_end_to_end template#703
sys13 wants to merge 1 commit into
mainfrom
ecommerce-end-to-end-template

Conversation

@sys13

@sys13 sys13 commented May 19, 2026

Copy link
Copy Markdown

Summary

  • Adds a new ecommerce_end_to_end template: an end-to-end e-commerce recommendation system demo covering Ray Data → Ray Train → Ray Data (batch embed) → Ray Serve
  • Notebook walks users through all four stages: catalog preprocessing, contrastive embedding fine-tuning, batch embedding of 1,000 products, and a live multi-model recommendation API (BLIP + MiniLM)
  • Includes Streamlit UI, Ray Serve app, client, 34 bundled product images, compute configs (AWS/GCP), and CI test via papermill

Test plan

  • Comment /test-template on this PR to run CI
  • Verify papermill runs the full notebook end-to-end without errors
  • After merge, publish to dev/staging/prod via Buildkite tmpl-publish pipeline

🤖 Generated with Claude Code

End-to-end demo: Ray Data preprocessing → Ray Train embedding
fine-tuning → Ray Data batch embedding → Ray Serve multi-model
recommendation API with Streamlit UI.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@sys13 sys13 requested a review from a team as a code owner May 19, 2026 21:34
@Aydin-ab

Copy link
Copy Markdown
Contributor

/test-template ecommerce_end_to_end

@sys13

sys13 commented May 19, 2026

Copy link
Copy Markdown
Author

added the azure_only flag as per https://github.com/anyscale/product/pull/39857

technically don't need compute configs for aws and gcp, just want to run on azure k8s using declarative compute config

@@ -0,0 +1,5 @@
# E-Commerce Recommendation System Demo

@Aydin-ab Aydin-ab May 19, 2026

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

When someone click on the template's card in the console, our frontend automatically display the README.md. i'd suggest generating it from the notebook.ipynb for better UX (people can see directly what they would be running)
steps:

  • remove current README.md
  • run jupyter nbconvert ... to convert notebook.ipynb to README.md
  • rename notebook.ipynb to README.ipynb

@@ -0,0 +1,7 @@
head_node_type:

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

do we need an azure.yaml compute config?

@sys13

sys13 commented May 20, 2026 via email

Copy link
Copy Markdown
Author

@Aydin-ab

Copy link
Copy Markdown
Contributor

The issue is on product/frontend side, I'm not sure it consumes any azure compute config yet. I see @cristianjd authored https://github.com/anyscale/product/pull/39857 so i'd suggest to wait for his input

Meanwhile, you can proceed with the publishing but Azure people would have to configure the compute manually, which is very bad UX i agree

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.

3 participants