Skip to content

Commit 3a5079a

Browse files
authored
Merge pull request #275536 from eric-urban/eur/build-ai-studio-follow-2
build ai studio follow 2 - azd template
2 parents 93e12a5 + 5a39c10 commit 3a5079a

File tree

5 files changed

+62
-9
lines changed

5 files changed

+62
-9
lines changed
Lines changed: 52 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,52 @@
1+
---
2+
title: How to get started with an AI template
3+
titleSuffix: Azure AI Studio
4+
description: This article provides instructions on how to get started with an AI template.
5+
manager: nitinme
6+
ms.service: azure-ai-studio
7+
ms.topic: how-to
8+
ms.date: 5/21/2024
9+
ms.reviewer: dantaylo
10+
ms.author: eur
11+
author: eric-urban
12+
---
13+
14+
# How to get started with an AI template
15+
16+
[!INCLUDE [Feature preview](../../includes/feature-preview.md)]
17+
18+
Streamline your code-first development with prebuilt, task-specific Azure AI templates. Benefit from using the latest features and best practices from Microsoft Azure AI, with popular frameworks like LangChain, prompt flow, and Semantic Kernel in multiple languages.
19+
20+
> [!TIP]
21+
> Discover the latest templates in our curated [AZD templates collection](https://aka.ms/azd-ai-templates). Deploy them with a single command ```azd up``` using the [Azure Developer CLI](/developer/azure-developer-cli/overview).
22+
23+
## Start with a sample application
24+
25+
Start with our sample applications! Choose the right template for your needs, then refer to the README in any of the following Azure Developer CLI enabled templates for more instructions and information.
26+
27+
### [Python](#tab/python)
28+
29+
| Template | App host | Tech stack | Description |
30+
| ----------- | ----------| ----------- | ------------|
31+
| [Contoso Chat Retail copilot with Azure AI Studio](https://github.com/Azure-Samples/contoso-chat) | [Azure AI Studio online endpoints](../../../machine-learning/concept-endpoints-online.md) | [Azure Cosmos DB](../../../cosmos-db/index-overview.md), [Azure Managed Identity](/entra/identity/managed-identities-azure-resources/overview), [Azure OpenAI Service](../../../ai-services/openai/overview.md), [Azure AI Search](../../../search/search-what-is-azure-search.md), Bicep | A retailer conversation agent that can answer questions grounded in your product catalog and customer order history. This template uses a retrieval augmented generation architecture with cutting-edge models for chat completion, chat evaluation, and embeddings. Build, evaluate, and deploy, an end-to-end solution with a single command. |
32+
| [Process Automation: speech to text and summarization with Azure AI Studio](https://github.com/Azure-Samples/summarization-openai-python-prompflow) | [Azure AI Studio online endpoints](../../../machine-learning/concept-endpoints-online.md) | [Azure Managed Identity](/entra/identity/managed-identities-azure-resources/overview), [Azure OpenAI Service](../../../ai-services/openai/overview.md), [Azure AI speech to text service](../../../ai-services/speech-service/index-speech-to-text.yml), Bicep | An app for workers to report issues via text or speech, translating audio to text, summarizing it, and specify the relevant department. |
33+
| [Multi-Modal Creative Writing copilot with Dalle](https://github.com/Azure-Samples/agent-openai-python-prompty) | [Azure AI Studio online endpoints](../../../machine-learning/concept-endpoints-online.md) | [Azure AI Search](../../../search/search-what-is-azure-search.md), [Azure OpenAI Service](../../../ai-services/openai/overview.md), Bicep | demonstrates how to create and work with AI agents. The app takes a topic and instruction input and then calls a research agent, writer agent, and editor agent. |
34+
| [Assistant API Analytics Copilot with Python and Azure AI Studio](https://github.com/Azure-Samples/assistant-data-openai-python-promptflow) | [Azure AI Studio online endpoints](../../../machine-learning/concept-endpoints-online.md) | [Azure Managed Identity](/entra/identity/managed-identities-azure-resources/overview), [Azure AI Search](../../../search/search-what-is-azure-search.md), [Azure OpenAI Service](../../../ai-services/openai/overview.md), Bicep| A data analytics chatbot based on the Assistants API. The chatbot can answer questions in natural language, and interpret them as queries on an example sales dataset. |
35+
| [Function Calling with Prompty, LangChain, and Pinecone](https://github.com/Azure-Samples/agent-openai-python-prompty-langchain-pinecone) | [Azure AI Studio online endpoints](../../../machine-learning/concept-endpoints-online.md) | [Azure Managed Identity](/entra/identity/managed-identities-azure-resources/overview), [Azure OpenAI Service](../../../ai-services/openai/overview.md), [LangChain](https://python.langchain.com/v0.1/docs/get_started/introduction), [Pinecone](https://www.pinecone.io/), Bicep | Utilize the new Prompty tool, LangChain, and Pinecone to build a large language model (LLM) search agent. This agent with Retrieval-Augmented Generation (RAG) technology is capable of answering user questions based on the provided data by integrating real-time information retrieval with generative responses. |
36+
| [Function Calling with Prompty, LangChain, and Elastic Search](https://github.com/Azure-Samples/agent-python-openai-prompty-langchain) | [Azure AI Studio online endpoints](../../../machine-learning/concept-endpoints-online.md) | [Azure Managed Identity](/entra/identity/managed-identities-azure-resources/overview), [Azure OpenAI Service](../../../ai-services/openai/overview.md), [Elastic Search](https://www.elastic.co/elasticsearch), [LangChain](https://python.langchain.com/v0.1/docs/get_started/introduction) , Bicep | Utilize the new Prompty tool, LangChain, and Elasticsearch to build a large language model (LLM) search agent. This agent with Retrieval-Augmented Generation (RAG) technology is capable of answering user questions based on the provided data by integrating real-time information retrieval with generative responses |
37+
38+
### [C#](#tab/csharp)
39+
40+
| Template | App host | Tech stack | Description |
41+
| ----------- | ----------| ----------- | -------------- |
42+
| [Contoso Chat Retail copilot with .NET and Semantic Kernel](https://github.com/Azure-Samples/contoso-chat-csharp-prompty) | [Azure Container Apps](../../../container-apps/overview.md) | [Azure Cosmos DB](../../../cosmos-db/index-overview.md), [Azure Monitor](../../../azure-monitor/overview.md), [Azure Managed Identity](/entra/identity/managed-identities-azure-resources/overview), [Azure Container Apps](../../../container-apps/overview.md), [Azure AI Search](../../../search/search-what-is-azure-search.md), [Azure OpenAI Services](../../../ai-services/openai/overview.md), [Semantic Kernel](/semantic-kernel/overview/?tabs=Csharp), Bicep | A retailer conversation agent that can answer questions grounded in your product catalog and customer order history. This template uses a retrieval augmented generation architecture with cutting-edge models for chat completion, chat evaluation, and embeddings. Build, evaluate, and deploy, an end-to-end solution with a single command. |
43+
| [Process Automation: speech to text and summarization with .NET and GPT 3.5 Turbo](https://github.com/Azure-Samples/summarization-openai-csharp-prompty) | [Azure Container Apps](../../../container-apps/overview.md) | [Azure Managed Identity](/entra/identity/managed-identities-azure-resources/overview), [Azure OpenAI Service](../../../ai-services/openai/overview.md), [Azure AI speech to text service](../../../ai-services/speech-service/index-speech-to-text.yml), Bicep | An app for workers to report issues via text or speech, translating audio to text, summarizing it, and specify the relevant department. |
44+
45+
---
46+
47+
48+
## Related content
49+
50+
- [Get started building a chat app using the prompt flow SDK](../../quickstarts/get-started-code.md)
51+
- [Work with projects in VS Code](vscode.md)
52+
- [Connections in Azure AI Studio](../../concepts/connections.md)

articles/ai-studio/how-to/develop/index-build-consume-sdk.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -179,6 +179,9 @@ client.indexes.create_or_update(
179179
)
180180
```
181181

182+
> [!NOTE]
183+
> Environment variables are intended for convenience in a local environment. However, if you register a local index created using environment variables, the index may not function as expected because secrets from environment variables won’t be transferred to the cloud index. To address this issue, you can use a `ConnectionConfig` or `connection_id` to create a local index before registering.
184+
182185
## Build an index (remotely) in your AI project
183186

184187
We build an index in the cloud in your AI project.
@@ -386,5 +389,6 @@ print(result["answer"])
386389

387390
## Related content
388391

392+
- [Create and consume an index from the AI Studio UI](../index-add.md)
389393
- [Get started building a chat app using the prompt flow SDK](../../quickstarts/get-started-code.md)
390-
- [Work with projects in VS Code](vscode.md)
394+
- [Work with projects in VS Code](vscode.md)

articles/ai-studio/how-to/develop/simulator-interaction-data.md

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -121,12 +121,6 @@ The `messages` in `output` is a list of role-based turns. For each turn, it cont
121121

122122
```json
123123
{
124-
"template_parameters": [
125-
{
126-
"name": "<name_of_simulated_agent>",
127-
"chatbot_name": "<name_of_chatbot>"
128-
}
129-
],
130124
"messages": [
131125
{
132126
"content": "<conversation_turn_content>",

articles/ai-studio/how-to/index-add.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -126,6 +126,7 @@ You must have:
126126
:::image type="content" source="../media/index-retrieve/configure-index-lookup-tool.png" alt-text="Screenshot of the prompt flow node to configure index lookup." lightbox="../media/index-retrieve/configure-index-lookup-tool.png":::
127127

128128

129-
## Next steps
129+
## Related content
130130

131-
- [Learn more about RAG](../concepts/retrieval-augmented-generation.md)
131+
- [Learn more about RAG](../concepts/retrieval-augmented-generation.md)
132+
- [Build and consume an index using code](./develop/index-build-consume-sdk.md)

articles/ai-studio/toc.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -168,6 +168,8 @@ items:
168168
href: how-to/develop/sdk-overview.md
169169
- name: Work with Azure AI projects in VS Code
170170
href: how-to/develop/vscode.md
171+
- name: Start with an AI template
172+
href: how-to/develop/ai-template-get-started.md
171173
- name: Trace your application with prompt flow
172174
href: how-to/develop/trace-local-sdk.md
173175
- name: Evaluate generative AI apps

0 commit comments

Comments
 (0)