LangChain
Using Linkora with LangChain
Using LangChain
LangChain provides a standard interface for working with chat models. You can use Linkora with LangChain using the dedicated ChatLinkora integration packages. For more details on LangChain's model interface, see the LangChain Models documentation.
Resources:
- LangChain Python integration: langchain-linkora on PyPI
- LangChain JavaScript integration: @langchain/linkora on npm
import { ChatLinkora } from "@langchain/linkora";
const model = new ChatLinkora(
"anthropic/claude-sonnet-4.6",
{ temperature: 0.8 }
);
// Example usage
const response = await model.invoke([
{ role: "system", content: "You are a helpful assistant." },
{ role: "user", content: "Hello, how are you?" },
]);For full documentation (including streaming, tool calling, structured output, reasoning, multimodal inputs, provider routing, and more), see the LangChain integration guides:
