yii-agent-sdk (0.2.0)
Installation
registry=npm install yii-agent-sdk@0.2.0"yii-agent-sdk": "0.2.0"About this package
yii-agent-sdk
TypeScript SDK for the yii-agent platform.
Install
bun add yii-agent-sdk
Usage
import { YiiAgentClient } from 'yii-agent-sdk'
const client = new YiiAgentClient({
serverUrl: 'https://your-server.com',
username: 'alice',
password: 'secret',
})
const { text, sessionId } = await client.chat('yii-agent', 'Hello!')
See USAGE.md for full API reference.
Dependencies
Development Dependencies
| ID | Version |
|---|---|
| @types/bun | ^1.3.9 |
| jsonrepair | ^3.12.0 |
| typescript | ^5 |
Details
Assets (1)
Versions (2)
View all
yii-agent-sdk-0.2.0.tgz
9.3 KiB