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: 8192Multi-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: 2048Configuration 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 tokenstopP: Nucleus sampling parameterfrequencyPenalty: Frequency penaltypresencePenalty: Presence penalty
Environment Variables
bash
# ~/.bashrc or ~/.zshrc
export INCEPTION_API_KEY="your-inception-api-key"Getting API Key
- Visit Inception Website
- Register and log in to account
- Navigate to API keys page
- Generate new API key
- 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: 4096Documentation Generation
yaml
models:
- name: "doc-generator"
provider: "inception"
model: "inception-v1"
apiKey: "${INCEPTION_API_KEY}"
roles: ["chat"]
defaultCompletionOptions:
temperature: 0.4
maxTokens: 4096Code Completion
yaml
models:
- name: "autocomplete"
provider: "inception"
model: "inception-v1-lite"
apiKey: "${INCEPTION_API_KEY}"
roles: ["autocomplete"]
defaultCompletionOptions:
temperature: 0.1
maxTokens: 256Programming 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
- 401 Unauthorized: Check if API key is correct
- 429 Too Many Requests: Rate limit reached, wait and retry
- Model Not Available: Confirm your subscription plan supports the model
Debugging Steps
- Verify API key format and validity
- Check rate limits and quotas
- Confirm model name spelling
- 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