You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
By leveraging connections in prompt flow, users can easily establish and manage connections to external APIs and data sources, facilitating efficient data exchange and interaction within their AI applications.
39
39
40
40
## Next steps
41
41
42
42
-[Get started with prompt flow](get-started-prompt-flow.md)
43
-
-[Consume custom connection in Python Tool](./tools-reference/python-tool.md#how-to-consume-custom-connection-in-python-tool)
43
+
-[Consume custom connection in Python Tool](./tools-reference/python-tool.md#use-a-custom-connection-in-python)
Copy file name to clipboardExpand all lines: articles/machine-learning/prompt-flow/tools-reference/embedding-tool.md
+18-19Lines changed: 18 additions & 19 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,7 +1,7 @@
1
1
---
2
2
title: Embedding tool in Azure Machine Learning prompt flow
3
3
titleSuffix: Azure Machine Learning
4
-
description: Prompt flow embedding tool uses OpenAI's embedding models to convert text into dense vector representations for various NLP tasks.
4
+
description: The prompt flow embedding tool uses OpenAI's embedding models to convert text into dense vector representations for various natural language processing tasks.
5
5
services: machine-learning
6
6
ms.service: machine-learning
7
7
ms.subservice: prompt-flow
@@ -15,47 +15,46 @@ ms.date: 11/02/2023
15
15
---
16
16
17
17
# Embedding tool
18
-
OpenAI's embedding models convert text into dense vector representations for various NLP tasks. See the [OpenAI Embeddings API](https://platform.openai.com/docs/api-reference/embeddings) for more information.
18
+
19
+
OpenAI's embedding models convert text into dense vector representations for various natural language processing tasks. For more information, see the [OpenAI Embeddings API](https://platform.openai.com/docs/api-reference/embeddings).
19
20
20
21
## Prerequisites
22
+
21
23
Create OpenAI resources:
22
24
23
-
-**OpenAI**
25
+
-**OpenAI**:
24
26
25
-
Sign up account [OpenAI website](https://openai.com/)
26
-
Login and [Find personal API key](https://platform.openai.com/account/api-keys)
27
+
-Sign up your account on the [OpenAI website](https://openai.com/).
28
+
- Sign in and [find your personal API key](https://platform.openai.com/account/api-keys).
27
29
28
-
-**Azure OpenAI (AOAI)**
30
+
-**Azure OpenAI Service**:
29
31
30
-
Create Azure OpenAI resources with [instruction](../../../ai-services/openai/how-to/create-resource.md)
32
+
Create Azure OpenAI resources with [these instructions](../../../ai-services/openai/how-to/create-resource.md).
31
33
32
-
## **Connections**
34
+
## Connections
33
35
34
-
Set up connections to provide resources in embedding tool.
36
+
Set up connections to provide resources in the embedding tool.
| input | string | the input text to embed | Yes |
47
-
| connection | string | the connection for the embedding tool use to provide resources | Yes |
48
-
| model/deployment_name | string | instance of the text-embedding engine to use. Fill in model name if you use OpenAI connection, or deployment name if use Azure OpenAI connection. | Yes |
49
-
50
-
47
+
| input | string | Input text to embed. | Yes |
48
+
| connection | string | Connection for the embedding tool used to provide resources. | Yes |
49
+
| model/deployment_name | string | Instance of the text-embedding engine to use. Fill in the model name if you use an OpenAI connection. Insert the deployment name if you use an Azure OpenAI connection. | Yes |
title: LLM tool in Azure Machine Learning prompt flow
3
3
titleSuffix: Azure Machine Learning
4
-
description: Prompt flow LLM tool enables you to leverage widely used large language models like OpenAI or Azure OpenAI (AOAI) for natural language processing.
4
+
description: The prompt flow LLM tool enables you to take advantage of widely used large language models like OpenAI or Azure OpenAI for natural language processing.
5
5
services: machine-learning
6
6
ms.service: machine-learning
7
7
ms.subservice: prompt-flow
@@ -16,81 +16,83 @@ ms.date: 11/02/2023
16
16
17
17
# LLM tool
18
18
19
-
Prompt flow LLM tool enables you to leverage widely used large language models like [OpenAI](https://platform.openai.com/) or [Azure OpenAI (AOAI)](../../../cognitive-services/openai/overview.md) for natural language processing.
19
+
The large language model (LLM) tool in prompt flow enables you to take advantage of widely used large language models like [OpenAI](https://platform.openai.com/) or [Azure OpenAI Service](../../../cognitive-services/openai/overview.md) for natural language processing.
20
20
21
-
Prompt flow provides a few different LLM APIs:
22
-
-**[Completion](https://platform.openai.com/docs/api-reference/completions)**: OpenAI's completion models generate text based on provided prompts.
23
-
-**[Chat](https://platform.openai.com/docs/api-reference/chat)**: OpenAI's chat models facilitate interactive conversations with text-based inputs and responses.
21
+
Prompt flow provides a few different large language model APIs:
22
+
23
+
-[Completion](https://platform.openai.com/docs/api-reference/completions): OpenAI's completion models generate text based on provided prompts.
24
+
-[Chat](https://platform.openai.com/docs/api-reference/chat): OpenAI's chat models facilitate interactive conversations with text-based inputs and responses.
24
25
25
26
> [!NOTE]
26
-
> We now remove the `embedding` option from LLM tool api setting. You can use embedding api with [Embedding tool](embedding-tool.md).
27
+
> We removed the `embedding` option from the LLM tool API setting. You can use an embedding API with the [embedding tool](embedding-tool.md).
28
+
29
+
## Prerequisites
27
30
28
-
## Prerequisite
29
31
Create OpenAI resources:
30
32
31
-
-**OpenAI**
33
+
-**OpenAI**:
32
34
33
-
Sign up account [OpenAI website](https://openai.com/)
34
-
Sign in and [Find personal API key](https://platform.openai.com/account/api-keys)
35
+
-Sign up your account on the [OpenAI website](https://openai.com/).
36
+
-Sign in and [find your personal API key](https://platform.openai.com/account/api-keys).
0 commit comments