Home#

This is the documentation for the Reka APIs.

Quick start#

First, install the Reka python package with pip install reka-api.

You can then use your API key to query the models:

import reka

# You can either set the API key as below, or use the
# environment variable export REKA_API_KEY="your-api-key"
reka.API_KEY = "your-api-key"


response = reka.chat("What is the capital of the UK?")

print(response["text"]) # The capital of the UK is London.