Skip to content

Commit 7728a84

Browse files
hwchase17agola11
andauthored
Harrison/tracing docs (#806)
Co-authored-by: Ankush Gola <[email protected]>
1 parent f3da4dc commit 7728a84

File tree

4 files changed

+17
-4
lines changed

4 files changed

+17
-4
lines changed

docs/index.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -177,5 +177,6 @@ Additional collection of resources we think may be useful as you develop your ap
177177
./glossary.md
178178
./gallery.rst
179179
./deployments.md
180+
./tracing.md
180181
Discord <https://discord.gg/6adMQxSpJS>
181182
Production Support <https://forms.gle/57d8AmXBYp8PP8tZA>

docs/tracing.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,11 @@
1-
# LangChain Tracing Instructions
1+
# Tracing
2+
3+
By enabling tracing in your LangChain runs, you’ll be able to more effectively visualize, step through, and debug your chains and agents.
24

35
First, you should install tracing and set up your environment properly.
46
You can use either a locally hosted version of this (uses Docker) or a cloud hosted version (in closed alpha).
7+
If you're interested in using the hosted platform, please fill out the form [here](https://forms.gle/tRCEMSeopZf6TE3b6).
8+
59

610
- [Locally Hosted Setup](./tracing/local_installation.md)
711
- [Cloud Hosted Setup](./tracing/hosted_installation.md)

docs/tracing/agent_with_tracing.ipynb

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,13 @@
11
{
22
"cells": [
3+
{
4+
"cell_type": "markdown",
5+
"id": "5371a9bb",
6+
"metadata": {},
7+
"source": [
8+
"# Tracing Walkthrough"
9+
]
10+
},
311
{
412
"cell_type": "code",
513
"execution_count": 1,
@@ -19,7 +27,7 @@
1927
"# os.environ[\"LANGCHAIN_SESSION\"] = \"my_session\" \n",
2028
"\n",
2129
"## Better to set this environment variable in the terminal\n",
22-
"# Uncomment this if using hosted version. Replace \"my_api_key\" with your actual API Key.\n",
30+
"## Uncomment this if using hosted version. Replace \"my_api_key\" with your actual API Key.\n",
2331
"\n",
2432
"# os.environ[\"LANGCHAIN_API_KEY\"] = \"my_api_key\" \n",
2533
"\n",
@@ -78,7 +86,7 @@
7886
{
7987
"cell_type": "code",
8088
"execution_count": null,
81-
"id": "0bf0304c",
89+
"id": "25addd7f",
8290
"metadata": {},
8391
"outputs": [],
8492
"source": []

docs/tracing/hosted_installation.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Cloud Hosted Setup
22

3-
We offer a hosted version of tracing at https://langchainplus.vercel.app/. You can use this to view traces from your run without having to run the server locally.
3+
We offer a hosted version of tracing at [langchainplus.vercel.app](https://langchainplus.vercel.app/). You can use this to view traces from your run without having to run the server locally.
44

55
Note: we are currently only offering this to a limited number of users. The hosted platform is VERY alpha, in active development, and data might be dropped at any time. Don't depend on data being persisted in the system long term and don't log traces that may contain sensitive information. If you're interested in using the hosted platform, please fill out the form [here](https://forms.gle/tRCEMSeopZf6TE3b6).
66

0 commit comments

Comments
 (0)