BREVIAN SDKs
Leverage BREVIAN's API to its fullest with our tailored JavaScript and Python SDKs, crafted for superior user experiences and fluid integration.
Official libraries
Python
Python is a programming language that lets you work quickly and integrate systems more effectively.
Node.js (Coming Soon)
Node.js® is an open-source, cross-platform JavaScript runtime environment.
Always keep your token safe and disable it if you suspect it has been compromised.
Python
Here's how to add the token to the request header using cURL:
Install the Python SDK
pip install brevian
Initalize the client
from brevian.client import BrevianApi
client = BrevianApi(
token="{token}",
base_url="https://chat.brevian.ai/api/v1/",
)