Blog

Conversational AI: Elevating Business Solutions with Copilot Stack & ChatGPT

Summary

Microsoft's Copilot Stack, introduced at Microsoft Build2023, offers a suite of services and code frameworks that enable the integration of AI language models, like ChatGPT, into business applications. It changes how enterprises can use the information they already have. The stack includes conversational user interfaces, orchestration frameworks like Semantic Kernel that handle communication between the model and the user, and retrieval augmented generation (RAG), which finds relevant information to improve responses. Underneath it is AI infrastructure built on advanced NVIDIA GPUs that run deep-learning models efficiently.

Overview

AI is disrupting entire industries, and building AI language models into business applications changes how enterprises use the information they have. Microsoft’s Copilot Stack, unveiled at Microsoft Build 2023, speeds that up. It is a set of services and code frameworks that lets developers deploy AI language models quickly and give their applications new capabilities. Language models like ChatGPT can streamline workflows, improve user experiences and pull insights from data. If you are new to Large Language Models, start with the fundamentals in our introductory

The Future of Competition: Harnessing AI Language Models for Competitive Edge

For the remainder of this blog, we will dissect the Copilot Stack:

Conversational AI: Elevating Business Solutions with Copilot Stack & ChatGPT, figure 1

Copilot Stack

Conversational User Interfaces

Traditional user interfaces typically include buttons, input fields, and menus. With AI language models, they should sit alongside a conversational interface. That helps most with complex tasks that would otherwise mean moving across several screens, searching or running many commands. Users tell an agent what they need in plain language and it does the work, which is how we naturally deal with the world anyway. As AI tools like ChatGPT catch on, more users expect a chat window in the applications they use. That is a basic change in user experience.

Orchestration Frameworks

Microsoft's open-source framework, Semantic Kernel, handles communication between the underlying foundation models and the user and keeps that exchange efficient. The orchestration layer has several sub-components:

Prompt & Response Filtering

ChatGPT (and other AI language models) operate based on prompts, where the user provides input, and the model generates a response. You don't want your business users enabled to ask any questions they want (if you do, they should use ChatGPT), so the prompt & response filtering layer controls what questions and answers your application allows. It also applies a moderation filter to ensure that the prompts meet safety guidelines and do not elicit irrelevant or unsafe responses from the model.

Metaprompt Layer

This layer lets you add standard prompt instructions for the language model. For example, you might create a role prompt by injecting "act as a legal expert and respond to legal questions" into the prompt. The stack then analyzes the prompt entered by the user to understand the actual intent.

Harnessing the Power of Retrieval Augmented Generation (RAG)

Advanced AI language models like ChatGPT can seem remarkably knowledgeable. Two tools make that possible. The first tool, akin to an intelligent dictionary, corresponds to the "grounding layer". It lets the models find and retrieve relevant information quickly and gives them a base to stand on. Much as we use a search engine, they use the grounding layer to find the right information and keep their responses relevant.

The second tool acts as a bridge and corresponds to the "plugin". It connects AI language models to an extensive repository of information, including databases and various sources on the internet. The plugin is how the models reach real-time information, which improves the quality and relevance of their responses.

The Copilot Stack includes this industry standard approach, called Retrieval Augmented Generation, or RAG. RAG combines the grounding layer (the intelligent dictionary) and the plugin (the bridge), so the model's responses come back fast and draw on the most current, relevant information. When an AI language model gives a knowledgeable answer, these tools are what keep that information accurate and relevant.

Foundation Models

As the core of the Copilot Stack, foundation models are trained on extensive datasets and capable of executing a wide array of tasks. And these models can be fine-tuned for specific applications, such as understanding industry-specific terminologies in healthcare, legal, or finance domains.

Large Language Models

Training your own large language model on a very large dataset, like ChatGPT, is very expensive and time consuming. For this reason, only the largest technology companies have the resources required to train a LLM. Some of the more common models are:

  • ChatGPT/GPT
  • Dolly 2.0
  • Bard (Lamda)
  • OPT (Open Pretrained Transformer))
  • PALM

Tailoring AI to Your Industry Needs

Off-the-shelf large language models are capable, but they may not handle niche domains or specific data types well, and they may not be accurate enough for specialized tasks. Fine-tuning an existing LLM is generally more efficient and practical, especially when resources and data are limited.

Training your own large language model gives you control over the data and the fine-tuning, so you can fit the model to the details of your application's domain, such as healthcare, law or finance, and get better, more relevant results there. You also create your own intellectual property (IP).

You should consider using a customized model when you have a combination of the following requirements:

  • Intellectual Property: You want to own the intellectual property (IP) and are comfortable with the investment that requires.
  • Specialized Knowledge: When your AI model requires in-depth knowledge of a specialized area - think medical diagnoses or legal interpretations - a tailored AI model, trained on relevant data, becomes your star performer.
  • Unique Requirements: When your needs are unique and off-the-shelf solutions just don't cut it, creating a customized model lets you shape the AI to fit your distinctive requirements.
  • Privacy & Security: If you're handling sensitive data, you want to ensure the AI model is only trained on your datasets without peeping from the outside world. Custom models are your best option.
  • Peak Performance: A custom model can be tuned for your workload, so your application performs at its best.

AI Infrastructure

Underneath the Copilot Stack is AI tuned compute running on public clouds. This purpose-built infrastructure runs on tens of thousands of NVIDIA GPUs, which give deep-learning models the computing power to respond quickly to user prompts. The same infrastructure powers ChatGPT, one of the most successful AI applications.

Next Steps

Whether you want AI for operational efficiency, better insight from your data or new services, it helps to have experienced people on your side. We'd be glad to talk through where AI language models could set your business apart. To talk about how this applies to your business, click the 'Connect' button at the top of this page and set up a meeting with our team.

Start with the AI Value Map

Find out where AI and agents will pay off in your business. The AI Value Map gives you a roadmap, a business model ready for your first agent, and the order to build in.

Start with a free session of up to a day with your leadership team. You'll leave with a short written readout that names your top three to five AI agent opportunities, says how ready your data, systems and controls are, and shows where to start.