OpenAI-Playground

Please give a star to the repository to support the initiative ⭐

Prerequisites

Follow the instructions at Getting Started

Available Demos

Basics

The following demos are provided under the DeepLearningAI-Course folder. Demos are taken from the course provided at https://learn.deeplearning.ai/chatgpt-prompt-eng/lesson/1/introduction . All Demos use ChatCompletion Endpoint.

  • Getting Started

  • Iterative Prompts

    • Create Description from Product Fact Sheet (limit words, focus on aspects, add dimension, render into an HTML page)
  • Summarizing

    • Summarize various product reviews in a single prompt
  • Inferring

    • Analyze text sentiment, emotions, identify anger (product review), extract product information, ...
  • Transforming

    • Translate single and multiple languages, using different tones
    • Format conversion (JSON to HTML)
    • Grammar checks
  • Expanding

    • Automate email reply to customers reviews
  • ChatBot

    • Provide multiple messages (with roles), to the "ChatCompletion" call.
    • Pizza ordering Bot sample
  • Azure Function calling with Azure Open AI - Simple taken & modified from repo

Intermediate

Advanced