Launch Express provides seamless integration with LangChain, allowing you to build powerful language model applications in your NextJS project. This guide will walk you through the process of setting up and using LangChain in your application.
.env
file.src/lib/ai/langchain.ts
, if you have selected the LangChain Provider via the CLI. This file initializes the OpenAI language model client.src/lib/ai/langchain.ts
file.
You can explore the available models on the Langchain Website.
See the Langchain documentation for more information on the available models and their usage.