[ chion.dev · API STATUS · OPERATIONAL API · 运行正常 ]

Build with Chion. Chion 构建

A developer-first foundation for AI applications. 开发者优先的 AI 底层。

~/projects/my-app
$ npm install @chion/sdk
added 1 package in 0.8s

$ chion init
 Project initialized
 Begin from zero. Cleanly.
Get started 开始 API Reference API 文档
01

Three steps. One minute. 三步,一分钟搞定。

  1. 01

    Install the SDK 安装 SDK

    $ npm install '@chion/sdk'
  2. 02

    Initialize the client 初始化客户端

    import { Chion } from '@chion/sdk'
    
    const chion = new Chion({
      apiKey: process.env.CHION_API_KEY,
    })
  3. 03

    Make your first call 跑第一次调用

    const result = await chion.complete({
      prompt: 'Hello, Chion.',
    })
    
    console.log(result.text)
02

Everything you need. 该有的都有。

{ }

API Reference API 文档

Complete REST & SDK documentation. Endpoints, parameters, response shapes.

REST 和 SDK 文档,一应俱全——端点、参数、返回结构,一个不少。

Browse浏览
[ ]

SDK Guides SDK 指南

TypeScript, Python, Go. Idiomatic patterns and production examples.

TypeScript、Python、Go——地道的写法,生产级的例子。

Read阅读
</>

Examples 示例

Open-source reference apps. Clone, run, learn the shape of a Chion app.

开源参考项目。克隆下来跑一遍,Chion 应用长什么样,自己看。

Explore探索
~/

CLI 命令行

One command, zero config. chion init & you're shipping.

一条命令,零配置。chion init —— 然后就发车。

Install安装
·

Changelog 更新日志

Every release, every breaking change, dated and signed.

每次发版,每次 breaking change,有日期、有署名。

Subscribe订阅
/?

Support 支持

Discord for the community. Email for the urgent.

社区上 Discord,要紧的事发邮件。

Get help求助