Back to blog
AI inline completions for BML/BMQL in CPQ DevKit™
CPQ DevKit™ for Oracle can provide AI-powered inline completions while you write BML/BMQL. This is designed for faster “type → accept → refine” workflows in large CPQ codebases.
1) Set your CPQ DevKit AI API key
In VS Code, open the Command Palette (Cmd/Ctrl+Shift+P) and run:
CPQ DevKit™: Set AI API Key
The key is stored in VS Code Secret Storage, so you don’t have to commit it anywhere.
2) Toggle AI completions on/off
Use:
CPQ DevKit™: Toggle AI Completions
AI completions only run for BML/BMQL languages (bml, bmlt, bmql).
3) Choose the model (optional)
In VS Code settings, set cpqdevkit.aiModel to one of:
Tips for better suggestions
- Write a short “anchor” token first (AI completions won’t trigger on blank/whitespace-only lines).
- Keep related logic close together—CPQ DevKit sends nearby context to produce more relevant completions.
- Treat suggestions like drafts: accept fast, then apply your team’s patterns and naming.
