0.1.1 • Published 6 months ago
@liquidmetal-ai/lm-raindrop-integrations v0.1.1
LiquidMetal Raindrop TypeScript Integrations
This package provides integrations between LiquidMetal's Raindrop API and popular TypeScript frameworks and tools.
Installation
npm install @liquidmetal-ai/lm-raindrop-integrationsFeatures
LangChain SmartBucket Retriever
A retriever for LangChain that uses the SmartBucket API to perform semantic search across your saved documents.
import { LangchainSmartBucketRetriever } from '@liquidmetal-ai/lm-raindrop-integrations';
// Using API key from environment variable RAINDROP_API_KEY
const retriever = new LangchainSmartBucketRetriever({
bucketName: "my-bucket"
});
// Or with explicit API key
const retriever = new LangchainSmartBucketRetriever({
bucketName: "my-bucket",
apiKey: "your-api-key"
});
// Get relevant documents
const documents = await retriever.invoke("your query");Requirements
- Node.js 16+
- An API key for LiquidMetal's Raindrop service. You can obtain one by signing up at raindrop.run
License
MIT
0.1.1
6 months ago