Open pamelafox opened 5 months ago
@pamelafox could you share some details about why you want to build your own web app instead of leveraging the PF serving app which already has good support for different engine and deployment? That will be very helpful for us to understand customer's requirement.
We are not using a microservices model, which I guess is what you're imagining? Instead, we're deploying a single monolithic app and would like to use promptflow as part of the web app calls. Microservices are popular, but so are monolithic apps, so we need to support both.
Is your feature request related to a problem? Please describe.
We would like to bring promptflow-core into our web apps, but we're concerned about the Flask/FastAPI dependency as it may end up conflicting with our own dependencies, plus we can't afford to bring in a lot of dependencies, as our pip install is already too slow.
Could those dependencies be optionals or in another package? Why must they be in promptflow-core? Is there a more minimal package if we just want to use Prompty?