rybot SDK
The rybot SDK gives developers direct access to our AI assistant, letting you build lesson planning, translation, and education tools into your own platforms. Fully typed, fully async, and powered by the rybot API.
Version: @ryco.io/rybot-sdk@1.0.5
π¦ Installation
npm install @ryco.io/rybot-sdk
yarn add @ryco.io/rybot-sdk
π§βπ» Example Usage
Hereβs how to send a request using the SDK:
import { Configuration, ChatApi } from '@ryco.io/rybot-sdk';
const config = new Configuration({
basePath: 'https://api.ryco.io',
apiKey: 'YOUR_KEY',
});
const api = new ChatApi(config);
const res = await api.chat({
messages: [{ "role": "user", "content": "Create a 5th grade math quiz..." }],
model: "rybot-v1"
});
console.log(res.response);
π Features
- Built-in TypeScript types
- Auto-generated from OpenAPI spec
- Supports native fetch & async/await
- API key authentication support
π Changelog
View release notes and past versions:
β rybot SDK changelog