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
6 changes: 3 additions & 3 deletions src/langsmith/cost-tracking.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ The approach you use will depend on on what you're tracking and how your model p

| Method | Run type: LLM | Run type: Other |
|--------|---------------|-----------------|
| **Automatically** | <ul><li>Calling LLMs with [LangChain](/oss/python/langchain/overview)</li><li>Tracing LLM calls to OpenAI, Anthropic or models that follow an OpenAI-compliant format with `@traceable`</li><li> Using LangSmith wrappers for [OpenAI](/langsmith/trace-openai) or [Anthropic](/langsmith/trace-anthropic)</li><li>For other model providers, read the [token and cost information guide](/langsmith/log-llm-trace#provide-token-and-cost-information)</li></ul> | Not applicable. |
| **Automatically** | <ul><li>Calling LLMs with [LangChain](/oss/langchain/overview)</li><li>Tracing LLM calls to OpenAI, Anthropic or models that follow an OpenAI-compliant format with `@traceable`</li><li> Using LangSmith wrappers for [OpenAI](/langsmith/trace-openai) or [Anthropic](/langsmith/trace-anthropic)</li><li>For other model providers, read the [token and cost information guide](/langsmith/log-llm-trace#provide-token-and-cost-information)</li></ul> | Not applicable. |
| **Manually** | If LLM call costs are non-linear (eg. follow a custom cost function) | Send costs for any run types, e.g. tool calls, retrieval steps |


Expand All @@ -115,7 +115,7 @@ To compute cost automatically from token usage, you need to provide **token coun
Follow the instructions below if you’re using model providers whose responses don’t follow the same patterns as one of OpenAI or Anthropic.

These steps are **only required** if you are *not*:
- Calling LLMs with [LangChain](/oss/python/langchain/overview)
- Calling LLMs with [LangChain](/oss/langchain/overview)
- Using `@traceable` to trace LLM calls to OpenAI, Anthropic or models that follow an OpenAI-compliant format
- Using LangSmith wrappers for [OpenAI](/langsmith/trace-openai) or [Anthropic](/langsmith/trace-anthropic).
</Note>
Expand Down Expand Up @@ -421,7 +421,7 @@ Updates to the model pricing map are not reflected in the costs for traces alrea
/>
<img
className="hidden dark:block"
src="/langsmith/images/new-price-map-entry-dark.png"
src="/langsmith/images/new-price-map-entry.png"
alt="New price map entry interface"
/>

Expand Down
4 changes: 2 additions & 2 deletions src/oss/javascript/integrations/providers/all_providers.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -622,7 +622,7 @@ Browse the complete collection of integrations available for JavaScript/TypeScri

<Card
title="Google Generative AI"
href="/oss/integrations/text_embedding/google_generativeai"
href="/oss/integrations/text_embedding/google_generative_ai"
icon="google"
>
Google's embedding models for text representation.
Expand Down Expand Up @@ -1627,7 +1627,7 @@ Browse the complete collection of integrations available for JavaScript/TypeScri

<Card
title="Gmail"
href="/oss/integrations/tools/gmail"
href="/oss/integrations/tools/google_gmail"
icon="google"
>
Read and send emails through Gmail API.
Expand Down
2 changes: 1 addition & 1 deletion src/oss/javascript/integrations/text_embedding/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -439,7 +439,7 @@ In production, you would typically use a more robust persistent store, such as a
<Card
title="Google Generative AI"
icon="link"
href="/oss/integrations/text_embedding/google_generativeai"
href="/oss/integrations/text_embedding/google_generative_ai"
arrow="true"
cta="View guide"
/>
Expand Down
2 changes: 1 addition & 1 deletion src/oss/javascript/integrations/tools/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ The following platforms provide access to multiple tools and services through a
<Card
title="Gmail Tool"
icon="link"
href="/oss/integrations/tools/gmail"
href="/oss/integrations/tools/google_gmail"
arrow="true"
cta="View guide"
/>
Expand Down
2 changes: 1 addition & 1 deletion src/oss/python/integrations/chat/groq.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ description: Get started using Groq [chat models](/oss/langchain/models) in Lang
---

<Warning>
This page makes reference to [Groq](https://console.groq.com/docs/overview), an AI hardware and software company. For information on how to use Grok models (provided by [xAI](https://docs.x.ai/docs/overview)), see the [xAI provider page](/oss/python/integrations/providers/xai).
This page makes reference to [Groq](https://console.groq.com/docs/overview), an AI hardware and software company. For information on how to use Grok models (provided by [xAI](https://docs.x.ai/docs/overview)), see the [xAI provider page](/oss/integrations/providers/xai).
</Warning>

<Tip>
Expand Down
2 changes: 1 addition & 1 deletion src/oss/python/integrations/chat/xai.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ description: Get started using xAI [chat models](/oss/langchain/models) in LangC
---

<Warning>
This page makes reference to Grok models provided by [xAI](https://docs.x.ai/docs/overview) - not to be confused with [Groq](https://console.groq.com/docs/overview), a separate AI hardware and software company. See the [Groq provider page](/oss/python/integrations/providers/groq).
This page makes reference to Grok models provided by [xAI](https://docs.x.ai/docs/overview) - not to be confused with [Groq](https://console.groq.com/docs/overview), a separate AI hardware and software company. See the [Groq provider page](/oss/integrations/providers/groq).
</Warning>

[xAI](https://console.x.ai/) offers an API to interact with Grok models.
Expand Down
8 changes: 4 additions & 4 deletions src/oss/python/integrations/providers/google.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -366,7 +366,7 @@ Integrations with various Google services beyond the core Cloud Platform.
### Vector stores

<Columns cols={1}>
<Card title="ScaNN (Local Index)" href="/oss/integrations/vectorstores/scann" cta="Get started" arrow>
<Card title="ScaNN (Local Index)" href="/oss/integrations/vectorstores/google_scann" cta="Get started" arrow>
ScaNN is a method for efficient vector similarity search at scale.
</Card>
</Columns>
Expand Down Expand Up @@ -411,7 +411,7 @@ Integrations with various Google services beyond the core Cloud Platform.
### MCP

<Columns cols={1}>
<Card title="MCP Toolbox" href="/oss/integrations/tools/toolbox" cta="Get started" arrow>
<Card title="MCP Toolbox" href="/oss/integrations/tools/mcp_toolbox" cta="Get started" arrow>
Simple and efficient way to connect to your databases, including those on Google Cloud like Cloud SQL and AlloyDB
</Card>
</Columns>
Expand All @@ -421,15 +421,15 @@ Integrations with various Google services beyond the core Cloud Platform.
Collections of tools for specific Google services.

<Columns cols={2}>
<Card title="Gmail" icon="envelope" href="/oss/integrations/tools/gmail" cta="Get started" arrow>
<Card title="Gmail" icon="envelope" href="/oss/integrations/tools/google_gmail" cta="Get started" arrow>
Toolkit to create, get, search, and send emails using the Gmail API.
</Card>
</Columns>

### Chat loaders

<Columns cols={2}>
<Card title="Gmail" icon="envelope" href="/oss/integrations/chat_loaders/gmail" cta="Get started" arrow>
<Card title="Gmail" icon="envelope" href="/oss/integrations/chat_loaders/google_gmail" cta="Get started" arrow>
Load chat history from Gmail threads.
</Card>
</Columns>
Expand Down
2 changes: 1 addition & 1 deletion src/oss/python/integrations/providers/groq.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ title: Groq
---

<Warning>
This page makes reference to [Groq](https://console.groq.com/docs/overview), an AI hardware and software company. For information on how to use Grok models (provided by [xAI](https://docs.x.ai/docs/overview)), see the [xAI provider page](/oss/python/integrations/providers/xai).
This page makes reference to [Groq](https://console.groq.com/docs/overview), an AI hardware and software company. For information on how to use Grok models (provided by [xAI](https://docs.x.ai/docs/overview)), see the [xAI provider page](/oss/integrations/providers/xai).
</Warning>

>[Groq](https://groq.com) developed the world's first Language Processing Unit™, or `LPU`.
Expand Down
2 changes: 1 addition & 1 deletion src/oss/python/integrations/providers/toolbox.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -28,4 +28,4 @@ uv add toolbox-langchain

For a complete, step-by-step guide on how to create, configure, and use MCP Toolbox with your agents, please refer to our detailed Jupyter notebook tutorial.

**[➡️ View the full tutorial here](/oss/integrations/tools/toolbox)**.
**[➡️ View the full tutorial here](/oss/integrations/tools/mcp_toolbox)**.
2 changes: 1 addition & 1 deletion src/oss/python/integrations/providers/xai.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ title: xAI
---

<Warning>
This page makes reference to Grok models provided by [xAI](https://docs.x.ai/docs/overview) - not to be confused with [Groq](https://console.groq.com/docs/overview), a separate AI hardware and software company. See the [Groq provider page](/oss/python/integrations/providers/groq).
This page makes reference to Grok models provided by [xAI](https://docs.x.ai/docs/overview) - not to be confused with [Groq](https://console.groq.com/docs/overview), a separate AI hardware and software company. See the [Groq provider page](/oss/integrations/providers/groq).
</Warning>

[xAI](https://console.x.ai) offers an API to interact with Grok models. This example goes over how to use LangChain to interact with xAI models.
Expand Down
8 changes: 4 additions & 4 deletions src/oss/python/integrations/tools/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ The following table shows tools that can be used to automate tasks in productivi
|-------------|---------|
| [Github Toolkit](/oss/integrations/tools/github) | Free |
| [Gitlab Toolkit](/oss/integrations/tools/gitlab) | Free for personal project |
| [Gmail Toolkit](/oss/integrations/tools/gmail) | Free, with limit of 250 quota units per user per second |
| [Gmail Toolkit](/oss/integrations/tools/google_gmail) | Free, with limit of 250 quota units per user per second |
| [Infobip Tool](/oss/integrations/tools/infobip) | Free trial, with variable pricing after |
| [Jira Toolkit](/oss/integrations/tools/jira) | Free, with [rate limits](https://developer.atlassian.com/cloud/jira/platform/rate-limiting/) |
| [Office365 Toolkit](/oss/integrations/tools/office365) | Free with Office365, includes [rate limits](https://learn.microsoft.com/en-us/graph/throttling-limits) |
Expand Down Expand Up @@ -72,7 +72,7 @@ The following table shows tools that can be used to automate tasks in databases:
| Tool/Toolkit | Allowed Operations |
|-------------|-------------------|
| [Cassandra Database Toolkit](/oss/integrations/tools/cassandra_database) | SELECT and schema introspection |
| [MCP Toolbox](/oss/integrations/tools/toolbox) | Any SQL operation |
| [MCP Toolbox](/oss/integrations/tools/mcp_toolbox) | Any SQL operation |
| [SQLDatabase Toolkit](/oss/integrations/tools/sql_database) | Any SQL operation |
| [Spark SQL Toolkit](/oss/integrations/tools/spark_sql) | Any SQL operation |

Expand Down Expand Up @@ -142,7 +142,7 @@ The following platforms provide access to multiple tools and services through a
<Card title="FMP Data" icon="link" href="/oss/integrations/tools/fmp-data" arrow="true" cta="View guide" />
<Card title="Github Toolkit" icon="link" href="/oss/integrations/tools/github" arrow="true" cta="View guide" />
<Card title="Gitlab Toolkit" icon="link" href="/oss/integrations/tools/gitlab" arrow="true" cta="View guide" />
<Card title="Gmail Toolkit" icon="link" href="/oss/integrations/tools/gmail" arrow="true" cta="View guide" />
<Card title="Gmail Toolkit" icon="link" href="/oss/integrations/tools/google_gmail" arrow="true" cta="View guide" />
<Card title="GOAT" icon="link" href="/oss/integrations/tools/goat" arrow="true" cta="View guide" />
<Card title="Privy" icon="link" href="/oss/integrations/tools/privy" arrow="true" cta="View guide" />
<Card title="Golden Query" icon="link" href="/oss/integrations/tools/golden_query" arrow="true" cta="View guide" />
Expand Down Expand Up @@ -224,7 +224,7 @@ The following platforms provide access to multiple tools and services through a
<Card title="Tavily Extract" icon="link" href="/oss/integrations/tools/tavily_extract" arrow="true" cta="View guide" />
<Card title="Tavily Search" icon="link" href="/oss/integrations/tools/tavily_search" arrow="true" cta="View guide" />
<Card title="Tilores" icon="link" href="/oss/integrations/tools/tilores" arrow="true" cta="View guide" />
<Card title="MCP Toolbox" icon="link" href="/oss/integrations/tools/toolbox" arrow="true" cta="View guide" />
<Card title="MCP Toolbox" icon="link" href="/oss/integrations/tools/mcp_toolbox" arrow="true" cta="View guide" />
<Card title="Twilio" icon="link" href="/oss/integrations/tools/twilio" arrow="true" cta="View guide" />
<Card title="Upstage" icon="link" href="/oss/integrations/tools/upstage_groundedness_check" arrow="true" cta="View guide" />
<Card title="Valthera" icon="link" href="/oss/integrations/tools/valthera" arrow="true" cta="View guide" />
Expand Down
2 changes: 1 addition & 1 deletion src/oss/python/integrations/vectorstores/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -750,7 +750,7 @@ vector_store = QdrantVectorStore(
<Card title="Relyt" icon="link" href="/oss/integrations/vectorstores/relyt" arrow="true" cta="View guide"/>
<Card title="Rockset" icon="link" href="/oss/integrations/vectorstores/rockset" arrow="true" cta="View guide"/>
<Card title="SAP HANA Cloud Vector Engine" icon="link" href="/oss/integrations/vectorstores/sap_hanavector" arrow="true" cta="View guide"/>
<Card title="ScaNN" icon="link" href="/oss/integrations/vectorstores/scann" arrow="true" cta="View guide"/>
<Card title="ScaNN" icon="link" href="/oss/integrations/vectorstores/google_scann" arrow="true" cta="View guide"/>
<Card title="SemaDB" icon="link" href="/oss/integrations/vectorstores/semadb" arrow="true" cta="View guide"/>
<Card title="SingleStore" icon="link" href="/oss/integrations/vectorstores/singlestore" arrow="true" cta="View guide"/>
<Card title="scikit-learn" icon="link" href="/oss/integrations/vectorstores/sklearn" arrow="true" cta="View guide"/>
Expand Down