Skip to content

Commit 725ccd4

Browse files
committed
Fix broken links - chenlujiao
1 parent ffa85ae commit 725ccd4

File tree

1 file changed

+12
-6
lines changed

1 file changed

+12
-6
lines changed

articles/machine-learning/prompt-flow/how-to-integrate-with-langchain.md

Lines changed: 12 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -21,11 +21,17 @@ Prompt Flow can also be used together with the [LangChain](https://python.langch
2121
:::image type="content" source="./media/how-to-integrate-with-langchain/flow.png" alt-text="Screenshot of flows with the LangChain python library. " lightbox = "./media/how-to-integrate-with-langchain/flow.png":::
2222

2323
We introduce the following sections:
24-
* [Benefits of LangChain integration](#benefits-of-langchain-integration)
25-
* [How to convert LangChain code into flow](#how-to-convert-langchain-code-into-flow)
26-
* [Prerequisites for environment and runtime](#prerequisites-for-environment-and-runtime)
27-
* [Convert credentials to prompt flow connection](#convert-credentials-to-prompt-flow-connection)
28-
* [LangChain code conversion to a runnable flow](#langchain-code-conversion-to-a-runnable-flow)
24+
- [Integrate with LangChain](#integrate-with-langchain)
25+
- [Benefits of LangChain integration](#benefits-of-langchain-integration)
26+
- [How to convert LangChain code into flow](#how-to-convert-langchain-code-into-flow)
27+
- [Prerequisites for environment and runtime](#prerequisites-for-environment-and-runtime)
28+
- [Create a customized environment](#create-a-customized-environment)
29+
- [Convert credentials to prompt flow connection](#convert-credentials-to-prompt-flow-connection)
30+
- [Create a connection](#create-a-connection)
31+
- [LangChain code conversion to a runnable flow](#langchain-code-conversion-to-a-runnable-flow)
32+
- [Convert LangChain code to flow structure](#convert-langchain-code-to-flow-structure)
33+
- [Configure connection, input and output](#configure-connection-input-and-output)
34+
- [Next steps](#next-steps)
2935

3036
## Benefits of LangChain integration
3137

@@ -55,7 +61,7 @@ Then you can create a [prompt flow runtime](./how-to-create-manage-runtime.md) b
5561

5662
### Convert credentials to prompt flow connection
5763

58-
When developing your LangChain code, you might have [defined environment variables to store your credentials, such as the AzureOpenAI API KEY](https://python.langchain.com/docs/integrations/llms/azure_openai_example), which is necessary for invoking the AzureOpenAI model.
64+
When developing your LangChain code, you might have [defined environment variables to store your credentials, such as the AzureOpenAI API KEY](https://python.langchain.com/docs/integrations/llms/azure_openai), which is necessary for invoking the AzureOpenAI model.
5965

6066
:::image type="content" source="./media/how-to-integrate-with-langchain/langchain-env-variables.png" alt-text="Screenshot of Azure OpenAI example in LangChain. " lightbox = "./media/how-to-integrate-with-langchain/langchain-env-variables.png":::
6167

0 commit comments

Comments
 (0)