I just found somewhere that you can access request with bentoml.Context argument added to service API function. I will try this for now.
I guess sometimes you need to write sth about a problem you have to find a solution by yourself.
a
Arkaprabha Bhattacharya
06/30/2023, 1:15 PM
Hi @Sławomir Gilewski, disclaimer: I am not an official contributor to bentoml or a member of the community. But here is something about context in the docs:
Inference Context
Hope it helps!
s
Sławomir Gilewski
06/30/2023, 2:21 PM
Unfortunately cookies are client-side and this doesn’t help with server-side sessions. Anything? Or do I just have to port my endpoints to fastapi?
Sławomir Gilewski
07/03/2023, 7:05 AM
bump, I just need to know if there is a way to do this using bento