Skip to main content

Baichuan

Baichuan Inc. is a Chinese startup in the era of AGI, dedicated to addressing fundamental human needs: Efficiency, Health, and Happiness.

Installation and Setup​

Register and get an API key here.

LLMs​

See a usage example.

from langchain_community.llms import BaichuanLLM
API Reference:BaichuanLLM

Chat models​

See a usage example.

from langchain_community.chat_models import ChatBaichuan
API Reference:ChatBaichuan

Embedding models​

See a usage example.

from langchain_community.embeddings import BaichuanTextEmbeddings

Was this page helpful?


You can also leave detailed feedback on GitHub.