Skip to content

Information Assistant, built with Azure OpenAI Service, Industry Accelerator

License

Notifications You must be signed in to change notification settings

cakaramicrosoft/PubSec-Info-Assistant-Forked19062024

Repository files navigation

Public Sector Information Assistant Accelerator

This sample demonstrates a few approaches for creating ChatGPT-like experiences over your own data using the Retrieval Augmented Generation pattern. It uses Azure OpenAI Service to access the ChatGPT model (gpt-35-turbo), and Azure Cognitive Search for data indexing and retrieval.

Process Flow

Features

  • Chat and Q&A interfaces
  • Explores various options to help users evaluate the trustworthiness of responses with citations, tracking of source content, etc.
  • Shows possible approaches for data preparation, prompt construction, and orchestration of interaction between model (ChatGPT) and retriever (Cognitive Search)
  • Settings directly in the UX to tweak the behavior and experiment with options

Chat screen

Getting Started


IMPORTANT: In order to deploy and run this example, you'll need an Azure subscription with access enabled for the Azure OpenAI service. You can request access here.

Prerequisites


The PS Info Assistant Accelerator requires a variety of services in Azure. There are a few prerequisites required to deploy and configure the PS Info Assistant Accelerator. Please obtain these items first before continuing on to the deployment section of this guide.

To get started with the PS Info Assistant Accelerator you will need the following:

  • An active Azure Subscription *
  • Administrative rights on the Azure Subscription

* The Azure Subscription needs to be a paid subscription. While you can create a free tier of any of the Cognitive Services, you can only create one free Cognitive Service in an account so the trial would therefore not be able to handle all of the services in this example.

You can sign up for an Azure subscription here. Once you have your prerequisite items, please move on to the Deployment Configuration step.

Deployment Configuration

You will also need some development tools to edit and run the deployment scripts provided. It is recommended you use the following:

The deployment process for the PS Info Assistant, uses a concept of Developing inside a Container to containerize all the necessary pre-requisite component without requiring them to be installed on the local machine. Follow our Configuring your System for Development Containers guide.

More information can be found at Developing inside a Container.

Once you have the prerequisites completed, please move on to the Sizing Estimation step.


Sizing Estimator

The PS Info Assistant Accelerator needs to be sized appropriately based on your use case. Please review our Sizing Estimator to help find the configuration that fits your needs.

Once you have completed the Sizing Estimator, please move on to the Deployment steps.


Deployment

There are several steps to deploying the PS Info Assistant Accelerator. The following checklist will guide you through configuring the PS Info Assistant Accelerator in your environments. Please follow the steps in the order they are provided as values from one step may be used in subsequent steps.

  1. Configure Local Development Environment
  2. Configure Azure resources

Using PS Info Assistant for the first time

TBD

Resources

About

Information Assistant, built with Azure OpenAI Service, Industry Accelerator

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 40.8%
  • TypeScript 26.5%
  • HCL 12.7%
  • Shell 11.1%
  • CSS 7.5%
  • Dockerfile 0.6%
  • Other 0.8%