Takieddine Kadiri
10/30/2023, 12:11 PMpip install kedro-boot
• G Visit Kedro Boot github repo, give feedback and ⭐ if you like it
• 🧪 Try & Learn with Kedro Boot Examples and give feedback !
✨ This enable using Kedro pipelines in a wide range of online and low latency use cases, including model serving, data apps (streamlit, dash), statistical simulations, paralell processing of unstructured data, streaming, and more.
💥 Kedro Boot propose an answer to many issues: #2627, #2169, #1993, #2626, #devrel7, #2663, #2182 #2879 #1846 #795 #933 #2058 #143 #1041 and numerous slack questions about dynamic pipelines, injecting external data, serving pipeline as API, exposing kedro's resources to a generic application. @datajoely wanted this feature for ages 🎁 😉
If the plugin proves to be valuable and effectively addresses the problem, @Yolan Honoré-Rougé and I will ensure its maintenance and support. 🧑💻
Takieddine & YolanJuan Luis
10/30/2023, 12:34 PMYolan Honoré-Rougé
10/30/2023, 12:38 PMJuan Luis
10/30/2023, 12:39 PMTakieddine Kadiri
10/30/2023, 1:16 PMJuan Luis
10/30/2023, 2:04 PMTakieddine Kadiri
10/30/2023, 7:43 PMCharlie Haley
10/31/2023, 3:21 AMTakieddine Kadiri
10/31/2023, 8:10 AMfrom kedro.pipeline.modular_pipeline import pipeline
from kedro_boot.pipeline import app_pipeline
inference_pipeline = pipeline(......)
evaluation_pipeline = pipeline(......)
app_inference_pipeline = app_pipeline(
inference_pipeline,
name="inference",
inputs="features_store",
artifacts="training.regressor",
outputs="inference.predictions",
)
app_evaluation_pipeline = app_pipeline(
evaluation_pipeline,
name="evaluation",
all_app_pipeline = app_inference_pipeline + app_evaluation_pipeline
return {"__default__": all_app_pipeline}
In this example, you will use "inference" or "evaluation" as {pipeline_name} in your code boot_session.run(name={inference}, inputs={“companies”: “companies_df})
Note also that kedro boot will try to convert you API Json data to pandas if it see that "companies" is a pandas.*Dataset and if it is not already converted by your app code
You can play with kedro boot using the examples repo https://github.com/takikadiri/kedro-boot-examplesTomas Van Pottelbergh
11/01/2023, 2:28 PMTakieddine Kadiri
11/01/2023, 7:27 PMmarrrcin
11/02/2023, 10:28 AM