Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file added src/langsmith/images/add-commit-tag-dark.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/langsmith/images/add-commit-tag-light.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/langsmith/images/create-a-prompt-dark.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/langsmith/images/create-a-prompt-light.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified src/langsmith/images/model-config-light.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/langsmith/images/set-input-start-dark.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/langsmith/images/set-input-start-light.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
329 changes: 218 additions & 111 deletions src/langsmith/prompt-engineering-quickstart.mdx

Large diffs are not rendered by default.

7 changes: 7 additions & 0 deletions src/snippets/langsmith/set-workspace-secrets.mdx
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
In the [LangSmith UI](https://smith.langchain.com) for your workspace, ensure that your OpenAI API key is set as a [workspace](/langsmith/administration-overview#workspace-secrets).

1. Navigate to <Icon icon="gear" /> **Settings** and then move to the **Secrets** tab.
1. On the **Workspace Secrets** page, select **Add secret** and enter the `OPENAI_API_KEY` and your API key as the **Value**.
1. Select **Save secret**.

<Note> When adding workspace secrets in the LangSmith UI, make sure the secret keys match the environment variable names expected by your model provider.</Note>