Skip to content
Open
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
18 changes: 18 additions & 0 deletions .devx/1-build-an-agent/secrets.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,24 @@ Manage your API Keys from the [LangSmith Settings](https://smith.langchain.com/s

</details>

<details>
<summary>⚠️ Outside the US?</summary>

LangSmith has regional endpoints. Edit `variables.env` and set both `LANGSMITH_ENDPOINT` and `LANGCHAIN_ENDPOINT` to the endpoint for your region:

- **GCP US (default):** `https://api.smith.langchain.com`
- **GCP EU:** `https://eu.api.smith.langchain.com`
- **GCP APAC:** `https://apac.api.smith.langchain.com`
- **AWS US:** `https://aws.api.smith.langchain.com`

After editing, reload the file in your terminal before starting the agent:

```bash
source /project/variables.env
```

</details>

---

Once your secrets are configured, continue to [Why Agents?](why_agents.md) to learn about the problem agents solve and when to use them.
6 changes: 6 additions & 0 deletions .devx/2-agentic-rag/running.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,12 @@ While other frameworks may provide different ways to deploy agents, the core ide

To get started, start a new <button onclick="openNewTerminal();"><i class="fas fa-terminal"></i> terminal</button> here in Jupyter.

Load your environment variables (re-run this any time you edit `variables.env`):

```bash
source /project/variables.env
```

Change to the `code/2-agentic-rag` directory:

```bash
Expand Down
18 changes: 18 additions & 0 deletions .devx/2-agentic-rag/secrets.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,24 @@ Manage your API Keys from the [LangSmith Settings](https://smith.langchain.com/s

</details>

<details>
<summary>⚠️ Outside the US?</summary>

LangSmith has regional endpoints. Edit `variables.env` and set both `LANGSMITH_ENDPOINT` and `LANGCHAIN_ENDPOINT` to the endpoint for your region:

- **GCP US (default):** `https://api.smith.langchain.com`
- **GCP EU:** `https://eu.api.smith.langchain.com`
- **GCP APAC:** `https://apac.api.smith.langchain.com`
- **AWS US:** `https://aws.api.smith.langchain.com`

After editing, reload the file in your terminal before starting the agent:

```bash
source /project/variables.env
```

</details>

---

Once you're ready, continue to the [Introduction to RAG](intro.md) section to get started with agentic RAG.
16 changes: 16 additions & 0 deletions .devx/3-agent-evaluation/secrets.md
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,22 @@ Manage your API Keys from the [LangSmith Settings](https://smith.langchain.com/s

</details>

<details>
<summary>⚠️ Outside the US?</summary>

LangSmith has regional endpoints. Edit `variables.env` and set both `LANGSMITH_ENDPOINT` and `LANGCHAIN_ENDPOINT` to the endpoint for your region:

- **GCP US (default):** `https://api.smith.langchain.com`
- **GCP EU:** `https://eu.api.smith.langchain.com`
- **GCP APAC:** `https://apac.api.smith.langchain.com`
- **AWS US:** `https://aws.api.smith.langchain.com`

After editing, reload the file in your terminal before starting the agent:

```bash
source /project/variables.env
```

</details>

## Ready to Evaluate!
Expand Down
16 changes: 16 additions & 0 deletions .devx/4-agent-customization/secrets.md
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,22 @@ Manage your API Keys from the [LangSmith Settings](https://smith.langchain.com/s

</details>

<details>
<summary>⚠️ Outside the US?</summary>

LangSmith has regional endpoints. Edit `variables.env` and set both `LANGSMITH_ENDPOINT` and `LANGCHAIN_ENDPOINT` to the endpoint for your region:

- **GCP US (default):** `https://api.smith.langchain.com`
- **GCP EU:** `https://eu.api.smith.langchain.com`
- **GCP APAC:** `https://apac.api.smith.langchain.com`
- **AWS US:** `https://aws.api.smith.langchain.com`

After editing, reload the file in your terminal before starting the agent:

```bash
source /project/variables.env
```

</details>

## Ready to Customize!
Expand Down
16 changes: 16 additions & 0 deletions .devx/5-deep-agents/secrets.md
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,22 @@ Manage your API Keys from the [LangSmith Settings](https://smith.langchain.com/s

</details>

<details>
<summary>⚠️ Outside the US?</summary>

LangSmith has regional endpoints. Edit `variables.env` and set both `LANGSMITH_ENDPOINT` and `LANGCHAIN_ENDPOINT` to the endpoint for your region:

- **GCP US (default):** `https://api.smith.langchain.com`
- **GCP EU:** `https://eu.api.smith.langchain.com`
- **GCP APAC:** `https://apac.api.smith.langchain.com`
- **AWS US:** `https://aws.api.smith.langchain.com`

After editing, reload the file in your terminal before starting the agent:

```bash
source /project/variables.env
```

</details>

## Ready to Go!
Expand Down
7 changes: 7 additions & 0 deletions variables.env
Original file line number Diff line number Diff line change
@@ -1,4 +1,11 @@
SHELL=/bin/bash
LANGSMITH_TRACING=true
# Set the endpoint for your region:
# GCP US (default): https://api.smith.langchain.com
# GCP EU: https://eu.api.smith.langchain.com
# GCP APAC: https://apac.api.smith.langchain.com
# AWS US: https://aws.api.smith.langchain.com
LANGSMITH_ENDPOINT=https://api.smith.langchain.com
# LANGCHAIN_ENDPOINT mirrors LANGSMITH_ENDPOINT for older langsmith client versions
LANGCHAIN_ENDPOINT=https://api.smith.langchain.com
LANGSMITH_PROJECT=nv-devx