@ryco.io/rybot-sdk
v1.0.6
Published
## ๐ Installation
Readme
rybot-sdk
๐ Installation
npm install @ryco.io/rybot-sdk
# or
yarn add @ryco.io/rybot-sdk๐ฆ Usage
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);Current SDK version: 1.0.6
๐ Documentation
See the full API reference at rybot.ryco.io/docs
๐ Authentication
All requests require an API key.
Pass your key via the x-api-key header.
const config = new Configuration({
apiKey: 'your-api-key-here',
});๐ก Features
- ๐ Typed API requests and responses
- ๐ง Auto-generated from OpenAPI
- โก๏ธ Native async/await and fetch support
- ๐ Always stays in sync with API changes
๐งพ License
MIT
