Building a Complete RAG Application in Azure with No Code

Retrieval-Augmented Generation (RAG) is a hot item in the AI world right now as organisations are finding it a useful pattern for building LLM-based chat applications against an easily updateable knowledge store, without the expense of re-training the LLM. The pattern provides a base for AI generated responses that are as reliable, context-bounded, and current as the data in the knowledge store (which can be as simple as a collection of documents). Even better, RAG provides a means for the LLM to respond with citations so you can be confident of where the answer is sourced from:

image

Two things are critical to making a RAG application possible:

    • Reliable and high-quality components (especially the LLM and the search capability over the knowledge store)
    • Carefully constructed workflow solutions for handling both the ingestion of data and the chat interface

image

Both of these requirements can be met using Microsoft Azure services – and best of all, with no coding required!

As for the ingestion workflow, Stephen W. Thomas already has provided an excellent video guide for building this using Azure OpenAI, Azure AI Search, and Azure Logic Apps. He takes you through the process step-by-step, including the provisioning of all the necessary services and the permissions required.

image

Because Stephen’s guide is so thorough, I don’t need to repeat any of it here. However, the video does not cover how to build the chat workflow, which is worth a discussion – especially because I found a couple of potential traps with the Microsoft provided template.

Building the Chat Workflow

Read more of this post

Copilot for Azure Logic Apps Standard

Those who live in the code-based world have long been enjoying the option to utilise the generative AI assistance via GitHub Copilot.  Powered by OpenAI and Microsoft, Copilot provides invaluable context-based suggestions for completing code patterns based on training from open source code repositories.

Until recently, there was no such assistance available for integration developers who preferred the low-code approach of Logic Apps Standard (although Sandro Pereira has produced a useful utility for Logic Apps Consumption). Given the large number of Logic App connectors available and the inherent complexity in designing integration patterns, a “Copilot” functionality would be especially useful for creating and documenting workflows.

Thankfully, Microsoft is now taking great strides in introducing Azure OpenAI to the Logic Apps development space. In mid-November last year, Microsoft revealed a public preview offering of the Workflow Assistant, a chat interface powered by Azure OpenAI and ChatGPT that can offer context-based suggestions for your workflows that Copilot does for Azure Functions, for instance.  Although currently only available in the Azure Portal (not Visual Studio Code just yet), the assistant can perform many useful functions such as:

  • Suggest which connectors to use in a given scenario and how to configure them
  • Describe how to implement a proven pattern to solve a particular problem
  • Describe an existing workflow giving a detailed report of what it does

What’s more, the responses are determined by the workflow currently open and therefore reflect the relevant context. This is an extraordinary help to those who are not necessarily that familiar with all of Logic Apps capabilities.

Read more of this post

John Glisson - Geek of the Cloth

Thoughts on integration, technology and what-not...

Prashant BizTalk And Azure Integration Blogs

My Integration Experiences - BizTalk And Azure Integration

The CRUCIBLE

THINK: It's not illegal....yet.....

Architecture for cloud and integration

Abdul Rafay's experiences with software architecture, integration, cloud and things around it.

BizTalk musings

Issues, patterns and useful tips for BizTalk development

EAI Guy.net

Enterprise Applicaiton Integration and SOA 2.0

Connected Pawns

Mainly BizTalk & Little Chess

Adventures inside the Message Box

BizTalk, Azure, and other tools in the Microsoft stack - Johann Cooper

Biz(Talk)2

Talk, talk and more talk about BizTalk

Richard Seroter's Architecture Musings

Blog Featuring Links, Code, Thoughts, and Experiences with Software, AI, and Cloud Services

Sandro Pereira BizTalk Blog

My notes about BizTalk Server 2004, 2006, 2006 R2, 2009, 2010, 2013 and now also Windows Azure BizTalk Services.

Mind Over Messaging

Musings on BizTalk, Azure, and Enterprise Integration

WordPress.com News

The latest news on WordPress.com and the WordPress community.