{% include 'parts/begin.html' %}

API Panel

Warning this is a very early prototype of NovaAI. Do not use it in production. You have been warned.

Python

Endpoint

To use NovaAI in your code, simply set the endpoint of NovaAI. It's compitable with ClosedAI's library.

import openai as novaai
        
novaai.api_base = 'https://api.nova-oss.com/v1'
Info: The reason we're using as novaai is that we might add our own package soon. That way, you'll only have to delete two words and install our package to migrate. Stay tuned!

API Key

The API key is something like a password. So keep it safe. Don't share it with anyone!

novaai.api_key = 'nv-...'

curl

curl https://api.nova-oss.com/v1/chat/completions \
        -H "Content-Type: application/json" \
        -H "Authorization: Bearer nv-..." \
        -d '{
          "model": "gpt-3.5-turbo",
          "messages": [{"role": "user", "content": "Whats a wormhole?"}]
        }'

Unofficial front-ends (Better ChatGPT, ...)

Keep in mind not to violate ClosedAI's terms of service, or it'll break their hearts :( (and maybe write you a C&D).

Anyways, set the API endpoint to https://api.nova-oss.com/v1 and don't forget to add your NovaAI API key, too.

Warning: Only use front-ends you trust. Malicious websites could steal your API key!

Documentation

Official ClosedAI documentation

{% include 'parts/end.html' %}