genaiops-promptflow-template
genaiops-promptflow-template copied to clipboard
Passing webhook headers to a flow
I've got a webhook being sent to a flow, where I need both the header and the body data, to be used in the flow.
I was referred to this example: https://github.com/microsoft/promptflow/blob/main/examples/tutorials/flow-deploy/create-service-with-flow/simple_score.py where you override a node's request directly.
Is there a flow-as-function
example, say one of the web_classification
flows, that would assist?