Code Monkey home page Code Monkey logo

aoai-net-starterkit's Introduction

Azure OpenAI | Call Center Starter Kit

Overview

Repository

This repository houses the source code for a demo application that delves into the specific aspects of executing the architecture detailed in "Extract and analyze call center data" from Microsoft Learn.

Architecture Overview An overview of the call center analytics architecture.

The provided demo code can serve as a foundation for implementing this architecture in custom applications. It showcases the integration of various Azure services and tools—including the Semantic Kernel—to construct a robust application that leverages Azure OpenAI and Azure Cognitive Search capabilities.

Repository Focus A focus on the repository's key areas.

To begin, clone this repository and adhere to the setup instructions outlined in the accompanying notebook to prepare your development environment. Next, peruse and customize the code within the notebooks. Additional insights into the architecture and its application can be found through the resources on Microsoft Learn.

Folder Contents

Below is a detailed breakdown of each folder in this repository. Each section contains a descriptive overview and an architecture diagram explaining the interaction between various components and the flow of data.

Section Notebook Description Details
00 Intro to OpenAI Fundamental insights into OpenAI Features links to expansive documentation
01 Environment Setup Detailed instructions for deploying Azure Services like Azure OpenAI and Cognitive Search Includes a application.env file within the conf folder containing essential configuration details
02 Basic Chat Examples of HTTP calls to the deployed Chat Completion LLM (gpt-3.5-turbo) .NET code is used to perform HTTP calls, Another option could be utilizes the REST Client extension for Visual Studio Code to execute the calls
02 Other Models Examples of HTTP calls to various LLMs like Embedding, Whisper Also uses .NET to perform HTTP calls.
03 Chat Completion C# sample code to interact with the ChatCompletion LLM using the Azure.AI.OpenAI NuGet package
03 Chat Completion Streaming Advanced C# sample code for streaming interactions with the ChatCompletion LLM
04 Basic Embeddings C# code to create embeddings with the Azure.AI.OpenAI NuGet package Embeddings are numerical text representations in a 1536-dimension vector
04 Cosine Similarity C# examples using MathNet.Numerics to calculate the cosine distance between vectors The closer the distance, the more similar the semantic meanings
05 Vector Database C# code for using Azure Cognitive Search as a vector database Involves storing and querying embeddings with a created Search Index
06 Semantic Function Inline Demonstrates inline definition of a Microsoft Semantic Kernel function
06 Semantic Function File Illustrates importing a Semantic Kernel function from an external file
06 Native Function Example of importing a native C# function to the Semantic Kernel
06 Memory Explanation of the Semantic Kernel Memory concept and usage
06 Planner Overview of the Semantic Kernel planner which sequences function calls for a task
06 Logging How to utilize the default .NET logger with the Semantic Kernel

What Is Generative AI?

Generative AI refers to AI systems capable of creating original content. It's commonly implemented in chat applications, such as OpenAI's ChatGPT. These AI applications, powered by Large Language Models (LLMs) like those developed by OpenAI, use extensive data training to generate contextually appropriate and coherent responses.

For a comprehensive understanding of generative AI, explore Microsoft's introduction to generative AI.

Introduction to Azure OpenAI

Azure OpenAI, a collaborative offering from Microsoft and OpenAI, melds Azure's enterprise-grade features with OpenAI's sophisticated generative AI models. It facilitates a seamless workflow between Azure services and OpenAI while ensuring regional availability, private networking, and adherence to responsible AI practices.

Getting Started

Overview

  • Get Access: Access to Azure OpenAI is currently by application only. Apply here.
  • Responsible AI: Follow Microsoft's six principles of responsible AI as outlined here. Additional information on Azure OpenAI's transparency can be found in the transparency note.
  • Learn About OpenAI: Enhance your knowledge through OpenAI Learn Live and the Azure OpenAI Documentation.

Prompt Engineering

Crafting precise prompts is essential for eliciting the desired output from language models. Learn the art of prompt engineering through these resources:

Quickstarts

Jumpstart your Azure OpenAI journey with these quickstart guides:

aoai-net-starterkit's People

Contributors

microsoftopensource avatar robeich avatar yodobrin avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

aoai-net-starterkit's Issues

Action required: migrate or opt-out of migration to GitHub inside Microsoft

Migrate non-Open Source or non-External Collaboration repositories to GitHub inside Microsoft

In order to protect and secure Microsoft, private or internal repositories in GitHub for Open Source which are not related to open source projects or require collaboration with 3rd parties (customer, partners, etc.) must be migrated to GitHub inside Microsoft a.k.a GitHub Enterprise Cloud with Enterprise Managed User (GHEC EMU).

Action

✍️ Please RSVP to opt-in or opt-out of the migration to GitHub inside Microsoft.

❗Only users with admin permission in the repository are allowed to respond. Failure to provide a response will result to your repository getting automatically archived.🔒

Instructions

Reply with a comment on this issue containing one of the following optin or optout command options below.

✅ Opt-in to migrate

@gimsvc optin --date <target_migration_date in mm-dd-yyyy format>

Example: @gimsvc optin --date 03-15-2023

OR

❌ Opt-out of migration

@gimsvc optout --reason <staging|collaboration|delete|other>

Example: @gimsvc optout --reason staging

Options:

  • staging : This repository will ship as Open Source or go public
  • collaboration : Used for external or 3rd party collaboration with customers, partners, suppliers, etc.
  • delete : This repository will be deleted because it is no longer needed.
  • other : Other reasons not specified

Need more help? 🖐️

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.