TypeScript · LangChain
Claix tools for LangChain.js
Endpoint
SDK
npm install claix-ai @langchain/core zodcreateClaixLangChainTools returns DynamicStructuredTool instances: extract, ask a document or a space, add or remove a document, and replace content.
1. Usage
import { ClaixClient } from "claix-ai";
import { createClaixLangChainTools } from "claix-ai/langchain";
const tools = await createClaixLangChainTools(new ClaixClient());
// claix_extract, claix_document_context, claix_space_context,
// claix_add_to_space, claix_remove_from_space, claix_replace_document