Quickstart
Call the Inference API with any OpenAI-compatible SDK:
# Python
import os
from openai import OpenAI
client = OpenAI(base_url='https://api.growthnexusllc.com/v1',
api_key=os.environ['GNX_API_KEY'])
r = client.chat.completions.create(
model='gnx-llm-large',
messages=[{'role':'user','content':'Hello'}])
print(r.choices[0].message.content)Authentication
Create a scoped API key in the Customer Console and pass it as a Bearer token.
