Skip to content

fix numbering #647

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jan 25, 2025
Merged
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
Original file line number Diff line number Diff line change
Expand Up @@ -22,19 +22,19 @@ If you are using LangChain modules within LangGraph, you only need to set a few

This guide will walk through a basic example. For more detailed information on configuration, see the [Trace With LangChain](./trace_with_langchain) guide.

### 0. Installation
### 1. Installation

Install the LangGraph library and the OpenAI integration for Python and JS (we use the OpenAI integration for the code snippets below).

For a full list of packages available, see the [LangChain Python docs](https://python.langchain.com/docs/integrations/platforms/) and [LangChain JS docs](https://js.langchain.com/docs/integrations/platforms/).

<LangGraphInstallationCodeTabs />

### 1. Configure your environment
### 2. Configure your environment

<ConfigureLangChainEnvironmentCodeTabs />

### 2. Log a trace
### 3. Log a trace

Once you've set up your environment, you can call LangChain runnables as normal.
LangSmith will infer the proper tracing config:
Expand All @@ -53,17 +53,17 @@ If you do so, LangSmith will automatically nest traces from those wrapped method

Here's an example. You can also see this page for more information.

### 0. Installation
### 1. Installation

Install the LangGraph library and the OpenAI SDK for Python and JS (we use the OpenAI integration for the code snippets below).

<LangGraphWithoutLangChainInstallationCodeTabs />

### 1. Configure your environment
### 2. Configure your environment

<ConfigureLangChainEnvironmentCodeTabs />

### 2. Log a trace
### 3. Log a trace

Once you've set up your environment, [wrap or decorate the custom functions/SDKs](./annotate_code#use-traceable--traceable) you want to trace.
LangSmith will then infer the proper tracing config:
Expand Down
Loading