@rotavision/sdk
v0.1.0
Published
Official Node.js SDK for Rotavision AI Trust Infrastructure
Maintainers
Readme
@rotavision/sdk
Official Node.js SDK for Rotavision AI Trust Infrastructure.
Installation
npm install @rotavision/sdkQuick Start
import { Rotavision } from '@rotavision/sdk';
const client = new Rotavision({ apiKey: 'rv_...' });
// Analyze for bias (Vishwas)
const result = await client.vishwas.analyze({
text: 'Loan application response...',
demographics: ['caste', 'gender', 'region']
});
console.log(result.biasScore);
// Monitor AI output (Guardian)
const result = await client.guardian.monitor({
prompt: 'What is the RBI repo rate?',
response: 'The RBI repo rate is 6.5%...',
checks: ['hallucination', 'factuality']
});
console.log(result.status);
// Proxy through sovereign gateway (Sankalp)
const result = await client.sankalp.proxy({
provider: 'openai',
model: 'gpt-4',
messages: [{ role: 'user', content: '...' }],
compliance: { dataResidency: 'india', piiRedaction: true }
});Products
| Product | Description | |---------|-------------| | Vishwas | Trust, Fairness & Explainability | | Guardian | AI Reliability Monitoring | | Dastavez | Document AI + Browser Agents | | Sankalp | Sovereign AI Gateway | | Orchestrate | Multi-Agent Platform | | Gati | Fleet & Mobility Intelligence |
Documentation
Requirements
- Node.js 18+
- API key from Rotavision
License
Apache 2.0 - See LICENSE for details.
