Skip to main content

BaiChuan

Requisites

To use the BaiChuan models, you need to have a BaiChuan API key. You can get one by registering at BaiChuan's website.

Required credentials:

  • BAICHUAN_API_KEY: Your BaiChuan API key.

Supported Models:

All models provided by Baichuan has the following properties:

  • Function call: Not supported
  • Streaming: Supported

All models accept the following extra configs when generating texts:

  • temperature
  • top_p
  • top_k

BaiChuan2-turbo

  • Model schema id: baichuan/baichuan-2-turbo

Baichuan2-turbo-192k

  • Model schema id: baichuan/baichuan-2-turbo-192k