how to deploy OpenAI with customized chat setup

Shilpi Gupta 0 Reputation points
2024-06-06T14:07:27.0433333+00:00

In chat playground I have changed default message with customize Message. I have included a safety Message and one example. I have applied all the changes. Response generated in Chat Playground are perfect. When I have deployed this project to a web app. This is not generating same response. after deployment this is ignoring the system message and example saved. How to solve this issue

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

2 answers

Sort by: Most helpful
  1. santoshkc 15,245 Reputation points Microsoft External Staff Moderator
    2024-06-07T08:13:25.64+00:00

    Hi @Shilpi Gupta,

    Thank you for reaching out to Microsoft Q&A forum!

    It's possible that the changes you made in the OpenAI Chat Playground are not being reflected in the deployed web app. Here are a few things you can check:

    1. Save the changes you made in the OpenAI Chat Playground before deploying the web app.
    2. Check if the web app is using the same OpenAI API key as the one you used in the Chat Playground.
    3. Ensure that the web app is using the same version of the OpenAI API as the one you used in the Chat Playground.

    Also see: Deploy to a web app or copilot (preview) and Use the Azure OpenAI web app

    Let me know how it helps and thank you for your understanding.

    0 comments No comments

  2. RAJSHREE KUMARI 0 Reputation points
    2024-06-07T12:53:31.5333333+00:00

    If you want to deploy a customized chat setup with OpenAI without programming, you can use third-party platforms and tools that integrate with OpenAI's API and provide a no-code or low-code solution. Here’s a simplified guide:

    1. Sign Up for OpenAI and Get API Key

    • Create an account at OpenAI and obtain your API key.

    2. Use a No-Code Platform

    Platforms like Zapier, Bubble, or ChatGPT plugins can help you integrate OpenAI without writing code.

    Using Zapier:

    1. Sign Up for Zapier:
      • Create an account at Zapier.
    2. Create a Zap:
      • Click on “Make a Zap”.
      • Choose a trigger app (e.g., a form submission, email, or another event).
    3. Add OpenAI Integration:
      • Add an action and select OpenAI.
      • Connect your OpenAI account using your API key.
    4. Configure OpenAI Action:
      • Set up the action with the necessary parameters (e.g., prompt, model, max tokens).
      • Use dynamic data from the trigger app as part of the prompt if needed.
    5. Finish and Test:
      • Test the Zap to ensure it works as expected.
      • Turn on the Zap.

    Using Bubble:

    1. Sign Up for Bubble:
      • Create an account at Bubble.
    2. Create a New App:
      • Start a new application and choose a template if needed.
    3. Install OpenAI Plugin:
      • Go to the Bubble plugin marketplace and install the OpenAI plugin.
    4. Configure Plugin:
      • Enter your OpenAI API key in the plugin settings.
    5. Design the Chat Interface:
      • Use Bubble’s drag-and-drop editor to create a chat interface.
      • Set up workflows to send user input to OpenAI and display responses.
    6. Deploy Your App:
      • Test your application and deploy it using Bubble’s deployment tools.

    3. Using ChatGPT Plugins (If Available)

    • Some platforms like ChatGPT plugins or chatbot builders offer direct integration with OpenAI.
    • Follow the specific instructions of the platform to connect your OpenAI API and customize your chat setup.

    By using these no-code tools, you can deploy a customized chat setup with OpenAI without needing to write code.

    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.