Client code
Last updated
Last updated
We provide client codes in both Python and Javascript.
Follow installation instructions in the repository for our Python Client or Javascript Client.
The chat completion API allows you to chat with a model fine-tuned to follow instructions.
python
javascript
curl
We allow users to provide a custom system prompt (see API reference). A convenient safe_mode
flag allow to force chat completion to be moderated against sensitive content (see Guardrailing).
The embeddings API allows you to embed sentences.
python
Here are some clients built by the community for various other languages: