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?