Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Warning
Prompt flow in Microsoft Foundry and Azure Machine Learning will be retired on April 20, 2027. Prompt flow is no longer recommended for new development. Migrate existing Prompt flow applications and deployments to Microsoft Agent Framework before April 20, 2027.
Prompt flow container images are no longer receiving updates, including security and package updates. This applies to Prompt
flow runtime images, including promptflow-runtime, promptflow-runtime-stable, and promptflow-python.
After April 20, 2027, Prompt flow, including the web authoring experience in Microsoft Foundry and Azure Machine Learning, the VS Code extensions, and related Prompt flow container images, will no longer be supported or available.
If your application depends on Prompt flow deployments or runtime images, plan to move those workloads to supported alternatives such as Microsoft Agent Framework before the retirement date. For migration guidance, see the Prompt flow migration guide and migration code samples.
In Azure Machine Learning prompt flow, use connections to manage credentials or secrets for APIs and data sources.
Connections
Connections in prompt flow play an important role in connecting to remote APIs or data sources. They include essential information such as endpoints and secrets, ensuring secure and reliable communication.
In the Azure Machine Learning workspace, you can configure connections to be shared across the entire workspace or limited to the creator. The corresponding Azure Key Vault securely stores secrets associated with connections, adhering to robust security and compliance standards.
Prompt flow provides various prebuilt connections, including Azure OpenAI, OpenAI, and Azure Content Safety. These prebuilt connections enable seamless integration with these resources within the built-in tools. Additionally, you can create custom connection types by using key-value pairs, giving you the flexibility to tailor the connections to your specific requirements, particularly in Python tools.
| Connection type | Built-in tools |
|---|---|
| Azure OpenAI | LLM or Python |
| OpenAI | LLM or Python |
| Azure Content Safety | Content Safety (Text) or Python |
| Azure AI Search (formerly Cognitive Search) | Vector DB Lookup or Python |
| Serp | Serp API or Python |
| Custom | Python |
By using connections in prompt flow, you can easily establish and manage connections to external APIs and data sources. This capability facilitates efficient data exchange and interaction within your AI applications.