@liquidmetal-ai/lm-raindrop-integrations
v0.1.1
Published
TypeScript SDK for integrating LiquidMetal's Raindrop API with popular frameworks and tools
Readme
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
