Passing entry to the pipeline via API body request #2612
Replies: 2 comments 3 replies
-
You may want to read the documentation about Data Catalog https://docs.kedro.org/en/stable/data/data_catalog.html Can you share the link of your video? If your data is expecting data from an API, you can use the API Dataset for the request instead of declaring a MemoryDataSet(which isn't required at all, all dataset not defined in catalog are defaulted to be Memory Dataset) |
Beta Was this translation helpful? Give feedback.
-
Changed a little bit my initial scheme, and decided to try to pass inquiry via parameters at session creation.
and initial parameters yml:
so at every creation of the session my inquiry pis passed to the pipeline and node:
So basically it works. But now about the time issue.
As I can judge, about 52ms goes to create session, 16ms goes to read params from MemoryDataSet and 16 ms goes to close session. Am I doing it right or is it work some other way? Is there some way to speed up the process? p.s. this is my first Kedro service and I have no idea if it's OK or not. |
Beta Was this translation helpful? Give feedback.
-
Hi everyone!
I'm trying to make pilot microservise app that use docker and makes prediction via API.
Here is pipeline:
Here is catalog.yaml description:
As I seen on some YouTube videos, I'm trying to make it run trough separate runner:
Here is the problem: once I run the runner it runs server, get request, runs the pipeline, but pipeline cannot read user_entry from catalog with error:
What am I doing wrong?
I there some easier method to pass some value (from API for example) to a running pipeline?
p.s. process pipeline as I see it:
Beta Was this translation helpful? Give feedback.
All reactions