microsoft / promptflow

Build high-quality LLM apps - from prototyping, testing to production deployment and monitoring.
https://microsoft.github.io/promptflow/
MIT License
9.55k stars 871 forks source link

[BUG] deploy to docker failed #3846

Open chenxizhang opened 2 weeks ago

chenxizhang commented 2 weeks ago

I am following the guide (https://github.com/microsoft/promptflow/tree/main/examples/tutorials/flow-deploy/docker) to deploy the flow with docker, but failed on the last step, why the endpoint is ended with /score? I didn't see any configuration about this? Is this a flow name or something else? what if I had more than one flow in the source folder?

curl http://localhost:8080/score --data '{"url":"https://play.google.com/store/apps/details?id=com.twitter.android"}' -X POST -H "Content-Type: application/json"