Skip to content

Inception

Inception provides advanced AI reasoning capabilities, focusing on code generation and technical documentation writing.

Supported Models

  • inception-v1 - Main Inception model version
  • inception-v1-lite - Lightweight version, faster response
  • inception-v1-pro - Professional version, more powerful

Configuration

Basic Configuration

Configure in config.yaml or ~/.bytebuddy/config.yaml:

yaml
models:
  - name: "inception-v1"
    provider: "inception"
    model: "inception-v1"
    apiKey: "${INCEPTION_API_KEY}"
    roles: ["chat", "edit"]
    defaultCompletionOptions:
      temperature: 0.5
      maxTokens: 8192

Multi-Model Configuration

yaml
models:
  - name: "inception-pro"
    provider: "inception"
    model: "inception-v1-pro"
    apiKey: "${INCEPTION_API_KEY}"
    roles: ["chat", "edit"]
    defaultCompletionOptions:
      temperature: 0.3
      maxTokens: 16384
      topP: 0.95

  - name: "inception-lite"
    provider: "inception"
    model: "inception-v1-lite"
    apiKey: "${INCEPTION_API_KEY}"
    roles: ["autocomplete"]
    defaultCompletionOptions:
      temperature: 0.7
      maxTokens: 2048

Configuration Fields

Required Fields

  • name: Unique identifier for the model configuration
  • provider: Set to "inception"
  • model: Model name
  • apiKey: Inception API key

Optional Fields

  • roles: Model roles [chat, edit, apply, autocomplete]
  • defaultCompletionOptions:
    • temperature: Control randomness (0-2)
    • maxTokens: Maximum tokens
    • topP: Nucleus sampling parameter
    • frequencyPenalty: Frequency penalty
    • presencePenalty: Presence penalty

Environment Variables

bash
# ~/.bashrc or ~/.zshrc
export INCEPTION_API_KEY="your-inception-api-key"

Getting API Key

  1. Visit Inception Website
  2. Register and log in to account
  3. Navigate to API keys page
  4. Generate new API key
  5. Save the key to environment variable

Use Case Configurations

Code Generation

yaml
models:
  - name: "code-assistant"
    provider: "inception"
    model: "inception-v1"
    apiKey: "${INCEPTION_API_KEY}"
    roles: ["chat", "edit"]
    defaultCompletionOptions:
      temperature: 0.2
      maxTokens: 4096

Documentation Generation

yaml
models:
  - name: "doc-generator"
    provider: "inception"
    model: "inception-v1"
    apiKey: "${INCEPTION_API_KEY}"
    roles: ["chat"]
    defaultCompletionOptions:
      temperature: 0.4
      maxTokens: 4096

Code Completion

yaml
models:
  - name: "autocomplete"
    provider: "inception"
    model: "inception-v1-lite"
    apiKey: "${INCEPTION_API_KEY}"
    roles: ["autocomplete"]
    defaultCompletionOptions:
      temperature: 0.1
      maxTokens: 256

Programming Language Support

Inception supports code generation for multiple programming languages:

  • Python
  • JavaScript/TypeScript
  • Java
  • C++/C
  • Go
  • Rust
  • Swift
  • Kotlin
  • PHP
  • Ruby
  • SQL
  • Shell/Bash

Troubleshooting

Common Errors

  1. 401 Unauthorized: Check if API key is correct
  2. 429 Too Many Requests: Rate limit reached, wait and retry
  3. Model Not Available: Confirm your subscription plan supports the model

Debugging Steps

  1. Verify API key format and validity
  2. Check rate limits and quotas
  3. Confirm model name spelling
  4. View error logs for details

Rate Limits

Different rate limits based on subscription plan:

  • Free plan: 10 requests per minute
  • Basic plan: 50 requests per minute
  • Professional plan: 200 requests per minute
  • Enterprise plan: Custom limits

Best Practices

1. Security

  • Use environment variables to store API keys
  • Rotate API keys regularly
  • Monitor unusual usage

2. Performance Optimization

  • Use low temperature for code tasks (0.2-0.3)
  • Set reasonable maxTokens limits
  • Choose appropriate model version for the task

3. Cost Control

  • Monitor API usage
  • Use lite version for simple tasks
  • Use pro version for complex tasks

4. Code Quality

  • Use low temperature for code consistency
  • Adjust parameters for different programming languages
  • Regularly review generated code quality