OpenAI
OpenAI’s GPT models are among the most widely used language models available. Selu supports all GPT models accessible through the OpenAI API, including the latest GPT-4o variants.
Getting an API key
Section titled “Getting an API key”- Sign up or log in at platform.openai.com.
- Go to API Keys in your account settings.
- Click Create new secret key, name it “Selu”, and copy the key immediately.
Connecting to Selu
Section titled “Connecting to Selu”- Open the Selu dashboard and go to Settings → LLM Providers → OpenAI.
- Paste your API key. It will be encrypted at rest.
- Click Test Connection to confirm access.
- Save your settings.
Choosing a model
Section titled “Choosing a model”OpenAI’s flagship model. Fast, capable, and supports text and images. Recommended for most use cases.
A smaller, faster, and cheaper version of GPT-4o. Great for everyday tasks where you want quick responses at lower cost.
Optimized for reasoning and complex problem-solving. Best for math, coding, and multi-step analysis.
Select your model under Settings → LLM Providers → OpenAI → Model.
Configuration options
Section titled “Configuration options”| Setting | Description | Default |
|---|---|---|
| Max tokens | Maximum length of the agent’s response | 4096 |
| Temperature | Controls creativity vs. predictability (0.0–2.0) | 0.7 |
| Organization ID | Optional — if your key belongs to multiple orgs | — |
Adjust these under Settings → LLM Providers → OpenAI → Advanced.
Using an OpenAI-compatible API
Section titled “Using an OpenAI-compatible API”If you’re running a model server that exposes an OpenAI-compatible API (like LM Studio or vLLM), you can point Selu to it by changing the Base URL in the advanced settings:
http://your-server:8080/v1This works with any server that implements the OpenAI chat completions endpoint.
Troubleshooting
Section titled “Troubleshooting”- “Insufficient quota” — Check your billing settings at platform.openai.com/billing. You may need to add a payment method or increase your spending limit.
- Model not available — Some models require API access approval. Check your account’s model access page.
- Timeout errors — Long responses with high max token limits can sometimes time out. Try reducing the max tokens setting.