B
Loading BleuJS
Please wait while we prepare your experience...
Please wait while we prepare your experience...
Cloud HTTP API, terminal CLI, and Python SDK for chat, generate, and embed. Add ML or quantum only if you need them.
Examples here match the bleu-js package on PyPI, currently v1.5.0.
Bleu.js is a client and gateway story: you install bleu-js, call chat, generate, and embed from the CLI or Python, and optionally wire your own predictor for binary-style predictions with confidence when your backend is available.
pip install "bleu-js[quantum]").pip install bleu-js
bleu version
bleu config set api-key <your-api-key>
bleu chat "Hello, world!"
from bleujs.api_client import BleuAPIClient
client = BleuAPIClient(api_key="your-api-key")
response = client.chat([{"role": "user", "content": "Hello!"}])
print(response.content)It fits when you want:
pip install to a working API call.Read the documentation, the API overview, and the GitHub repository. Tutorials live under Learn.
Bleu.js is open source. Issues and PRs welcome on GitHub.