Skip to content

Commit 09fb034

Browse files
Merge pull request #257994 from lgayhardt/patch-234
Change Prompt to prompt transparency-note.md
2 parents 4189b43 + 7796b0f commit 09fb034

File tree

1 file changed

+23
-23
lines changed

1 file changed

+23
-23
lines changed
Lines changed: 23 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
2-
title: Transparency Note for Auto-Generate Prompt Variants in Prompt Flow
2+
title: Transparency Note for auto-generate prompt variants in prompt flow
33
titleSuffix: Azure Machine Learning
4-
description: Transparency Note for Auto-Generate Prompt Variants in Prompt Flow
4+
description: Transparency Note for auto-generate prompt variants in prompt flow
55
author: prakharg-msft
66
ms.author: prakharg
77
manager: omkarm
@@ -11,25 +11,25 @@ ms.date: 10/20/2023
1111
ms.topic: article
1212
---
1313

14-
# Transparency Note for Auto-Generate Prompt Variants in Prompt Flow
14+
# Transparency Note for auto-generate prompt variants in prompt flow
1515

1616
## What is a Transparency Note?
1717

1818
An AI system includes not only the technology, but also the people who use it, the people who are affected by it, and the environment in which it's deployed. Creating a system that is fit for its intended purpose requires an understanding of how the technology works, what its capabilities and limitations are, and how to achieve the best performance. Microsoft's Transparency Notes are intended to help you understand how our AI technology works, the choices system owners can make that influence system performance and behavior, and the importance of thinking about the whole system, including the technology, the people, and the environment. You can use Transparency Notes when developing or deploying your own system, or share them with the people who will use or be affected by your system.
1919

2020
Microsoft's Transparency Notes are part of a broader effort at Microsoft to put our AI Principles into practice. To find out more, see the [Microsoft's AI principles](https://www.microsoft.com/ai/responsible-ai).
2121

22-
## The basics of Auto-Generate Prompt Variants in Prompt Flow
22+
## The basics of auto-generate prompt variants in prompt flow
2323

2424
### Introduction
2525

26-
Prompt engineering is at the center of building applications using Large Language Models. Microsoft's Prompt Flow offers rich capabilities to interactively edit, bulk test, and evaluate prompts with built-in flows to pick the best prompt. With the Auto-Generate Prompt Variants feature in Prompt Flow, we provide the ability to automatically generate variations of a user's base prompt with help of large language models and allow users to test them in Prompt Flow to reach the optimal solution for the user's model and use case needs.
26+
Prompt engineering is at the center of building applications using Large Language Models. Microsoft's prompt flow offers rich capabilities to interactively edit, bulk test, and evaluate prompts with built-in flows to pick the best prompt. With the auto-generate prompt variants feature in prompt flow, we provide the ability to automatically generate variations of a user's base prompt with help of large language models and allow users to test them in prompt Flow to reach the optimal solution for the user's model and use case needs.
2727

2828
### Key terms
2929

3030
| **Term** | **Definition** |
3131
| --- | --- |
32-
| Prompt flow | Prompt Flow offers rich capabilities to interactively edit prompts and bulk test them with built-in evaluation flows to pick the best prompt. More information available at [What is prompt flow](./overview-what-is-prompt-flow.md) |
32+
| Prompt flow | Prompt flow offers rich capabilities to interactively edit prompts and bulk test them with built-in evaluation flows to pick the best prompt. More information available at [What is prompt flow](./overview-what-is-prompt-flow.md) |
3333
| Prompt engineering | The practice of crafting and refining input prompts to elicit more desirable responses from a large language model, particularly in large language models. |
3434
| Prompt variants | Different versions or modifications of a given input prompt designed to test or achieve varied responses from a large language model. |
3535
| Base prompt | The initial or primary prompt that serves as a starting point for eliciting response from large language models. In this case it is provided by the user and is modified to create prompt variants. |
@@ -39,43 +39,43 @@ Prompt engineering is at the center of building applications using Large Languag
3939

4040
### System behavior
4141

42-
The Auto-Generate Prompt Variants feature, as part of the Prompt Flow experience, provides the ability to automatically generate and easily assess prompt variations to quickly find the best prompt for your use case. This feature further empowers Prompt Flow's rich set of capabilities to interactively edit and evaluate prompts, with the goal of simplifying prompt engineering.
42+
The auto-generate prompt variants feature, as part of the prompt flow experience, provides the ability to automatically generate and easily assess prompt variations to quickly find the best prompt for your use case. This feature further empowers prompt flow's rich set of capabilities to interactively edit and evaluate prompts, with the goal of simplifying prompt engineering.
4343

44-
When provided with the user's base prompt the Auto-Generate Prompt Variants feature generates several variations using the generative power of Azure OpenAI models and an internal system prompt. While Azure OpenAI provides content management filters, we recommend verifying any prompts generated before using them in production scenarios.
44+
When provided with the user's base prompt the auto-generate prompt variants feature generates several variations using the generative power of Azure OpenAI models and an internal system prompt. While Azure OpenAI provides content management filters, we recommend verifying any prompts generated before using them in production scenarios.
4545

4646
### Use cases
4747

4848
#### Intended uses
4949

50-
Auto-Generate Prompt Variants can be used in the following scenarios. The system's intended use is:
50+
Auto-generate prompt variants can be used in the following scenarios. The system's intended use is:
5151

5252
**Generate new prompts from a provided base prompt**: "Generate Variants" feature will allow the users of prompt flow to automatically generate variants of their provided base prompt with help of LLMs (Large Language Models).
5353

5454
#### Considerations when choosing a use case
5555

56-
**Do not use Auto-Generate Prompt Variants for decisions that might have serious adverse impacts.**
56+
**Do not use auto-generate prompt variants for decisions that might have serious adverse impacts.**
5757

58-
Auto-Generate Prompt Variants was not designed or tested to recommend items that require additional considerations related to accuracy, governance, policy, legal, or expert knowledge as these often exist outside the scope of the usage patterns carried out by regular (non-expert) users. Examples of such use cases include medical diagnostics, banking, or financial recommendations, hiring or job placement recommendations, or recommendations related to housing.
58+
Auto-generate prompt variants was not designed or tested to recommend items that require additional considerations related to accuracy, governance, policy, legal, or expert knowledge as these often exist outside the scope of the usage patterns carried out by regular (non-expert) users. Examples of such use cases include medical diagnostics, banking, or financial recommendations, hiring or job placement recommendations, or recommendations related to housing.
5959

6060
## Limitations
6161

6262
Explicitly in the generation of prompt variants, it is important to understand that while AI systems are incredibly valuable tools, they are **non-deterministic**. This means that perfect **accuracy** (the measure of how well the system-generated events correspond to real events that happened in a space) of predictions is not possible. A good model will have high accuracy, but it will occasionally output incorrect predictions. Failure to understand this limitation can lead to over-reliance on the system and unmerited decisions that can impact stakeholders.
6363

64-
Furthermore, the prompt variants that are generated using LLMs, are returned to the user as is. It is encouraged to evaluate and compare these variants to determine the best prompt for a given scenario. There are **additional concerns** here because many of the evaluations offered in the Prompt Flow ecosystems also depend on LLMs, potentially further decreasing the utility of any given prompt. Manual review is strongly recommended.
64+
Furthermore, the prompt variants that are generated using LLMs, are returned to the user as is. It is encouraged to evaluate and compare these variants to determine the best prompt for a given scenario. There are **additional concerns** here because many of the evaluations offered in the prompt flow ecosystems also depend on LLMs, potentially further decreasing the utility of any given prompt. Manual review is strongly recommended.
6565

6666
### Technical limitations, operational factors, and ranges
6767

68-
As mentioned previously, the Auto-Generate Prompt Variants feature does not provide a measurement or evaluation of the provided prompt variants. It is strongly recommended that the user of this feature evaluates the suggested prompts in the way which best aligns with their specific use case and requirements.
68+
As mentioned previously, the auto-generate prompt variants feature does not provide a measurement or evaluation of the provided prompt variants. It is strongly recommended that the user of this feature evaluates the suggested prompts in the way which best aligns with their specific use case and requirements.
6969

70-
The Auto-Generate Prompt Variants feature is limited to generating a maximum of five variations from a given base prompt. If more are required, additional prompt variants can be generated after modifying the original base prompt.
70+
The auto-generate prompt variants feature is limited to generating a maximum of five variations from a given base prompt. If more are required, additional prompt variants can be generated after modifying the original base prompt.
7171

72-
Auto-Generate Prompt Variants only supports Azure OpenAI models at this time. In addition to limiting users to only the models which are supported by Azure OpenAI, it also limits content to what is acceptable in terms of the Azure OpenAI's content management policy. Uses outside of this policy are not supported by this feature.
72+
Auto-generate prompt variants only supports Azure OpenAI models at this time. In addition to limiting users to only the models which are supported by Azure OpenAI, it also limits content to what is acceptable in terms of the Azure OpenAI's content management policy. Uses outside of this policy are not supported by this feature.
7373

7474
## System performance
7575

76-
Performance for the Auto-Generate Prompt Variants feature is determined by the user's use case in each individual scenario – in this way the feature does not evaluate each prompt or generate metrics.
76+
Performance for the auto-generate prompt variants feature is determined by the user's use case in each individual scenario – in this way the feature does not evaluate each prompt or generate metrics.
7777

78-
Operating in the Prompt Flow ecosystem, which focuses on Prompt Engineering, provides a strong story for error handling. Often retrying the operation will resolve an error. One error which might arise specific to this feature is response filtering from the Azure OpenAI resource for content or harm detection, this would happen in the case that content in the base prompt is determined to be against Azure OpenAI's content management policy. To resolve these errors please update the base prompt in accordance with the guidance at [Azure OpenAI Service content filtering](/azure/ai-services/openai/concepts/content-filter).
78+
Operating in the prompt flow ecosystem, which focuses on Prompt Engineering, provides a strong story for error handling. Often retrying the operation will resolve an error. One error which might arise specific to this feature is response filtering from the Azure OpenAI resource for content or harm detection, this would happen in the case that content in the base prompt is determined to be against Azure OpenAI's content management policy. To resolve these errors please update the base prompt in accordance with the guidance at [Azure OpenAI Service content filtering](/azure/ai-services/openai/concepts/content-filter).
7979

8080
### Best practices for improving system performance
8181

@@ -85,23 +85,23 @@ To improve performance there are several parameters which can be modified, depen
8585
- **Number of Variants**: This parameter specifies how many variants to generate. A larger number of variants will produce more prompts and therefore the likelihood of finding the best prompt for the use case.
8686
- **Base Prompt**: Since this tool generates variants of the provided base prompt, a strong base prompt can set up the tool to provide the maximum value for your case. Please review the guidelines at Prompt engineering techniques with [Azure OpenAI](/azure/ai-services/openai/concepts/advanced-prompt-engineering).
8787

88-
## Evaluation of Auto-Generate Prompt Variants
88+
## Evaluation of auto-generate prompt variants
8989

9090
### Evaluation methods
9191

92-
The Auto-Generate Prompt Variants feature been testing by the internal development team, targeting fit for purpose and harm mitigation.
92+
The auto-generate prompt variants feature been testing by the internal development team, targeting fit for purpose and harm mitigation.
9393

9494
### Evaluation results
9595

9696
Evaluation of harm management showed staunch support for the combination of system prompt and Azure Open AI content management policies in actively safe-guarding responses. Additional opportunities to minimize the chance and risk of harms can be found in the Microsoft documentation: [Azure OpenAI Service abuse monitoring](/azure/ai-services/openai/concepts/abuse-monitoring) and [Azure OpenAI Service content filtering](/azure/ai-services/openai/concepts/content-filter).
9797

9898
Fit for purpose testing supported the quality of generated prompts from creative purposes (poetry) and chat-bot agents. The reader is cautioned from drawing sweeping conclusions given the breadth of possible base prompt and potential use cases. As previously mentioned, please use evaluations appropriate to the required use cases and ensure a human reviewer is part of the process.
9999

100-
## Evaluating and integrating Auto-Generate Prompt Variants for your use
100+
## Evaluating and integrating auto-generate prompt variants for your use
101101

102-
The performance of the Auto-Generate Prompt Variants feature will vary depending on the base prompt and use case in it is used. True usage of the generated prompts will depend on a combination of the many elements of the system in which the prompt is used.
102+
The performance of the auto-generate prompt variants feature will vary depending on the base prompt and use case in it is used. True usage of the generated prompts will depend on a combination of the many elements of the system in which the prompt is used.
103103

104-
To ensure optimal performance in their scenarios, customers should conduct their own evaluations of the solutions they implement using Auto-Generate Prompt Variants. Customers should, generally, follow an evaluation process that:
104+
To ensure optimal performance in their scenarios, customers should conduct their own evaluations of the solutions they implement using auto-generate prompt variants. Customers should, generally, follow an evaluation process that:
105105

106106
- Uses internal stakeholders to evaluate any generated prompt.
107107
- Uses internal stakeholders to evaluate results of any system which uses a generated prompt.
@@ -113,6 +113,6 @@ To ensure optimal performance in their scenarios, customers should conduct their
113113
- [Microsoft responsible AI resources](https://www.microsoft.com/ai/responsible-ai-resources)
114114
- [Microsoft Azure Learning courses on responsible AI](/training/paths/responsible-ai-business-principles/)
115115

116-
## Learn more about Auto-Generate Prompt Variants
116+
## Learn more about auto-generate prompt variants
117117
- [What is prompt flow](./overview-what-is-prompt-flow.md)
118118

0 commit comments

Comments
 (0)