This commit is contained in:
Mendon Kissling 2024-05-17 14:08:45 -04:00
commit 2a13e24e93

View file

@ -13,8 +13,8 @@ For more information on the starter flow, see [Basic prompting ](../starter-proj
1. From the Langflow dashboard, click **New Project**. 1. From the Langflow dashboard, click **New Project**.
2. Select **Basic Prompting**. 2. Select **Basic Prompting**.
3. The **Basic Prompting** flow is created. The **Basic Prompting** flow is created.
4. To create an environment variable for the **OpenAI** component, in the **OpenAI API Key** field, click the **Globe** button, and then click **Add New Variable**. 3. To create an environment variable for the **OpenAI** component, in the **OpenAI API Key** field, click the **Globe** button, and then click **Add New Variable**.
<Admonition type="tip"> <Admonition type="tip">
You can also create global variables in **Settings** > **Variables and Secrets**. You can also create global variables in **Settings** > **Variables and Secrets**.
@ -37,7 +37,7 @@ For more information on the starter flow, see [Basic prompting ](../starter-proj
You now have a `openai_api_key` global environment variable for your Langflow project. You now have a `openai_api_key` global environment variable for your Langflow project.
5. To view and manage your project's global environment variables, visit **Settings** > **Variables and Secrets**. 4. To view and manage your project's global environment variables, visit **Settings** > **Variables and Secrets**.
For more on variables in HuggingFace Spaces, see [Managing Secrets](https://huggingface.co/docs/hub/spaces-overview#managing-secrets). For more on variables in HuggingFace Spaces, see [Managing Secrets](https://huggingface.co/docs/hub/spaces-overview#managing-secrets).