evertonteotonio / GPT-RAG

Sharing the learning along the way we been gathering to enable Azure OpenAI at scale in a secure manner.

Home Page:https://azure.microsoft.com/en-us/products/cognitive-services/openai-service

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

GPT on Your Data

Reference implementation of the Retrieval-Augmented Generation (RAG) pattern.

Components:

1 Data ingestion

2 Orchestrator

3 App Front-End

Architecture Overview

imagem

A Simple Retrieval-Augmented Generation Model

imagem

Zero Trust Architecture Overview

imagem

Deploy

To deploy this solution you just need to execute the next four steps:

1) Provision required Azure services

You can do it by clicking on the following button

Deploy to Azure

or by installing Azure Developer CLI (azd) and executing the following lines in terminal

azd auth login
azd init -t azure/gpt-rag
azd up

* Important: when selecting the target location check here the regions that currently support the Azure OpenAI models you want to use.

2) Ingestion Component

Use Data ingestion repo template to create your data ingestion git repo and execute the steps in its Deploy section.

3) Orchestrator Component

Use Orchestrator repo template to create your orchestrator git repo and execute the steps in its Deploy section.

4) Front-end Component

Use App Front-end repo template to create your own frontend git repo and execute the steps in its Deploy section.

Project-Addons

Pricing Estimation

Governance

Technical References

Contributing

This project welcomes contributions and suggestions. Most contributions require you to agree to a Contributor License Agreement (CLA) declaring that you have the right to, and actually do, grant us the rights to use your contribution. For details, visit https://cla.opensource.microsoft.com.

When you submit a pull request, a CLA bot will automatically determine whether you need to provide a CLA and decorate the PR appropriately (e.g., status check, comment). Simply follow the instructions provided by the bot. You will only need to do this once across all repos using our CLA.

This project has adopted the Microsoft Open Source Code of Conduct. For more information see the Code of Conduct FAQ or contact opencode@microsoft.com with any additional questions or comments.

Trademarks

This project may contain trademarks or logos for projects, products, or services. Authorized use of Microsoft trademarks or logos is subject to and must follow Microsoft's Trademark & Brand Guidelines. Use of Microsoft trademarks or logos in modified versions of this project must not cause confusion or imply Microsoft sponsorship. Any use of third-party trademarks or logos are subject to those third-party's policies.

About

Sharing the learning along the way we been gathering to enable Azure OpenAI at scale in a secure manner.

https://azure.microsoft.com/en-us/products/cognitive-services/openai-service

License:MIT License


Languages

Language:Bicep 100.0%