Coder Social home page Coder Social logo

openai_microhack's Introduction

Master Template MicroHack

MicroHack Template

MicroHack introduction

This MicroHack scenario walks through the use of Azure OpenAI Services and Semantic Kernel with a focus on the best practices and the design principles. Specifically, this builds up to include working with an existing infrastructure.

This lab is not a full explanation of Semantic Kernel as a technology, please consider the following articles required pre-reading to build foundational knowledge.

Semantic Kernel Docs (read this after completing this lab to take your learning even deeper!)

Prompt Engineering (to help out creating the prompts)

MicroHack context

This MicroHack scenario walks through the use of Azure OpenAI Services and Semantic Kernel with a focus on the best practices and the design principles. It will guide you throught the concepts of Generative AI and how to use it in your applications. You'll learn how to use Semantic Kernel to integrate your Azure OpenAI models into your applications, either to generate text or to understand and interpret text.

Objectives

After completing this MicroHack you will:

  • Know how to build a Semantic Kernel application with C# and .NET
  • Understand Generative AI concepts such as prompt engineering, embeddings and Retrieval Augmented Generation (RAG)

MicroHack challenges

General prerequisites

This MicroHack has a few but important prerequisites

In order to use the MicroHack time most effectively, the following tasks should be completed prior to starting the session.

Prerequisites

  • Access to Azure OpenAI Service models
  • A GitHub account (if you like to use GitHub Codespaces)
  • VS Code with DevContainers extension installed (if you want to run it locally)

Setup your environment

Use these Settings

Go to Setup to setup your environment. You will find the instructions to setup your environment and the required resources.

Challenge 1 - Initialize the Kernel and Run Semantic Functions

Go to Challenge 1 to start the first challenge. You will learn how to initialize the Kernel and how to run Semantic Functions.

Challenge 2 - Generate images with DALL-E 3 and interact with images with GPT-4 Vision

Go to Challenge 2 to start the second challenge. You will learn how to generate images with DALL-E 3 and interact with images with GPT-4 Vision.

Challenge 3 - Chat with structured data using Plugins and Planners

Go to Challenge 3 to start the third challenge. You will learn how to chat with structured data using Plugins and Planners, that are advanced features of Semantic Kernel that will allow you to create more complex AI applications.

Challenge 4 - Chat with your own data

Go to Challenge 4 to start the fourth challenge. You will learn how to chat with your own data using the Semantic Kernel. In this challenge you will be introduced with the concepts of Retrieval Augmented Generation (RAG) and how to use it to chat with your own data.

Finish

Congratulations! You finished the Generative AI MicroHack. We hope you had the chance to learn about the how to implement a successful application using Azure OpenAI Services and Semantic Kernel. If you want to give feedback please dont hesitate to open an Issue on the repository or get in touch with one of us directly.

Thank you for investing the time and see you next time!

Contributors

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.