Cillers Documentation
  • Introduction
  • PREREQUISITES
  • Hardware And Operating System
  • Polytope
    • Installation For MacOS Users
    • Installation For Windows Users
    • Installation For Linux Users
  • INTEGRATIONS
    • Couchbase Capella
    • Kong Konnect
    • Opper AI
  • CILLERS SYSTEM DEMO TEMPLATES
    • Kong AI + API Gateway Hackathon
Powered by GitBook
On this page
  1. INTEGRATIONS

Opper AI

Setting Up An LLM Access Platform With $10 Credits Per Month

PreviousKong KonnectNextKong AI + API Gateway Hackathon

Last updated 2 months ago

Go to https://opper.ai/ and sign up for a free account.

Click on "Settings" in the bottom of the left sidebar. Click "API Keys" in the main section. Click "Create API Key" in the top right corner.

Store the API key in your Polytope vault by running the following command in your system project directory.

pt secret set opper-api-key YOUR_OPPER_API_KEY

Using Opper AI

We use Opper AI for LLM response generation and knowledge base integration. The response generation follows a pattern:

def bake_response(messages):
    response, _ = opper.call(
        name="generate_response",
        instructions="Generate a helpful, friendly but brief response to the user's message in the conversation.",
        input={"messages": messages},
        output_type=str,
    )
    return response

Learn more about the Opper SDK on GitHub and in the official documentation.