You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: content/providers/04-adapters/01-langchain.mdx
+4-4
Original file line number
Diff line number
Diff line change
@@ -13,12 +13,12 @@ However, LangChain does not provide a way to easily build UIs or a standard way
13
13
14
14
Here is a basic example that uses both the AI SDK and LangChain together with the [Next.js](https://nextjs.org/docs) App Router.
15
15
16
-
The AI SDK [`LangChainAdapter`](/docs/reference/stream-helpers/langchain-adapter) uses the result from [LangChain ExpressionLanguage streaming](https://js.langchain.com/docs/expression_language/streaming) to pipe text to the client.
17
-
`LangChainAdapter.toDataStreamResponse()` is compatible with the LangChain Expression Language `.stream()` function response.
16
+
The [`@ai-sdk/langchain` package](/docs/reference/stream-helpers/langchain-adapter) uses the result from [LangChain ExpressionLanguage streaming](https://js.langchain.com/docs/expression_language/streaming) to pipe text to the client.
17
+
`toDataStreamResponse()` is compatible with the LangChain Expression Language `.stream()` function response.
0 commit comments