AI Studio: Deploy Prompt Flow to web App

Malte Martienßen 45 Reputation points
2024-08-28T14:27:00.4233333+00:00

Hello,

In Azure Ai Studio in the Playground Chat, one can deploy the Chatbot directly as a web app, which is what I'm trying to do with a Prompt Flow.

In the Prompt Flow tab, you can only deploy to an endpoint. I have tried to deploy a web app from the "Chat" window and then connect my Promptflow Endpoint to the app, but I have not managed to do so so far. Can anyone help me with this problem? Is there an easier way to deploy a Prompt Flow to a web app, that includes only a Chatbot (e.g. to demonstrate the abilities of the chatbot)?

Thank you!

Azure OpenAI Service
Azure OpenAI Service
An Azure service that provides access to OpenAI’s GPT-3 models with enterprise capabilities.
2,878 questions
{count} votes

3 answers

Sort by: Most helpful
  1. Konstantinos Passadis 18,991 Reputation points MVP
    2024-08-28T14:57:23.7533333+00:00

    Hello @Malte Martienßen !

    Please follow this video by me

    https://www.youtube.com/live/FFgwWcBhh3Y?si=DMuMNHMVk6Wu41Af

    I have all steps along with the simple Integration in a Web App

    If you could kindly tell us where is the issue exactly we can help you more !

    Waiting for your input !

    --

    I hope this helps!

    Kindly mark the answer as Accepted and Upvote in case it helped!

    Regards


  2. AshokPeddakotla-MSFT 32,701 Reputation points
    2024-08-30T11:23:28.1533333+00:00

    Malte Martienßen

    I have deployed a Playground Chat to a Web App and I know how to create an Endpoint and that I can get a code snippet in the 'Consume' tab, but I don't know how to get that code snippet into my app, because I don't know how to edit the webpage code. Can you tell me how to do this? In the "Azure" tab in the VS code expansion, I can find the web app, but the 'files' don't seem to be the web app files.

    If you want to do any customization, I would highly recommend you to use the source code of the deployed web application to prevent any unwanted issues. Refer to this page for the web app customization.

    However, you can try checking the Kudu console if you can leverage it do any changes to the published code.

    Do let me know if you have any further queries.

    0 comments No comments

  3. Konstantinos Passadis 18,991 Reputation points MVP
    2024-09-03T18:41:20.89+00:00

    Hello @Malte Martienßen !

    You can go to the Deployment Center and you will find the source files

    It will be a Git Repo

    Fork or Clone make the changes and set the new rep ofrom the Deployment Center

    User's image

    --

    I hope this helps!

    Kindly mark the answer as Accepted and Upvote in case it helped!

    Regards

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.