@tpmjs/tools-redis
v0.1.0
Published
Redis tools for AI agents
Readme
@tpmjs/tools-redis
Redis tools for AI agents.
Installation
npm install @tpmjs/tools-redisUsage
import { exampleRedis } from '@tpmjs/tools-redis';
// Use with Vercel AI SDK
import { generateText } from 'ai';
const result = await generateText({
model: yourModel,
tools: {
exampleRedis,
},
prompt: 'Your prompt here',
});Tools
exampleRedis
Example redis tool that demonstrates the basic structure.
Parameters:
message(string, required): A message to process
Environment Variables
None required for the example tool.
License
MIT
