Skip to content

Commit 22998b6

Browse files
committed
update
1 parent 43041c8 commit 22998b6

File tree

9 files changed

+36
-9
lines changed

9 files changed

+36
-9
lines changed

learn-pr/wwl-data-ai/plan-prepare-genaiops/includes/1-introduction.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,4 +10,4 @@ The emergence of generative AI applications is leading to a **paradigm shift** f
1010

1111
To build effective GenAI solutions, developers need to select the right models, and also understand how these models fit into the broader operational framework to develop an application. The end-to-end application development of a GenAI solution is also referred to as **Large Language Model Operations** (**LLMOps**), or **GenAI Operations** (**GenAIOps**).
1212

13-
Before going into the technical aspect of preparing a GenAIOps solution, you learn to plan an appropriate use case by exploring examples from retail, finance, and health care.
13+
Before going into the technical aspect of preparing a GenAIOps solution, you learn to plan an appropriate use case by exploring various examples and their architectures.
Lines changed: 32 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,45 @@
1-
Generative AI applications are rapidly evolving across multiple industries. Understanding how these applications can be deployed across different domains can help you to better design solutions that are both effective and scalable. Let's explore some use cases across various domains, highlighting the specific requirements and challenges that shape the architecture of GenAI solutions.
1+
Generative AI applications are rapidly evolving across multiple industries. Understanding how these applications can be deployed across different use cases can help you to better design solutions that are both effective and scalable. Let's explore some examples, highlighting the specific requirements and challenges that shape the architecture of GenAI solutions.
22

3-
## Explore a retail example
3+
## Enhance customer support in retail
44

55
In retail, GenAI applications can help you to create personalized experiences by providing support to customers whenever they need it.
66

77
Imagine the fictitious Contoso Outdoors, an enterprise retail website that sells hiking and camping gear to adventure-seekers. When you go on an adventure, it's essential that you bring the appropriate gear. Contoso Outdoors wants to help its customers by integrating a chat application with their website, allowing customers to ask any question they have, at any time of day.
88

99
For example, a customer can navigate to the website and search for a backpack, but find that there are many backpacks in various shapes and sizes. To understand better the type of backpack the customer still needs, they can ask for advice based on previous purchases.
1010

11-
:::image type="content" source="../media/contoso-chat-website.png" alt-text="Screenshot of the website of Contoso Chat.":::
11+
:::image type="content" source="../media/contoso-chat-website.png" alt-text="Screenshot of the website of Contoso Chat." lightbox="../media//contoso-chat-website.png":::
1212

1313
To respond to the customer in real-time, Contoso Outdoors can integrate GenAI to generate an answer, which needs to be based on their own product and customer data.
1414

15-
Let's explore the GenAIOps architecture for Contoso Outdoors. The custom chat application is hosted in Azure Container Apps (ACA), exposing an API endpoint that can be accessed from authenticated third party applications, which in this case is the website where customers can sign in with their account.
15+
Let's explore the GenAIOps architecture for Contoso Outdoors.
1616

17-
Any messages in the chat window are requests that are forwarded to the chat application that uses GenAI models combined with a Retrieval Augmented Generation (RAG) design pattern to retrieve product and customer data before generating a response. In this case, the chat application orchestrates interactions with Azure OpenAI models like GPT-4, Azure AI Search for product retrieval, and Cosmos DB for customer data. Finally the generated response is returned to the customer in the same chat window.
17+
:::image type="content" source="../media/contoso-chat-architecture.png" alt-text="Diagram of the Contoso Chat application architecture." lightbox="../media/contoso-chat-architecture.png":::
1818

19+
The custom chat application is hosted in Azure Container Apps (ACA). ACA exposes an API endpoint. This endpoint is accessed by an authenticated application, such as the website where customers sign in.
20+
21+
Any messages in the chat window are requests. These requests are forwarded to the chat application. The application uses GenAI models and the Retrieval Augmented Generation (RAG) design pattern. It retrieves product and customer data before generating a response. The chat application interacts with Azure OpenAI models like GPT-4, Azure AI Search for product retrieval, and Cosmos DB for customer data. Finally, the system returns the generated response to the customer in the chat window.
22+
23+
## Generate product specific articles
24+
25+
Now imagine you need to create high quality articles for your website. The articles for the Contoso Outdoors website must be well-researched and include product-specific information to engage customers effectively.
26+
27+
To streamline this process, you can develop a creative writer app that allows any writer to generate a new article by entering key details, such as the products they want to feature.
28+
29+
:::image type="content" source="../media/creative-writer-sample.png" alt-text="Screenshot of the start screen of Contoso Creative Writer." lightbox="../media/creative-writer-sample.png":::
30+
31+
Once the information is submitted, the app processes it through an AI-driven agent workflow, which automates the research, writing, and refinement of the article. A writer can then review the generated article before finalizing and publishing the article to the website.
32+
33+
:::image type="content" source="../media/creative-writer-sample-2.png" alt-text="Screenshot of the second screen of Contoso Creative Writer." lightbox="../media/creative-writer-sample-2.png":::
34+
35+
In the debug window, users could explore the various agents that were included in the workflow to complete the task. To understand what is happening behind the scenes, let's explore the architecture for the Contoso Creative Writer app.
36+
37+
:::image type="content" source="../media/creative-writer-architecture.png" alt-text="Diagram of the Contoso Chat application architecture." lightbox="../media/creative-writer-architecture.png":::
38+
39+
When an authenticated user inputs the required information, the Creative Writer app uses a combination of multiple agents to generate the article:
40+
41+
- A **research** agent that uses the [Bing Grounding Tool](/azure/ai-services/agents/how-to/tools/bing-grounding?view=azure-python-preview&tabs=python&pivots=overview&azure-portal=true) in [Azure AI Agent Service](/azure/ai-services/agents/overview?view=azure-python-preview&azure-portal=true) to research the product, and uses [Azure AI Search](/products/ai-services/ai-search?azure-portal=true) to do a semantic similarity search for related products from a vector store.
42+
- A **writer** agent that combines the researched and retrieved product information into a helpful article.
43+
- An **editor** agent that refines the article before presenting it to the user.
44+
45+
Contoso Creative Writer simplifies and accelerates the content creation process by integrating these AI-powered agents, making it easier than ever to generate high-quality, product-focused articles.

learn-pr/wwl-data-ai/plan-prepare-genaiops/includes/4-lifecycle-overview.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35,9 +35,9 @@ The GenAIOps lifecycle is complex, and anything but linear. It’s an iterative
3535

3636
:::image type="content" source="../media/lifecycle.png" alt-text="Diagram showing the language model lifecycle in loops.":::
3737

38-
1. **Ideation and exploration:** Where you *define* the business need, or use case, and *design* the architecture, including necessary prompts and models.
39-
2. **Building and augmenting:** Where you *develop* the initial application and *evaluate* it iteratively to reach quality and safety targets.
40-
3. **Operationalizing:** Where you *deploy* the application for real-world use, and *deliver* reliable and responsible service.
38+
1. **Explore:** Where you *define* the business need, or use case, and *design* the architecture, including necessary prompts and models.
39+
2. **Build:** Where you *develop* the initial application and *evaluate* it iteratively to reach quality and safety targets.
40+
3. **Operationalize:** Where you *deploy* the application for real-world use, and *deliver* reliable and responsible service.
4141

4242
Overarching all these phases is the **management loop**, which focuses on governance, security, and compliance. It's a framework that balances speed in deliverables with strict adherence to standards.
4343

185 KB
Loading
244 KB
Loading
1.12 MB
Loading
355 KB
Loading
-174 KB
Loading
321 KB
Loading

0 commit comments

Comments
 (0)