Providers, models & retrieval
Impulse AI Assistant keeps knowledge retrieval and response generation strictly separate. Switching your chat model from OpenAI to Anthropic, Gemini, xAI, or a local Ollama server never orphans your indexed knowledge base, and every API credential is stored encrypted server-side using WHMCS’s native encryption primitives — never exposed to browsers, logs, or prompts.
1. Choose a retrieval backend
Section titled “1. Choose a retrieval backend”Every approved knowledge source is searched through one operator-selected retrieval backend, then locally revalidated against the Assistant’s trust ledger (source approval, visibility, locale, and SHA-256 content hash) before any passage reaches the model or becomes a citation.
| Backend | External accounts needed | Best for | Notes |
|---|---|---|---|
| Simple Local Retrieval | None | Solo operators, small-to-medium hosts, single-provider setups (Anthropic, Gemini, xAI, OpenAI, or Ollama) | Built-in weighted lexical (BM25-style) search directly over approved normalized documents in your Assistant database. Zero OpenAI Project ID and zero Qdrant server needed. |
| OpenAI Hosted Vector Stores | Dedicated OpenAI project + restricted project key | Hosts wanting hosted semantic vector search with minimal infrastructure | Binds to one validated proj_... identifier. Each active source owns an isolated vector store; project binding cannot change while remote resources remain. |
| Private Embeddings + Qdrant | Operator-managed embedding endpoint + Qdrant | Hosts requiring self-hosted semantic embeddings or strict data residency | Works with Ollama, vLLM, or custom OpenAI-compatible embedding endpoints. Loopback HTTP is permitted; remote endpoints require authenticated HTTPS. |

2. Connect response providers & models
Section titled “2. Connect response providers & models”Open Providers to configure one or more encrypted provider accounts independently. Each account must pass a live server-side connection test before activation.
1-Click Provider Quick Connect
Section titled “1-Click Provider Quick Connect”For fast setup with Anthropic, OpenAI, Google Gemini, or xAI, use the Quick connect your AI provider card at the top of Providers: choose a provider, paste one API key, leave Activate Simple Local Retrieval automatically checked, and click Connect, test & activate in 1 click. The module tests the credential live, stores it encrypted server-side, activates the recommended model, selects Simple Local Retrieval (when no remote vector resources exist), and releases the initial emergency pause in one step. Advanced multi-provider accounts (Azure OpenAI, Amazon Bedrock, Ollama, vLLM) remain available in the accordions below.
Supported response providers
Section titled “Supported response providers”- OpenAI: Fixed OpenAI Responses API endpoint with allowlisted GPT-5.6 family,
gpt-5.5, andgpt-5.4profiles. - Anthropic: Fixed Anthropic Messages API endpoint with Claude Sonnet 5, Opus 4.8 (with native adaptive thinking), Fable 5 (requires retention acknowledgement), and Haiku 4.5.
- xAI / Grok: Fixed xAI Responses API endpoint with Grok 4.3 and Grok 4.5.
- Google Gemini: Fixed Gemini OpenAI-compatible adapter with Flash, Flash-Lite, and Pro profiles.
- Azure OpenAI: Operator-scoped
*.openai.azure.com/openai/v1deployment endpoint. - Amazon Bedrock: Fixed regional Mantle endpoint supporting Bedrock GPT-OSS profiles.
- Operator-hosted / Compatible: Ollama, vLLM, or other tested OpenAI-compatible endpoints (Responses or Chat Completions). Loopback HTTP is allowed; remote endpoints require HTTPS.
Optional custom tested cloud models
Section titled “Optional custom tested cloud models”If a fixed cloud vendor ships a newer or lower-cost model before the next module release, you can supply a custom model identifier and gate activation on a live connection test. Unsafe or malformed model IDs are rejected before any request is sent.
3. One-click answer tuning presets, Answer intelligence & Response Lab
Section titled “3. One-click answer tuning presets, Answer intelligence & Response Lab”Use the Answer style & cost presets strip in Providers to switch profiles in one click — updates apply live under a revision fence without pausing customer traffic:
- Fast & low cost:
Fastreasoning,Concisedetail, and a4,096-token ceiling for rapid, economical replies. - Balanced support (Recommended):
Automaticreasoning,Standarddetail, and an8,192-token ceiling for everyday hosting questions. - Deep technical:
Deepreasoning,Detailedsteps, and a12,288-token ceiling for complex DNS, email, or server troubleshooting.
You can also fine-tune each control individually without writing custom system prompts:
| Control | Default | Behaviour |
|---|---|---|
| Reasoning profile | Automatic |
Chooses Fast, Balanced, or Deep from bounded question and retrieval signals, or lock an explicit profile for repeatable cost/latency. Maps only to certified provider effort parameters. |
| Answer detail | Standard |
Controls visible reply density (Concise, Standard, or Detailed) separately from reasoning effort. |
| Total generation ceiling | 8,192 tokens |
Single bounded ceiling shared by hidden reasoning and visible output tokens, reserved before transport. |
| Retrieval query rewrite | Enabled | Refines conversational follow-ups into cleaner search queries while keeping local citation validation authoritative. |
| Recent-turn context | Disabled | Optional opt-in: sends at most two earlier completed turns from the same owner and conversation as delimited, non-authoritative context. |
| Provider prompt caching | Disabled | Optional opt-in for supported providers; provider cache retention and billing terms remain authoritative. |
Use Response lab to run live test questions against your exact approved knowledge and selected model — with test-only profile overrides (Automatic, Fast, Balanced, Deep) — without creating customer conversations or storing question/answer content. Response Lab reports the resolved profile, effort level, token usage (including reasoning and cache tokens), estimated cost, latency, citations, and safe provider request IDs.
4. Quotas, spend guard & targeted Emergency Pause
Section titled “4. Quotas, spend guard & targeted Emergency Pause”- Request limits: Set per-session per-minute, per-client per-day, and installation monthly attempt caps, plus maximum customer input characters.
- Local monthly response-spend guard: Disabled by default and configurable by the operator. Reserves estimated generation cost before transport and blocks new starts once reached. It tracks customer and Response Lab generation (excluding indexing, infrastructure, or unrelated API activity), so always keep authoritative billing alerts and hard limits configured directly in your AI provider dashboard.
- Targeted Emergency Pause: Changing active provider credentials, switching provider/model identity, or clicking Emergency pause immediately pauses live traffic and bumps the configuration revision fence so in-flight turns cannot cross policies. Tuning non-identity settings (answer detail, reasoning profile, rate limits, starter prompts, or spend alerts) advances the revision cleanly without interrupting live customers.