Skip to content

feat(cli): Updated feast init demo by adding rag template#5946

Open
Vperiodt wants to merge 14 commits intofeast-dev:masterfrom
Vperiodt:patch-rag-scenario
Open

feat(cli): Updated feast init demo by adding rag template#5946
Vperiodt wants to merge 14 commits intofeast-dev:masterfrom
Vperiodt:patch-rag-scenario

Conversation

@Vperiodt
Copy link

@Vperiodt Vperiodt commented Feb 5, 2026

What this PR does / why we need it:

rag_demo.mov

Which issue(s) this PR fixes:

Fixes : #5264


Open with Devin

Vperiodt and others added 8 commits February 6, 2026 00:21
Signed-off-by: Vanshika Vanshika <vvanshik@redhat.com>

rh-pre-commit.version: 2.3.2
rh-pre-commit.check-secrets: ENABLED
Signed-off-by: Vanshika Vanshika <vvanshik@redhat.com>

rh-pre-commit.version: 2.3.2
rh-pre-commit.check-secrets: ENABLED
Signed-off-by: Vanshika Vanshika <vvanshik@redhat.com>

rh-pre-commit.version: 2.3.2
rh-pre-commit.check-secrets: ENABLED
Signed-off-by: Vanshika Vanshika <vvanshik@redhat.com>

rh-pre-commit.version: 2.3.2
rh-pre-commit.check-secrets: ENABLED
Signed-off-by: Vanshika Vanshika <vvanshik@redhat.com>

rh-pre-commit.version: 2.3.2
rh-pre-commit.check-secrets: ENABLED
Signed-off-by: Vanshika Vanshika <vvanshik@redhat.com>

rh-pre-commit.version: 2.3.2
rh-pre-commit.check-secrets: ENABLED
@Vperiodt Vperiodt marked this pull request as ready for review February 10, 2026 14:08
@Vperiodt Vperiodt requested a review from a team as a code owner February 10, 2026 14:08
@Vperiodt Vperiodt marked this pull request as draft February 10, 2026 14:09
Copy link
Contributor

@devin-ai-integration devin-ai-integration bot left a comment

Choose a reason for hiding this comment

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

Devin Review found 1 potential issue.

View 4 additional findings in Devin Review.

Open in Devin Review

help="Directory path where the repository will be created (default: create subdirectory with project name)",
)
def init_command(project_directory, minimal: bool, template: str, repo_path: str):
@click.option(

Choose a reason for hiding this comment

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

IMO, we should just add rag to the default template and not do scenarios.

Copy link
Member

Choose a reason for hiding this comment

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

Copy link
Author

Choose a reason for hiding this comment

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

suggestion are addressed, may be I can make one more PR for recommendation engine one, will keep this PR scope small as of now, thanks !

Copy link
Collaborator

Choose a reason for hiding this comment

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

@franciscojavierarceo The ideology of scenario is coming from #5264. The template are backend-based and without much of user context to it WHEREAS scenarios are real production-like deployments that customers can directly try and gain experience of feast usage with given Notebooks/Readme in deployment scenarios. So I would prefer to go with scenario and templates as two different options.

The plan also to design a feast-lab(within feast OR outside) with multiple scenarios to try out like banking/RAG/recommendation etc and hence by using -s OR --scenario we could have directly pull those feat-labs scenarios.

What do you think on this ?

Choose a reason for hiding this comment

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

I guess I think we could put them all in one bc they're lightweight examples

@Vperiodt Vperiodt marked this pull request as ready for review February 10, 2026 19:27
Vperiodt and others added 2 commits February 11, 2026 13:34
Signed-off-by: Vanshika Vanshika <vvanshik@redhat.com>

rh-pre-commit.version: 2.3.2
rh-pre-commit.check-secrets: ENABLED
@Vperiodt Vperiodt changed the title feat(cli): Add --scenario option to feast init for RAG template feast(cli): Updated feast init demo by adding rag template Feb 11, 2026
@Vperiodt Vperiodt changed the title feast(cli): Updated feast init demo by adding rag template feat(cli): Updated feast init demo by adding rag template Feb 11, 2026
Copy link
Collaborator

@jyejare jyejare left a comment

Choose a reason for hiding this comment

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

LGTM, just a concern about template vs scenario raised at #5946 (comment) before we merge it.

),
],
source=city_summaries_source,
ttl=timedelta(hours=2),
Copy link
Collaborator

Choose a reason for hiding this comment

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

I think for RAG use case TTL could be in days than hours, wdyt ?

Signed-off-by: Vanshika Vanshika <vvanshik@redhat.com>

rh-pre-commit.version: 2.3.2
rh-pre-commit.check-secrets: ENABLED
Signed-off-by: Vanshika Vanshika <vvanshik@redhat.com>

rh-pre-commit.version: 2.3.2
rh-pre-commit.check-secrets: ENABLED
Signed-off-by: Vanshika Vanshika <vvanshik@redhat.com>

rh-pre-commit.version: 2.3.2
rh-pre-commit.check-secrets: ENABLED
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.

Deploy Scenario from feast examples

4 participants