Interpretos Local — Administrator Guide

> Version: 2026.1.104 | Last Updated: 2026-03-12

Overview

Interpretos Local is an AI copilot for enterprise applications. It connects to Oracle E-Business Suite, PeopleSoft, and IBM Maximo and lets users query their systems using natural language.

This guide covers everything an administrator needs to install, configure, operate, and extend their Interpretos Local instance. It also serves as the knowledge base for the built-in Admin Assistant ("Need help?" button).


Setup Wizard

On first launch, a 6-step wizard guides you through initial configuration. After completing the AI Model Provider step (Step 2), a "Need help?" button appears — click it to chat with an AI assistant that can answer questions about any setup step in real time.

Step 0: License Key

Choose one of three paths:

  • I have a key: Paste your INTRP-xxx license key and click Install
  • Free trial: Enter your email to receive a temporary trial key (100 queries/day, 30-day duration). A 6-digit verification code is sent to your email — enter it to activate.
  • Air-gapped: For environments without internet access — contact support for an offline activation key
  • Step 1: Admin Account

    Create the first administrator account.

  • Username defaults to "admin" (you can change it)
  • Password must be at least 8 characters
  • Display name is shown in the chat interface (e.g., "Database Administrator")
  • You must accept the Terms of Service and Privacy Policy to proceed
  • Step 2: AI Model Provider

    Choose the LLM that powers your chat experience. This is the fast model — used for simple queries like lookups and detail views.

    ProviderAPI Key RequiredRecommended ModelNotes
    Interpretos CloudNoAutomaticFree tier, 100 queries/day, no configuration
    Google GeminiYesgemini-3-flash-previewGet key at aistudio.google.com/apikey
    OpenAIYesgpt-4.1-miniGet key at platform.openai.com/api-keys
    AnthropicYesclaude-sonnet-4-6Get key at console.anthropic.com
    Custom / Self-hostedYesVariesAny OpenAI-compatible endpoint (Ollama, vLLM, LiteLLM)

    For self-hosted models, provide the base URL (e.g., http://localhost:11434/v1 for Ollama).

    Click Test Connection to verify before proceeding.

    Smart Model (Recommended)

    For BYOK providers (Google, OpenAI, Anthropic, Custom), a "Add a Smart Model" panel appears below the fast model configuration.

    What it does: Simple queries (lookups, details) use the fast model above. Complex queries (analytics, dashboards, multi-table joins) need a frontier model for accurate results. The system automatically routes each query to the right model based on complexity.

    Configuration:

  • Provider: defaults to "Same as above" (same provider as fast model), or choose a different provider
  • API Key: leave blank to reuse the fast model's key, or enter a separate key if using a different provider
  • Model ID: the frontier model to use. Recommended: claude-opus-4-6, gpt-4.1, gemini-3-pro-preview
  • Click Test Smart Model to verify
  • How auto-routing works: The RAG (pattern selection) step assesses query complexity. Simple entity lookups stay on the fast model. Analytical, multi-entity, or aggregation queries are automatically upgraded to the smart model. Users see this as seamless — the right model is chosen per query.

    Smart model quota: To control costs, smart model usage is limited to 30 queries per user per day (configurable in Admin Panel > Settings). When the quota is exhausted, queries fall back to the fast model.

    Interpretos Cloud users get automatic fast/smart routing — no configuration needed.

    Step 3: Integration Connections

    Connect to your enterprise systems. You can configure one or more integrations.

    Oracle E-Business Suite (EBS)

    Direct Database Mode (recommended — 1-3 second queries):

  • DB Host: hostname of Oracle database server
  • DB Port: default 1521
  • DB User: read-only account (e.g., APPS_RO)
  • DB Password
  • DB Service: TNS service name (e.g., VIS, PROD)
  • SSH Tunnel Mode (11-17 second queries):

  • SSH Host: hostname or IP of the server with sqlplus
  • SSH User: OS user with sqlplus access (e.g., oracle, applmgr)
  • SSH Key: RSA private key in PEM format (must start with -----BEGIN RSA PRIVATE KEY-----)
  • Oracle Home: path containing bin/sqlplus (e.g., /u01/app/oracle/product/12.1.0)
  • DB credentials as above
  • Common issues:

  • SSH key in wrong format: convert with ssh-keygen -p -m PEM -f your_key
  • Oracle Home path wrong: run echo $ORACLE_HOME on the database server to find it
  • Firewall blocking port 22 (SSH) or 1521 (Oracle): verify with telnet host port
  • Wrong service name: check $ORACLE_HOME/network/admin/tnsnames.ora on the DB server
  • PeopleSoft

    Connects via SSH tunnel to Oracle database (no direct mode).

  • Same SSH fields as EBS
  • DB User: typically SYSADM or PS_RO
  • DB Service: PDB name (e.g., HCMVRS, CSUAT, HRPRD)
  • Oracle Home: typically /opt/oracle/psft/db/oracle-server/19.3.0.0
  • PeopleSoft uses CDB/PDB architecture. The PDB name is critical — it's set via ALTER SESSION SET CONTAINER before any query. If you're unsure, ask your DBA for the PDB name or run SELECT name FROM v$pdbs on the CDB.

    IBM Maximo

    Connects via REST API (OSLC interface).

  • API Base URL: must include /maximo (e.g., https://maximo.example.com/maximo)
  • MAS 9.x: Use API Key authentication. Generate at Administration > API Keys in Maximo
  • Maximo 7.6: Use MAXAUTH (username + password, sent as Base64-encoded header)
  • Common issues:

  • Wrong base URL: must end with /maximo, not /maximo/api or just the hostname
  • API key not generated: MAS 9.x requires explicit key creation in the admin console
  • SSL certificate errors: ensure your instance's certificate is trusted, or set verify=false (not recommended for production)
  • Step 4: Telemetry (Optional)

    Enable anonymous aggregate metrics to help improve the product.

  • Preview the exact payload before enabling
  • Data sent: query counts, response times, error rates, integration types
  • Data NOT sent: query content, usernames, credentials, IP addresses
  • All transmissions logged to /app/data/telemetry_audit.jsonl for your audit
  • Step 5: Review and Complete

    Summary of all settings. Click Complete Setup to finish. A security recommendations panel reminds you to enable TLS and set a secret key for production.


    Admin Panel

    Access the admin panel by clicking the gear icon in the header bar. The "Need help?" button in the top-right corner opens the AI-powered Admin Assistant — it can answer questions about any panel, setting, or configuration task.

    Users Tab

    Manage system users and their roles.

    Adding users:

  • Fill in username, display name, password, and role (user or admin)
  • "admin" role users can access the admin panel; "user" role can only chat
  • User actions:

  • Reset password (admin can reset any user's password)
  • Delete user (removes account, credentials, and chat history)
  • Click the credential count to jump to the Credentials tab for that user
  • Roles:

    RoleChatOwn PreferencesAdmin PanelManage UsersEBS Login Bar
    userYesYesNoNoShown (RBAC)
    adminYesYesYesYesHidden (uses global credentials)

    Admin users skip the per-user RBAC login prompt and query using the global admin credentials configured during setup.

    Credentials Tab

    Map each user to their identity in each enterprise system. This controls what data they see through role-based access control (RBAC).

    How RBAC works: When user "jsmith" sends a chat query, Interpretos uses jsmith's personal credentials (not the admin's) to query the enterprise system. If jsmith's Oracle account is restricted to the BEDFORD site, they'll only see BEDFORD data. This applies to every user, administrators included: each person's questions run with the credential stored for that person.

    Setting credentials:

  • Select a user from the dropdown
  • Select an integration
  • Fill in that user's credentials for that system
  • Click Test to validate, then Save
  • If no per-user credentials are set, the user's question is not run. The user sees a message that names the system and says their own credential is missing, and the refusal is recorded for the administrator. Nothing is inherited from a shared or global account, so set a credential for every user who should be able to ask that system. (The administrator who completed the setup wizard has the setup connection stored as their own credential.)

    Credential fields by integration:

    IntegrationKey Fields
    EBSSSH host/user/key, DB user/password/service, Oracle Home, RBAC username
    PeopleSoftSSH host/user/key, DB user/password/service, PDB name, RBAC username
    MaximoAuth type, API base URL, API key or username/password

    Connecting a second Maximo system

    One installation can be connected to more than one Maximo system at the same time. The usual case is an upgrade: Maximo 7.6 and Maximo Application Suite run side by side for a while, and people want to ask both the same question and compare the figures.

    The first Maximo system is the one configured in the setup wizard. You can add up to four more. The licence counts all of them as one Maximo integration.

    Add a system (administrators only):

  • Open the Admin Panel and go to the Credentials tab.
  • Open the Maximo systems card at the bottom of the tab. Its title shows how many systems are connected.
  • In Name of the first system, give the existing system a name people will recognise, for example "Maximo Application Suite (new)". If you leave it empty it is shown as "Maximo".
  • Click Add a Maximo system. Enter a name (up to 40 characters, for example "Maximo 7.6 (old)"), the address of that system's API, and the sign-in type: API Key (MAS 9.x) or MAXAUTH (7.6).
  • Click Save Maximo systems.
  • The address must start with http:// or https://, must resolve, and must not be the address of the first system. An address the installation is not allowed to call (for example its own loopback address) is refused with the reason. A connection is only a name, an address and a sign-in type. It holds no password or key.

    Give each user a sign-in for the new system. A sign-in for one Maximo system is never used on another, so every user who should be able to ask the new system needs a credential for it. This includes administrators.

  • Still on the Credentials tab, select the user.
  • In Integration, select the new system by its name.
  • Choose the sign-in type and enter that user's own API key, or their Maximo username and password. For a Maximo 7.6 system choose MAXAUTH (7.6). There is no address field: the address always comes from the Maximo systems card.
  • Tick the read-only confirmation, click Test Connection, then Save Credentials.
  • The user's Maximo account decides what they see on that system, exactly as on the first one. A user who is restricted to one site on the old system and unrestricted on the new one gets each system's own answer.

    What users do. The System list in the chat header now shows each Maximo system by name. A user picks one, a line "Switched to " appears in the conversation, and every Maximo answer then begins with a line System: so it is always clear where a figure came from. See [Choosing a Maximo system](#choosing-a-maximo-system).

    If a user has no sign-in for the selected system, the question is not run. The user sees: "Your own credential for is missing, so the question was not run", with a request to ask the administrator. The refusal is recorded as an authentication event and an administrator alert.

    Change or remove a system.

  • To rename a system, edit its name and save. Nothing else changes.
  • If you change a system's address and save, every stored sign-in for that system is deleted, because it was given for the old address. The save message says how many were removed. Enter them again.
  • To remove a system, click Remove on its row, then Save Maximo systems. Stored sign-ins for it are deleted. A user whose conversation was on that system is told "The Maximo system this conversation was using is no longer configured" and picks another in the System list.
  • The first system is changed in Admin Panel > Settings, as before, not on this card.
  • Every save of the card and every switch a user makes is written to the authentication log (maximo_connections_changed, maximo_connection_switch).

    Limits of this version.

  • One system per question. An answer comes from the system that is selected. To compare, ask one system, switch, and ask the other. The assistant is told not to reuse a figure from the other system.
  • An additional system is read-only. The "raise a service request" action is available on the first system only, even for a user who holds that grant.
  • Custom patterns, custom instructions and starter questions are shared by all Maximo systems, because they belong to the Maximo integration. If the two systems are customised differently, a custom pattern written for one may not hold on the other.
  • The choice is not remembered between sessions. After signing out, after an hour without activity, or after a restart of the installation, a user starts on the first system again. The System: line on each answer shows which one is active.
  • If the installation is locked to one system (the integration_lock configuration setting), users who are not administrators cannot change Maximo system.
  • API Keys Tab

    Generate programmatic API keys for automation, bots, and integrations.

    Creating a key:

  • Select the user the key will act as (inherits their RBAC permissions)
  • Give it a descriptive name (e.g., "Slack Bot", "Daily Reports", "ETL Pipeline")
  • Click Create — the key is shown once only, copy it immediately
  • Using API keys:

    
    # Via X-API-Key header
    curl -X POST http://localhost:8080/api/chat \
      -H "Content-Type: application/json" \
      -H "X-API-Key: ik_your_key_here" \
      -d '{"message": "How many open work orders are there?"}'
    
    # Via Authorization header
    curl -X POST http://localhost:8080/api/chat \
      -H "Content-Type: application/json" \
      -H "Authorization: Bearer ik_your_key_here" \
      -d '{"message": "Show me overdue POs"}'
    

    Full API documentation is available at /api/docs (interactive Swagger UI).

    Settings Tab

    AI Provider Settings

    Change the primary (fast) LLM provider after setup. Same options as setup step 2. Always test before saving.

    Extra Parameters: Optional JSON object passed directly to the chat LLM API call. Use this for provider-specific tuning:

    ProviderExampleEffect
    Google Gemini{"thinking_budget": 0}Disables thinking mode for faster responses
    Google Gemini{"thinking_level": "minimal"}Minimal thinking
    OpenAI{"reasoning": {"effort": "low"}}Low reasoning effort for GPT-5.x
    Ollama{"num_ctx": 8192}Sets context window size

    Model Options for Users (Fast / Smart / Auto)

    Configure model presets that users can switch between during chat. Up to 3 presets can be defined.

    Preset roles:

  • Fast: cheaper, faster model for simple lookups and detail queries
  • Smart: frontier model for complex analytical queries, dashboards, and multi-table joins
  • How it works:

  • Admin configures presets (e.g., "Fast" with gemini-3-flash, "Smart" with claude-opus-4-6)
  • Each preset specifies: label, role (fast/smart), provider, model ID, API key, and optional base URL
  • Users see a model switcher in the chat header with options: Fast, Smart, or Auto
  • Auto mode (default when both fast and smart presets exist): starts with the fast model for every query, then automatically upgrades to the smart model if the RAG step determines the query is complex
  • Smart model quota: Limits smart model usage to a configurable number of queries per user per day (default: 30). When exhausted, queries fall back to the fast model. Configure the limit via PUT /api/admin/smart-quota or the Admin Panel.

    Click the "Model Options for Users" section header to expand, configure presets, test each one, and save.

    Pattern Selection LLM (Advanced)

    Configure an optional separate, faster LLM for pattern selection (the step that picks which knowledge pattern to use before answering).

  • Default: uses the same LLM as chat
  • Recommended: a fast, cheap model like gemini-3-flash-preview or gpt-4.1-mini
  • Benefit: faster first response time since pattern selection runs on every query
  • Click the "Pattern Selection LLM" section header to expand, enable the checkbox, configure, test, and save.

    Extra Parameters: Optional JSON object passed directly to the LLM API call. Use this for provider-specific tuning without code changes:

    ProviderExampleEffect
    Google Gemini{"thinking_budget": 0}Disables thinking mode (prevents 26s+ delays on Gemini 3 Flash)
    Google Gemini{"thinking_level": "minimal"}Minimal thinking (alternative to budget=0)
    OpenAI{"reasoning": {"effort": "none"}}Disables reasoning for GPT-5.x models
    Ollama{"num_ctx": 4096}Sets context window size

    Pattern selection doesn't need reasoning/thinking — it's a simple pattern-matching task. If using a model with built-in thinking (Gemini 3 Flash, GPT-5.4 Thinking), disable it here for dramatically faster responses (26s to 2s in testing).

    Integration Connection Settings

    Update EBS, PeopleSoft, or Maximo connection settings. Same fields as setup step 3.

    Custom Instructions

    Set admin-wide default context for all users on a specific integration.

    Examples:

  • "Unless otherwise specified, default answers to the BEDFORD site and EAGLENA org."
  • "Always include the PO number and buyer name in purchase order results."
  • "When showing headcount data, exclude terminated employees."
  • Select the integration from the dropdown, write instructions (max 1000 characters), and save. Users can also set their own personal instructions via the Preferences button in the chat header.

    Restart Setup Wizard

    Re-runs the guided setup. Preserves your license and user accounts but lets you reconfigure AI provider and integration connections.

    Patterns Tab

    Create custom patterns to show the chatbot queries specific to your environment. Custom patterns extend the built-in knowledge without affecting it. Custom patterns are encrypted at rest on the persistent data volume.

    Creating a Pattern

    Click + New pattern and fill in:

  • System: Which system this pattern is for (EBS, PeopleSoft, or Maximo)
  • Name: What the chatbot should be able to answer (e.g., "Vendor aging report by vendor ID")
  • Data source: SQL query or REST API
  • Query or endpoint: The actual SQL or API call with parameter placeholders
  • Example questions: Natural language questions users might ask (one per line) — these help the AI match user queries to this pattern
  • Tables: Database tables referenced (comma-separated)
  • Things it is about: Key concepts like "vendor", "employee", "asset" (comma-separated)
  • Notes: Optional gotchas or requirements
  • Replaces: Optional. Ids of patterns this pattern replaces (comma-separated) — see *Superseding a shipped pattern* below
  • Click Save pattern. The chatbot immediately starts using the new pattern — no restart needed. Pattern ids are generated from the name; Copy id on an open pattern copies it.

    Testing a Pattern

    Open a pattern's ⋯ menu, choose Test the live version, type a sample question and press Run test. The system sends the question through the full chatbot, as you, and shows:

  • The chatbot's response
  • Test ran · figures not checked or Test failed, saved as a test result on the pattern's live version
  • Passed means the chatbot produced an answer without an error. It does not prove the figures are right, and it does not show which patterns the chatbot used: compare the answer with the application screen yourself. The processing log of the answer lists the patterns used.

    This test uses the live version. The chatbot only ever uses the live version of a pattern, so this test never counts for a change that is waiting for review. To test a waiting change, use Test vN… in its decision box (see *Reviewing a waiting change* below).

    Managing Patterns

    Edit is on every row. Everything else is in the row's ⋯ menu:

    ActionDescription
    EditChange any field. The change waits for review; the live version keeps answering.
    Test the live versionAsk the chatbot a question using the live version and keep the result (see above).
    Make a copyDuplicate a pattern — useful for creating variations (e.g., same query for a different entity).
    Export this patternDownload a single pattern as JSON for backup or sharing with another instance.
    Disable / EnableSwitch a pattern off or on without deleting it. Disabled patterns are ignored by the chatbot. Disabling asks for a reason.
    DeleteLast in the menu. Stops the pattern answering at once; asks for a reason and names the pattern. Its history is kept.

    Superseding a shipped pattern

    Sometimes a shipped pattern is simply wrong for your site. For example, the shipped pattern counts storeroom items one way, and your site counts them another way. Writing a better custom pattern is half the fix. The other half is making sure the AI does not also read the shipped pattern and follow that one instead.

    The Replaces field (stored as *supersedes*) does this. List the ID of each pattern that your custom pattern replaces. From then on, whenever a question brings up both your pattern and a pattern it supersedes, the product withholds the superseded pattern. The AI never sees it, so it cannot follow it. This does not depend on the order of the patterns, on the wording of any instruction, or on which AI model you use.

    You can supersede a shipped pattern, a learned pattern, or another custom pattern. A pattern's ID is shown in the chatbot's processing log for any answer that used it.

    There are three cases to understand.

    1. Clean supersession — your pattern replaces a shipped one. Put the shipped pattern's id in Replaces. When a question retrieves both, only yours is given to the AI. When a question retrieves only the shipped pattern (your pattern was not relevant to that question), the shipped pattern is still used. This is deliberate: superseding means "prefer mine when both apply", not "delete the shipped pattern everywhere". If your pattern should also answer those other questions, add example questions to it so that it is retrieved for them.

    2. Overlap that is not a supersession — both patterns are useful. If your pattern covers a site-specific detail and the shipped pattern still has value (other fields, other filters), leave Replaces empty. Both patterns are given to the AI. Yours is labelled as this site's configuration, the shipped one is labelled as the general product pattern, and the AI is told that yours is authoritative where they disagree.

    3. Upgrade — the shipped pattern you superseded gets improved. When you install a pattern update that includes a pattern one of your custom patterns supersedes, nothing changes in behaviour: your pattern keeps superseding it. The product records the event in /app/data/custom_patterns/upgrade-review.jsonl and in the log, so you can review whether your custom pattern is still needed. If the improved shipped pattern now does the job, clear the Replaces field (or disable your pattern) and the shipped pattern returns immediately.

    Rules the product enforces when you save:

  • A pattern cannot supersede itself.
  • Two patterns cannot supersede each other, directly or through a chain. The save is rejected with a message naming the cycle.
  • Chains work: if A supersedes B and B supersedes C, then A also supersedes C.
  • If you list an ID that does not currently exist, the pattern is saved with a warning. An upgrade may have removed that pattern, and the entry has no effect until a pattern with that ID exists.
  • A disabled pattern supersedes nothing. Disabling or deleting your pattern brings the shipped pattern back at once.
  • A copied pattern starts with an empty Replaces field, so a draft copy cannot start withholding shipped patterns by accident.
  • Only administrators can set this field, through this form or the admin API (supersedes: ["pattern_id", ...] on create and update). Nothing a user types in a chat, and nothing returned by your application's API, can change it.

    To confirm it is working, look at the performance log (performance.log): each answer records patterns (what the AI was given) and patterns_dropped_by_supersession (what was withheld, and which pattern superseded it).

    Backup and Migration

  • Export All: Downloads all custom patterns as a JSON bundle. Use this before major upgrades or to migrate patterns to a new instance.
  • Import: Upload a JSON export file to restore patterns or import from another instance. Duplicates are skipped automatically.
  • Custom patterns are stored on the persistent data volume (/app/data/custom_patterns/) and survive container restarts and upgrades.

    The Patterns screen

    Patterns in the admin panel has three views:

  • Needs your decision (the view it opens on) starts with one line that counts what waits (for example *4 decisions wait for you: 1 change to review, 1 lesson to release, 2 possible duplicates to resolve*), then has one card for every open decision: each change waiting for review, with what changes in one line (the full comparison is one click away) and the Test, Release and Reject buttons on the card; and each pair of custom patterns that may be duplicates, with Compare side by side. The number on the tab is how many decisions wait. When it is empty, nothing needs you.
  • All patterns lists patterns on the left (Custom, Shipped or Everything, with search and a Filters button) and shows the pattern you pick on the right. Patterns waiting for you are at the top. Each pattern has its own web address (for example #patterns/p/), so you can bookmark it or send the link to another administrator. On a phone the pattern opens as a full page with a ← All patterns link back.
  • Activity lists everything that happened to any pattern, newest first.
  • An open pattern has Edit, Watch and a ⋯ menu with *Test the live version*, *Make a copy*, *Export this pattern*, *Protect*, *Export its history*, *Disable* and, last, *Delete*. Deleting and disabling ask for a reason and name the pattern you are about to change; the button stays unavailable until you type the reason. Deleting also says when a change waiting for review is closed with it, and how many answers used the pattern. Editing happens in the same right-hand pane; Cancel and Submit for review stay visible at the bottom while you scroll. Import and Export for all patterns are in the ⋯ menu at the top right.

    Every pattern carries one status word:

  • Live: the chatbot uses it.
  • Waiting for you: a change is waiting for an administrator to release or reject it. The live version keeps answering meanwhile.
  • Disabled: switched off; the chatbot does not use it.
  • Rejected: a change an administrator turned down (shown on that version).
  • Replaced or Merged: retired in favour of another pattern.
  • Testing has its own badge: Not tested yet means no passing test result is recorded for that version; Test ran · figures not checked and Test failed say what the last result was.

    History, review and rollback

    Every change to a custom pattern is kept. Open a pattern to see, in this order: What it says (its name, example questions, query, tables and notes, for the live version and for a waiting version), History (each version: who, when, what changed; compare any two; roll back), Test results, Used in, Possible duplicates and Comments.

  • Edits wait for review. Saving an edit to a pattern stores it as a new version *waiting for review*; the current version keeps answering until an administrator releases the change. In an emergency, tick Skip review and give a reason: the change goes live at once and the reason is recorded.
  • What changed and why. Every edit needs a one-line summary. Deleting or disabling a pattern, rejecting a change and rolling back each need a reason.
  • Edit conflicts. If someone else saved a newer version while you were editing, your save is refused and both versions are shown. Nothing is overwritten.
  • Test results. The Test results tab keeps every test and every check you record against the application screen, per version. A version without a passing result shows Not tested yet; releasing it asks for a reason.
  • Comments. The Comments tab keeps notes about a pattern.
  • Require a second admin to release (Settings → Patterns, off by default): when on, the person who wrote a change cannot also release it.
  • Keep usage data for (Settings → Patterns, 90 days by default): how long answers count towards Used in.
  • Rollback makes the earlier content a new version; history is never rewritten. Delete keeps the history; an administrator can then purge a deleted pattern's stored content, with a recorded reason.
  • Applies to. A pattern that applies only to some sites says so (for example *BOSTON only*). A pattern that says nothing applies everywhere.
  • Reviewing a waiting change

    When someone edits a pattern, the edit waits for review. It appears in Needs your decision, the pattern shows Waiting for you, and when you open it, a box at the top says Change vN is waiting for your decision. The live version keeps answering until you release the change. Work through these steps.

  • Read what changes. The box shows the live version beside the waiting one (in Needs your decision the card shows the changed words in one line; *Show the full comparison* opens the table), field by field, with removed words struck through and added words marked. This is the comparison that matters: the version answering today against the version that would replace it. (The Compare selectors on the History tab also start on *vN (live)* and *vM (waiting)*; a *rejected* or *replaced draft* in between never answered a question.)
  • Read any *Before you release* note. When answers that used the pattern drew thumbs-down, or many recent questions are unlike its example questions (it may be picked for the wrong questions), the decision box says so and links to Used in.
  • Check that the summary explains every change. A changed field that the summary does not mention is a reason to ask the author before you release.
  • Check the result against the application screen. The question to answer is: would the new query give the same figures the application shows? Run the changed query in your own database or API tool, or ask the author what they checked, and compare with the screen.
  • Test the waiting version. Press Test vN… in the decision box, type a question the change should answer (the first example question is filled in), and press Run 3 times with vN. The chatbot answers three times, as it would for you, but using the waiting version instead of the live one. Those answers go only to you: the waiting version answers nobody else until you release it. The result, for example *3 of 3 runs answered without an error*, is kept as that version's test result, and the badge changes from Not tested yet to Test ran · figures not checked (only when every run answered). *Answered without an error* does not prove the figures are right: read the answers and compare them with the application screen. Then press Check the figures… on the decision card: it shows the test question and the waiting version's answer; open the same figure in the application and press Yes, it matches or No, it differs. Your answer is kept as a screen check. Only after a matching check does Release vN… become the main button and the badge read Figures checked. Releasing without one is under More (*Release vN without a screen check…*) and asks for a reason. You can also record a check you made yourself: on the Test results tab, open *Record a check you made yourself*, choose the waiting version, type the question, tick The answer matched the screen if it did, and press Record result.
  • Release or reject, with the buttons in the box.
  • - Release vN makes the waiting version live at once.

    - Reject… needs a reason. The live version is untouched, and the rejected version stays in the history, marked *Rejected*.

    What "Not tested yet" means. A version is *not tested yet* when it has no passing result. Three things record a result: Test vN… in the decision box, which tests the waiting version (3 runs; it passes only when every run answers); Test the live version (in the ⋯ menu); and Record result on the Test results tab, which records a check you made yourself against the version you choose. While a waiting change is not tested yet, Test vN… is the main button in its box and release reads Release vN untested….

    Releasing an untested change. The button then reads Release vN untested…. You can release a change that is not tested yet, but you must type a reason. The reason is recorded and the release is marked *released without review or test* in the history and in Activity. A reasonable choice for a small, low-risk change: release it with a reason, use Test the live version straight away (that now tests the new version, because it is live), and use Roll back to this on the previous version if the answer is wrong.

    When to reject. Reject a change when its summary does not explain what changed, when a changed query would return different rows than the screen shows, when it widens or narrows what the pattern covers without saying so, or when it duplicates another pattern (see *Possible duplicates* below). Rejecting costs nothing: the author can edit again.

    Only one change waits at a time. A new edit to a pattern that already has a waiting change starts from the waiting change and replaces it; the older draft is kept in the history, marked *Replaced draft*.

    Urgent changes. An administrator who must fix a pattern at once can tick Skip review when saving an edit, with a reason. The change goes live without review, and the history marks it *released without review*. Look for these in Activity afterwards and record a test result for them.

    Mark seen is not release. Activity lists events. Mark seen (it shows when you point at a row or move to it with the keyboard) only records that you looked at an event; unseen events are marked *New*. Mark all as seen does the same for every unseen event at once. Neither releases or rejects anything: that happens on the decision card, in Needs your decision or at the top of the open pattern. Changes by others to patterns you Watch are listed at the top of Activity, with how they ended (for example *changed (v2) by …, then rejected*).

    Require a second admin to release. When this setting is on, the person who wrote a change cannot release it, cannot use Skip review, and cannot mark their own change as seen in Activity. The Release button is greyed out for them, with the reason beside it. Another administrator must do it.

    Who can review. Only administrators can release, reject, record test results or see waiting changes. A user with the Viewer role never sees waiting changes, test results, comments or possible duplicates, and cannot use the Admin Assistant.

    Ask the Admin Assistant. With a pattern open, press Ask the assistant about this change on the decision box (or Need help?) and ask about it. The assistant panel opens beside the pattern without covering it. The assistant is given the facts about that pattern as the product records them: the live and waiting versions, the changed fields, the test results, the possible duplicates, protection, where it applies and how many answers used it. It cannot see your application's screen or run queries, so it cannot tell you whether the figures are right. Today it only advises; it cannot press buttons.

    Possible duplicates, merging and keeping both

  • Possible duplicates. The Possible duplicates tab of a pattern lists the patterns asked the same way as this one (example questions that read alike, or often used together for the same answer). Patterns that only share tables or a link are folded away under *Also related, probably different jobs*. The product finds them by rule, without an AI judge. The small ⧉ number in All patterns counts them, and the Possible duplicates only filter lists every pattern with at least one. Custom patterns asked alike also appear in Needs your decision until you keep both or retire one. A possible duplicate is a prompt to look, not a fault.
  • A plain verdict. For each possible duplicate the tab compares the two queries and says, for example, Asked the same way, answered differently. Probably not a duplicate. or Asked the same way and answered the same way. Probably a duplicate. Two patterns can be asked in the same words and still count different things (for example every open work order against approved work orders only). Merging those would change what users are told.
  • Compare side by side first. Compare side by side shows the two patterns' example questions, queries (differences marked), tables and notes next to each other, with the verdict. Merging is only offered here, so nobody merges without reading both.
  • Keep one, retire the other. In the compare, Retire one of them… shows the two choices with the full names (*Keep A “…” and retire B “…”*, or the other way round). A pattern whose live version skipped review is never suggested over one that did not; after that, the one that needs least copying over is suggested (the retired one's questions go to the kept one either way). The kept one takes the other's name only when its own name marks it as a copy, and each choice warns you when the one you keep lacks notes or example questions the retired one has. In that case press Copy B's name, notes… into A (opens Edit) first: the copy is an ordinary change, so it waits for review. When you release it, a notice offers Retire it now… for the other one; until then the pair stays in *Needs your decision*, marked *Step 1 of 2 waits*. Continue… asks for a reason. The chatbot is then given the one you keep instead. A notice with Undo appears straight after; Undo the merge… on the retired pattern also puts it back exactly as it was. History is kept on both patterns. A shipped pattern itself cannot be retired this way: switch it off, or write a custom pattern that replaces it.
  • Keep both (different jobs). Some questions have two honest answers, for example "the work order backlog" can mean every open work order or only the approved ones. Press Keep both (different jobs)… and write what each pattern's figure means. When a question could mean either, the chatbot gives both figures, each with its label, instead of silently picking one. Undo keep-both… (with a reason) stops this.
  • Which to choose. Retire one when both answer the same question the same way (keep the better one). Keep both when they answer the same words with two different, both valid, figures. Use Replaces in the pattern form when your custom pattern replaces a shipped pattern for your site. Leave both alone when they only share tables, or when one is a detail of the other.
  • Which version wrote each line. On What it says, *Show which version wrote each line* shows a version's content with the version that introduced each passage. A line restored by a rollback keeps its original version. A hidden version's content is never shown.
  • Read-only viewers and the auditor export

  • Viewer role. Create a user with the role Viewer (read-only patterns) for someone who must see the patterns but not change them, such as an auditor. A viewer sees the released patterns, their history and how many answers used them. A viewer does not see changes waiting for review, the questions people asked, test results, comments, possible duplicates or any setting, and cannot change anything. A viewer can also use the chatbot like an ordinary user.
  • History export. Export change history (the ⋯ menu at the top of Patterns, or a pattern's ⋯ menu) downloads the history for an auditor, as JSON or CSV: every event with its summary, who made it, the reason, the test evidence as passed/total counts, and the result of the tamper check. It never contains pattern content (not even of hidden versions) and never contains question text. Only administrators can export.
  • The history lives in /app/data/pattern_history/ (an append-only, tamper-evident event log plus encrypted version snapshots). Back it up together with /app/data/custom_patterns/. If a restore rewinds the patterns but not the history (or the other way round), the Patterns tab shows a "history ahead of the live store" warning naming the affected patterns. The support bundle includes the tail of the event log with summaries, reasons and names redacted, never the pattern content.

    Updates Tab

    Check for and install updates.

  • Container updates: new Docker image versions with features and fixes. The panel tells you when a new
  • version exists; you install it from the command line:

    `bash

    docker login registry.interpretos.com # once, with your download login

    docker compose pull

    docker compose up -d

    `

    Interpretos Local is licensed software, distributed from

    registry.interpretos.com to registered users. Your download login arrives

    with your license key when you sign up. The image: line in your

    docker-compose.yml should read registry.interpretos.com/interpretos/local:latest.

    The older location interpretos/local on Docker Hub is retired and no longer

    receives new versions. The update check itself contacts the Interpretos update

    service, not the image registry.

  • Pattern updates: new or improved knowledge packs for your integrations
  • Installed modules: current integrations and pattern counts
  • Messages from Interpretos: service announcements and advisories
  • License Tab

    View and manage your product license.

  • License status: ID, customer name, expiry date, included modules
  • Integration marketplace: available integrations with enable/purchase options
  • Upload new license: paste JSON or upload a .json file
  • Diagnostics Tab

    Health monitoring, debugging, and audit trail for compliance.

    System Health

    Click Test All Connections to validate every configured service (LLM provider, databases, APIs). Green/red indicators show what's working.

    Debug Logging

    Toggle between INFO (normal) and DEBUG (verbose) log levels. Enable DEBUG when troubleshooting specific issues, then disable it — verbose logs consume more disk space.

    LLM Capture & Replay

    Record and replay LLM API calls for debugging chatbot behavior.

    Enable capture: Toggle LLM call recording on. Every LLM request/response is saved to disk.

    View captured calls: Browse recent calls filtered by type (chat, RAG, etc.). Each captured call shows the full request (messages, model, parameters) and response.

    Replay a call: Re-send a captured request to the LLM and compare the new response with the original. Useful for debugging non-deterministic behavior or testing model changes.

    Configuration: Set maximum file size and number of captured files to manage disk usage.

    Endpoints: GET /api/admin/llm-capture/status, POST /api/admin/llm-capture/toggle, PUT /api/admin/llm-capture/configure, GET /api/admin/llm-capture/calls, GET /api/admin/llm-capture/calls/{id}, POST /api/admin/llm-capture/replay/{id}

    Recent Errors

    View recent server errors with timestamps, details, and stack traces. Useful for diagnosing connection failures or LLM errors.

    Telemetry

  • Enable/disable anonymous telemetry
  • Preview the exact payload that will be sent
  • View the transmission log (every payload logged before sending)
  • Query Audit Log

    Every query sent to connected enterprise systems is logged here — SQL statements for EBS/PeopleSoft, API calls for Maximo. Stored at /app/data/query_audit.jsonl.

    Use this for: security audits, compliance reviews, debugging incorrect query results, and understanding what the AI is actually asking your systems.

    Support Bundle

    Download a diagnostic package to attach to support tickets. This bundle is privacy-safe: it excludes credentials, SQL text, conversation content, and usernames. It contains system info, connectivity results, error summaries, and anonymized metrics.


    User Features

    These features are available to all authenticated users (not just admins).

    Model Switching

    Users can switch between model presets configured by the admin:

  • Fast: cheaper, faster model for simple queries
  • Smart: frontier model for complex analytical work
  • Auto: automatically routes to the right model per query (default)
  • The active preset persists across sessions. Switch via the model selector in the chat header.

    Personal Custom Instructions

    Users can set their own custom instructions via the Preferences button in the chat header. These are appended to the admin-wide custom instructions. Max 1000 characters.

    Example: "I work in the BEDFORD site, always filter results to BEDFORD unless I say otherwise."

    Conversations

  • Multiple conversations are supported — create, rename, and delete from the sidebar
  • Conversation history persists across sessions
  • Each conversation maintains its own context
  • Choosing a Maximo system

    When the administrator has connected more than one Maximo system, the System list in the chat header shows each one by name, for example "Maximo Application Suite (new)" and "Maximo 7.6 (old)".

  • Pick a system in the list. A line "Switched to " appears in the conversation.
  • Every Maximo answer begins with System: , the system the figures came from.
  • Each question is answered from one system. To compare two systems, ask the question, switch, and ask it again.
  • You need your own sign-in for each system. If it is missing, the question is not run and a message asks you to contact your administrator.
  • After you sign out, or after an hour without activity, you start on the first system again.
  • Preventive maintenance: before and after (Maximo)

    Users can ask whether corrective work went up or down after a preventive maintenance plan started. Two ways to ask:

  • "Did corrective work on the assets covered by a preventive maintenance plan go up or down after the plan started?"
  • "For asset 13140, how many corrective work orders were there in the 12 months before its preventive maintenance plan started and in the 12 months after?"
  • How the answer is built, so that it can be checked in Maximo:

  • A plan's start is the date of the first work order the plan generated. The plan's First Start Date field is not used, because it is often empty or later than the first generated work order.
  • A plan that has never generated a work order has no usable start. Its assets are counted, the first few are named, and they are left out of the comparison. No date is substituted.
  • The periods before and after are equal: 12 months each unless the question gives another length ("use six month windows"). A plan younger than the period shortens both sides.
  • If the site's work order history begins after an asset's "before" period, that asset is flagged and kept out of the verdict, because zero would mean "no records", not "no failures".
  • Closed work orders in history are included, and the answer says so.
  • "Corrective" means work type CM. Emergency work (EM) is added when the question speaks of failures or breakdowns.
  • "This year against last year" is also understood. A part year is stated as a part year.
  • The answer gives the counts before and after and says which way they moved. It does not claim that the plan caused the change.

    EBS/PeopleSoft Login (RBAC)

    For EBS and PeopleSoft integrations with per-user credentials configured, users see a login bar at the top of the chat. They enter their enterprise username and password to establish their RBAC context. This ensures queries run with their credentials, not the admin's.

    Admin users do not see this login bar — they always use the global credentials.

    Password Change

    Users can change their own password via the user menu in the header.


    Demo Mode

    When DEMO_MODE=true is set as an environment variable, the instance operates in demo mode for public evaluation.

    Demo registration flow:

  • Visitor enters email and organization name
  • A 6-digit verification code is sent to their email (disposable email domains are blocked)
  • After verification, an ephemeral demo account is created with a temporary trial license
  • Demo account limits:

  • TTL: accounts expire after a configurable period (default: 30 minutes)
  • Query limit: max queries per session (default: 20)
  • Concurrent users: max simultaneous demo users (default: 10)
  • Demo users inherit the admin's integration credentials for immediate access
  • Automatic cleanup: a background thread removes expired demo users every 60 seconds, preserving analytics data (email, organization, query count, conversations used).

    Environment variables:

  • DEMO_MODE=true — enable demo mode
  • CDDI_DEMO_SKIP_VERIFICATION=true — bypass email verification (internal testing only)

  • REST API Reference

    Interpretos Local exposes a full REST API. Interactive documentation is available at /api/docs (Swagger UI) and the OpenAPI spec at /api/docs/openapi.yaml.

    Authentication

    Two methods:

  • JWT Token: POST /api/auth/login with {"username": "...", "password": "..."} — returns a token. Use as Authorization: Bearer .
  • API Key: Create in Admin Panel > API Keys. Use as X-API-Key: ik_xxx or Authorization: Bearer ik_xxx.
  • Core Endpoints

    EndpointMethodDescription
    /api/chatPOSTSend a message, get full response
    /api/chat/streamPOSTSend a message, get SSE streaming response
    /api/chat/cancelPOSTCancel an in-progress query
    /api/resetPOSTClear conversation state
    /api/conversationsGETList all conversations
    /api/conversationsPOSTCreate new conversation
    /api/conversations/{id}GETGet conversation history
    /api/conversations/{id}DELETEDelete a conversation
    /api/conversations/{id}/titlePUTRename a conversation
    /api/statusGETSession status (model, integrations, RAG mode)
    /api/healthGETHealth check (200 OK)
    /api/versionGETContainer version
    /api/integrationsGETList available integrations
    /api/integrationsPOSTSet active integrations

    OpenAI-Compatible API

    Interpretos Local exposes an OpenAI-compatible API, allowing any tool or platform that supports OpenAI (such as [Sana](https://sana.ai), LangChain, or custom scripts) to use Interpretos as a drop-in AI provider.

    Quick Start

    
    from openai import OpenAI
    
    client = OpenAI(
        base_url="https://your-interpretos-host:8080/v1",
        api_key="ik_...",  # Your Interpretos API key
    )
    
    response = client.chat.completions.create(
        model="interpretos-auto",
        messages=[{"role": "user", "content": "What are the top 5 assets by cost?"}],
    )
    print(response.choices[0].message.content)
    

    Endpoints

    EndpointMethodDescription
    /v1/chat/completionsPOSTChat completions (OpenAI format)
    /v1/modelsGETList available models

    Available Models

    Model IDDescription
    interpretos-autoAutomatic model selection (default)
    interpretos-fastFast model for simple lookups
    interpretos-smartSmart model for complex analytical queries

    Authentication

    Use your Interpretos API key (created in Admin Panel > API Keys) as the Bearer token. The OpenAI SDK sends this automatically when you set api_key.

    Streaming

    Streaming is supported (stream: true). The chatbot processes the full query and returns the complete response in a single chunk, followed by [DONE].

    Third-Party Platform Configuration

    When connecting Interpretos to platforms like Sana, configure:

    SettingValue
    Base URLhttps://your-interpretos-host:8080/v1
    API KeyYour ik_... key
    Modelinterpretos-auto

    Notes

  • Conversations are stateful: consecutive requests using the same API key share the chatbot session, so multi-turn queries work naturally.
  • Charts and tables: responses that would normally include charts in the Interpretos UI are automatically converted to markdown tables for compatibility.
  • Parameters like temperature, max_tokens, and top_p are accepted but ignored — the chatbot manages its own LLM settings.
  • Function calling and tool use are not exposed — the chatbot handles tools internally.
  • User Endpoints

    EndpointMethodDescription
    /api/auth/meGETGet current user info
    /api/auth/logoutPOSTLogout
    /api/auth/change-passwordPOSTChange own password
    /api/model-presetsGETList available model presets
    /api/model-presetPOSTSwitch active model preset (fast/smart/auto)
    /api/rag-modePOSTChange RAG mode
    /api/rag-modesGETList available RAG modes
    /api/ebs-loginPOSTEBS user login (establish RBAC context)
    /api/ebs-logoutPOSTEBS logout
    /api/ebs-statusGETCheck EBS login status
    /api/psft-loginPOSTPeopleSoft user login
    /api/psft-logoutPOSTPeopleSoft logout
    /api/psft-statusGETCheck PeopleSoft login status
    /api/users/{username}/custom-instructionsGETGet personal custom instructions
    /api/users/{username}/custom-instructionsPUTSet personal custom instructions
    /api/credentials/testPOSTTest credential connectivity

    Admin Endpoints

    EndpointMethodDescription
    /api/admin/usersGETList all users
    /api/admin/usersPOSTCreate user
    /api/admin/users/{username}DELETEDelete user
    /api/admin/users/{username}/passwordPUTReset password
    /api/admin/users/bulkPOSTBulk create/update users (max 500)
    /api/users/{username}/credentials/{integration}PUTSet per-user credentials
    /api/users/{username}/credentials/{integration}GETGet per-user credentials
    /api/users/{username}/credentials/{integration}DELETEDelete per-user credentials
    /api/admin/credentials/bulkPOSTBulk set credentials (max 500)
    /api/admin/api-keysGETList API keys
    /api/admin/api-keysPOSTCreate API key
    /api/admin/api-keys/{id}DELETERevoke API key
    /api/admin/settingsGETGet all settings
    /api/admin/settings/llmPUTUpdate LLM provider
    /api/admin/settings/llm/testPOSTTest LLM connection
    /api/admin/settings/rag-llmPUTConfigure pattern selection LLM
    /api/admin/settings/rag-llm/testPOSTTest pattern selection LLM
    /api/admin/settings/ebsPUTUpdate EBS connection
    /api/admin/settings/ebs/testPOSTTest EBS connection
    /api/admin/settings/peoplesoftPUTUpdate PeopleSoft connection
    /api/admin/settings/peoplesoft/testPOSTTest PeopleSoft connection
    /api/admin/settings/model-presetsPUTSave model presets (up to 3)
    /api/admin/settings/model-presets/testPOSTTest a model preset
    /api/admin/settings/custom-instructions/{integration}GETGet admin-wide instructions
    /api/admin/settings/custom-instructions/{integration}PUTSet admin-wide instructions
    /api/admin/settings/uiPUTControl UI element visibility
    /api/admin/settings/maximo-connectionsGETList the connected Maximo systems (no secrets)
    /api/admin/settings/maximo-connectionsPUTReplace the list of additional Maximo systems (up to 4); optional name for the first system
    /api/admin/smart-quotaGETView smart model quota and usage
    /api/admin/smart-quotaPUTSet daily smart model limit
    /api/admin/licenseGETView license status
    /api/admin/licensePOSTUpload/install license
    /api/admin/restart-setupPOSTRestart setup wizard
    /api/admin/patterns/customGETList custom patterns
    /api/admin/patterns/customPOSTCreate custom pattern
    /api/admin/patterns/custom/{id}GETGet pattern details
    /api/admin/patterns/custom/{id}PUTUpdate pattern
    /api/admin/patterns/custom/{id}DELETEDelete pattern
    /api/admin/patterns/custom/{id}/testPOSTTest pattern with a query
    /api/admin/patterns/custom/{id}/togglePUTEnable/disable pattern
    /api/admin/patterns/custom/{id}/duplicatePOSTClone pattern
    /api/admin/patterns/custom/{id}/exportGETExport single pattern (JSON)
    /api/admin/patterns/custom/exportGETExport all patterns (JSON bundle)
    /api/admin/patterns/custom/importPOSTImport patterns from JSON
    /api/admin/diagnostics/test-connectionsPOSTTest all connections
    /api/admin/diagnostics/healthGETSystem health dashboard
    /api/admin/diagnostics/errorsGETRecent errors
    /api/admin/diagnostics/log-levelGETCurrent log level
    /api/admin/diagnostics/log-levelPUTSet log level (DEBUG/INFO/WARNING)
    /api/admin/diagnostics/exportGETDownload support bundle
    /api/admin/audit/queriesGETQuery audit log
    /api/admin/audit/telemetryGETTelemetry transmission log
    /api/admin/audit/telemetry/previewGETPreview next telemetry payload
    /api/admin/audit/telemetry/settingPUTToggle telemetry on/off
    /api/admin/llm-capture/statusGETLLM capture status
    /api/admin/llm-capture/togglePOSTEnable/disable LLM capture
    /api/admin/llm-capture/configurePUTConfigure capture settings
    /api/admin/llm-capture/callsGETList captured LLM calls
    /api/admin/llm-capture/calls/{id}GETGet captured call details
    /api/admin/llm-capture/replay/{id}POSTReplay a captured LLM call
    /api/admin/updates/checkGETCheck for updates
    /api/admin/updates/installPOSTInstall pattern updates
    /api/admin/updates/statusGETLast update check result
    /api/admin/updates/installedGETList installed pattern packs

    Admin Assistant Endpoints

    EndpointMethodDescription
    /api/setup/assistant/chatPOSTChat with the admin assistant (setup token during setup, admin-only after). Optional pattern_id (and pattern_tab) gives the assistant read-only facts about that pattern
    /api/assistant/conversationsGETList assistant conversations
    /api/assistant/conversationsPOSTCreate new assistant conversation
    /api/assistant/conversations/{id}GETLoad assistant conversation
    /api/assistant/conversations/{id}DELETEDelete assistant conversation
    /api/assistant/conversations/{id}/titlePUTRename assistant conversation

    Demo Endpoints (DEMO_MODE only)

    EndpointMethodDescription
    /api/demo/configGETPublic demo configuration
    /api/demo/startPOSTStart demo registration (email verification)
    /api/demo/verifyPOSTVerify email code and create demo account
    /api/demo/statusGETCurrent demo session status

    Bulk Provisioning

    For enterprise deployments, use the bulk endpoints to create users and assign credentials in batch.

    Bulk user creation (POST /api/admin/users/bulk):

    
    {
      "users": [
        {
          "username": "jsmith",
          "password": "Welcome123!",
          "display_name": "Jane Smith",
          "role": "user",
          "credentials": {
            "oracle_ebs": {
              "EBS_DB_USER": "JSMITH",
              "EBS_DB_PASSWORD": "...",
              "EBS_DB_SERVICE": "VIS"
            }
          }
        }
      ],
      "update_existing": false
    }
    

    Response includes created, updated, skipped, and errors counts. Max 500 users per request.

    Bulk credential assignment (POST /api/admin/credentials/bulk):

    
    {
      "assignments": [
        {
          "username": "jsmith",
          "integration_id": "oracle_ebs",
          "credentials": {
            "EBS_DB_USER": "JSMITH",
            "EBS_DB_PASSWORD": "...",
            "EBS_DB_SERVICE": "VIS"
          }
        }
      ]
    }
    

    Max 500 assignments per request.


    Advanced Configuration

    Query Limits

    Two limits control how far a single question may go:

    LimitWhat it doesDefault
    Query timeoutHow long one question may run before the user is told it timed out570s
    Conversation token budgetTotal tokens a conversation may use before the user is asked to start a new chat250,000

    An admin sets both from Admin Panel → Settings → Query Limits. Leaving a

    field blank restores the default. Changing the token budget reloads existing

    chat sessions so they pick up the new value; changing the timeout takes effect

    on the next question.

    An operator sets the maximum an admin is allowed to choose, in a JSON file

    the admin panel never writes — by default /app/data/limits.json, or the path

    in CDDI_LIMITS_FILE:

    
    {
      "max_tokens_ceiling": 1000000,
      "query_timeout_ceiling": 570
    }
    

    Both keys are optional; a missing file means the built-in ceilings apply

    (1,000,000 tokens, and for the timeout whatever the web server allows). The

    file is read on each request, so edits take effect without a restart. If it is

    missing or malformed the built-in ceilings apply and a warning is logged —

    a bad file can never widen what an admin may set.

    The query timeout has a hard ceiling that limits.json cannot lift. The

    three timeouts must stay in order:

    
    app query timeout  <  gunicorn --timeout  <  load balancer idle timeout
    

    The app refuses any timeout above the gunicorn worker timeout minus 30s

    headroom (570s on the standard 600s worker). Above that, gunicorn kills the

    request before the app can answer and the user gets a raw gateway error

    instead of the "try a simpler question" message — worse than the problem the

    higher timeout was meant to solve. limits.json may set a *lower* ceiling.

    To genuinely allow longer queries, raise all three: CDDI_GUNICORN_TIMEOUT on

    the container (it drives the real --timeout flag), then the load balancer's

    idle timeout. The app ceiling follows automatically.

    > The token ceiling is a cost and runaway guard, not a model limit. The AI

    > model's own context window is the real limit and may bite first.

    Environment Variables

    These environment variables can be set on the Docker container to override settings.

    LLM Provider

    VariableDescriptionDefault
    LLM_PROVIDERActive provider (google, openai, anthropic, custom)From setup
    LLM_MODELActive model nameFrom setup
    LLM_BASE_URLCustom endpoint URL—
    LLM_EXTRA_PARAMSJSON for provider-specific params{}
    GOOGLE_API_KEYGoogle Gemini API key—
    OPENAI_API_KEYOpenAI API key—
    OPENAI_BASE_URLOpenAI-compatible base URL—
    ANTHROPIC_API_KEYAnthropic API key—

    Pattern Selection LLM (overrides UI settings)

    VariableDescription
    RAG_LLM_PROVIDERDedicated RAG LLM provider
    RAG_LLM_MODELDedicated RAG LLM model
    RAG_LLM_API_KEYDedicated RAG LLM API key
    RAG_LLM_BASE_URLDedicated RAG LLM endpoint
    RAG_LLM_EXTRA_PARAMSJSON params for pattern selection

    Oracle EBS

    VariableDescription
    DB_CONNECTION_MODEssh or direct
    DB_HOST / EBS_DB_HOSTDirect DB hostname
    DB_PORT / EBS_DB_PORTDirect DB port (default 1521)
    DB_USER / EBS_DB_USERDatabase username
    DB_PASSWORD / EBS_DB_PASSWORDDatabase password
    DB_SERVICE / EBS_DB_SERVICETNS service name
    SSH_HOST / EBS_SSH_HOSTSSH server hostname
    SSH_USER / EBS_SSH_USERSSH username
    SSH_KEY_PATH / EBS_SSH_KEY_PATHPath to SSH private key
    ORACLE_HOME / EBS_ORACLE_HOMEOracle home directory
    EBS_TNS_ADMINTNS admin path (auto-derived from Oracle Home if not set)

    PeopleSoft

    VariableDescription
    PSFT_SSH_HOSTSSH server
    PSFT_SSH_USERSSH username
    PSFT_SSH_KEY_PATHSSH key path
    PSFT_ORACLE_HOMEOracle home
    PSFT_DB_USERDB username (default: SYSADM)
    PSFT_DB_PASSWORDDB password
    PSFT_DB_SERVICEDB service
    PSFT_PDB_NAMEPDB container name
    PSFT_TNS_ADMINTNS admin path

    Maximo

    VariableDescription
    API_BASEMaximo REST API base URL
    API_KEYMaximo API key
    MAXIMO_AUTH_TYPEmaxauth or api_key

    System

    VariableDescriptionDefault
    CDDI_DATA_DIRData storage path/app/data
    CDDI_SECRET_KEYFlask secret key (set for production)Auto-generated
    CDDI_LOG_LEVELLogging levelINFO
    CDDI_TELEMETRYEnable telemetryfalse
    CDDI_LLM_CAPTUREEnable LLM call recordingfalse
    CDDI_QUERY_TIMEOUTQuery timeout in seconds. Overridden by the admin setting when one is saved570
    CDDI_MAX_TOKENSConversation token budget. Overridden by the admin setting when one is saved250000
    CDDI_LIMITS_FILEPath to the operator ceilings file/limits.json
    CDDI_GUNICORN_TIMEOUTWeb-server worker timeout; also sets the hard ceiling for the query timeout600

    See [Query Limits](#query-limits) for how these interact — an admin setting

    beats the environment variable, and the operator ceilings file beats both.

    DEMO_MODEEnable demo modefalse

    Override precedence: Environment variable > UI/setup wizard setting > default value.

    Browser security headers

    Every response carries a Content-Security-Policy, enforced, with nothing to

    configure. The web UI may load scripts, styles, fonts and images only from the

    Interpretos server itself, plus one pinned chart library from

    cdn.jsdelivr.net. The browser may call only the Interpretos server and

    llm.interpretos.com (used by the free-trial step of the setup wizard). Images

    from other sites are not displayed.

    VariableDescriptionDefault
    CDDI_CSPA one-line policy that replaces the built-in one, or off to send none (logged as a warning at start-up).unset (built-in policy)
    CDDI_CSP_REPORT_ONLYSet to 1 to send the policy as report-only: the browser logs violations to its console but blocks nothing. Use it to try a custom policy.unset (enforced)

    If a reverse proxy in front of the container adds its own

    Content-Security-Policy, the browser applies both, and the stricter one wins.

    Hosting behind a load balancer or reverse proxy

    VariableDescriptionDefault
    CDDI_TRUSTED_PROXIESComma-separated CIDR ranges of the load balancer / reverse proxy in front of the container (for example the balancer's VPC range, 10.20.0.0/16). X-Forwarded-For and X-Forwarded-Proto are believed only when the connecting peer is inside one of these ranges; a header sent by any other caller is ignored.empty

    Set it on every hosted deployment. When it is empty and TLS ends at a load

    balancer, the app sees every request as plain HTTP from the balancer's address:

    the Strict-Transport-Security (HSTS) header is not sent, and the login

    throttle counts every user as one IP address. Do not widen it to 0.0.0.0/0 —

    that lets any caller forge their address and the HTTPS flag. See

    docs/HARDENING.md section 2 for the other per-deployment settings.

    Malware scanning of chat attachments

    Every file attached to a conversation is scanned for malware before it is parsed

    or stored. This is on by default: the compose file starts a ClamAV scanner

    (clamav) next to the application, reachable only from the application container.

    A flagged file is refused, and an attachment_malware_blocked event with the

    signature name is written to the auth log.

    VariableDescriptionDefault
    CDDI_CLAMD_ADDRAddress of the ClamAV daemon (clamd), as host:port or unix:/path/to/clamd.sock. Set it to off to switch scanning off; attachments are then stored unscanned and the start-up log carries a warning.clamav:3310 (the bundled scanner)
    CDDI_CLAMD_FAIL_OPENWhat happens when the scanner cannot be reached. Unset: the upload is refused (HTTP 503, attachment_scan_unavailable in the auth log). 1: the upload is accepted unscanned and an error is logged.unset (refuse)
    CDDI_CLAMD_TIMEOUTSeconds to wait for a verdict.10

    The scanner needs about 1 GB of memory and outbound HTTPS to

    database.clamav.net for signature updates. On a network with no internet

    access, point CDDI_CLAMD_ADDR at a clamd your organisation already runs.

    Upgrading an existing instance: if the instance is started from your own

    compose file or task definition, add the clamav service from the shipped

    docker-compose.yml (or set CDDI_CLAMD_ADDR). Until a scanner is reachable,

    attaching a file fails with "the malware scanner is not available". Nothing else

    is affected. The start-up log states whether scanning is on and where the

    scanner is.

    RAG Configuration

    Advanced RAG behavior can be tuned via /app/config/rag_config.yaml. Most admins will not need to modify this file — the defaults work well for all supported integrations.

    Key settings:

  • retrieval.top_k: Number of patterns to retrieve (default: 3)
  • retrieval.min_score_threshold: Minimum relevance score (default: 0.5)
  • retrieval.scoring_weights: Weight distribution — semantic (0.40), entity (0.25), aspect (0.20), table (0.10), intent (0.05)
  • boosting.rules: Boost specific patterns for specific keywords
  • agentic_rag.enabled: Use LLM-powered pattern selection (default: false, enabled via UI)
  • token_optimization.enable_compression: Compress prompts for token efficiency (default: true)
  • Configuration Files

    FilePurposeFormat
    /app/data/setup_config.jsonAll setup configuration (encrypted)JSON
    /app/config/rag_config.yamlRAG behavior tuningYAML
    /app/data/smart_quota.jsonDaily smart model quota per userJSON
    /app/data/custom_patterns/User-created patterns (encrypted)JSON files
    /app/data/pattern_history/Pattern version history, evidence, notes (back up with custom_patterns)JSONL + encrypted JSON
    /app/data/telemetry_audit.jsonlTelemetry transmission auditJSONL
    /app/data/query_audit.jsonlSQL/API query audit logJSONL

    Automation Cookbook

    These recipes show how to use the REST API to automate common administrative tasks. All examples use Python with the requests library.

    1. Bulk User Creation from CSV

    
    import csv
    import requests
    
    BASE = "http://localhost:8080"
    HEADERS = {"X-API-Key": "ik_your_admin_key", "Content-Type": "application/json"}
    
    with open("users.csv") as f:
        for row in csv.DictReader(f):  # columns: username, display_name, password, role
            resp = requests.post(f"{BASE}/api/admin/users", headers=HEADERS, json={
                "username": row["username"],
                "display_name": row["display_name"],
                "password": row["password"],
                "role": row.get("role", "user")
            })
            print(f"{row['username']}: {resp.json().get('status', resp.status_code)}")
    

    CSV format:

    
    username,display_name,password,role
    jsmith,Jane Smith,Welcome123!,user
    mbrown,Mike Brown,Welcome123!,user
    admin2,Senior Admin,SecurePass!,admin
    

    For large deployments (50+ users), use the bulk endpoint instead:

    
    import csv
    import requests
    
    BASE = "http://localhost:8080"
    HEADERS = {"X-API-Key": "ik_your_admin_key", "Content-Type": "application/json"}
    
    users = []
    with open("users.csv") as f:
        for row in csv.DictReader(f):
            users.append({
                "username": row["username"],
                "display_name": row["display_name"],
                "password": row["password"],
                "role": row.get("role", "user")
            })
    
    resp = requests.post(f"{BASE}/api/admin/users/bulk", headers=HEADERS, json={
        "users": users,
        "update_existing": False
    })
    result = resp.json()
    print(f"Created: {result['created']}, Skipped: {result['skipped']}, Errors: {len(result['errors'])}")
    

    2. Bulk Credential Assignment

    
    import csv
    import requests
    
    BASE = "http://localhost:8080"
    HEADERS = {"X-API-Key": "ik_your_admin_key", "Content-Type": "application/json"}
    
    with open("credentials.csv") as f:
        for row in csv.DictReader(f):  # columns: username, db_user, db_password, ...
            resp = requests.put(
                f"{BASE}/api/users/{row['username']}/credentials/oracle_ebs",
                headers=HEADERS,
                json={
                    "EBS_DB_USER": row["db_user"],
                    "EBS_DB_PASSWORD": row["db_password"],
                    "EBS_DB_SERVICE": row.get("db_service", "VIS"),
                    "username": row.get("ebs_username", row["username"])
                }
            )
            print(f"{row['username']}: {resp.json().get('status', resp.status_code)}")
    

    3. Automated Health Monitoring

    
    import requests
    import smtplib
    from email.mime.text import MIMEText
    
    BASE = "http://localhost:8080"
    HEADERS = {"X-API-Key": "ik_your_admin_key"}
    
    # Check health
    health = requests.get(f"{BASE}/api/health")
    if health.status_code != 200:
        # Send alert email
        msg = MIMEText(f"Interpretos health check failed: {health.status_code}")
        msg["Subject"] = "ALERT: Interpretos Down"
        msg["From"] = "monitoring@company.com"
        msg["To"] = "admin@company.com"
        with smtplib.SMTP("smtp.company.com") as s:
            s.send_message(msg)
    
    # Test all connections
    conns = requests.post(f"{BASE}/api/admin/diagnostics/test-connections", headers=HEADERS)
    for result in conns.json().get("results", []):
        if result.get("status") != "ok":
            print(f"FAILED: {result['name']} - {result.get('error', 'unknown')}")
    

    4. Scheduled Daily Report

    
    import requests
    
    BASE = "http://localhost:8080"
    HEADERS = {"X-API-Key": "ik_reports_user_key", "Content-Type": "application/json"}
    
    questions = [
        "How many purchase orders were approved this week?",
        "Show me the top 5 vendors by PO spend this month",
        "Are there any overdue work orders?"
    ]
    
    for q in questions:
        resp = requests.post(f"{BASE}/api/chat", headers=HEADERS, json={"message": q})
        data = resp.json()
        print(f"\nQ: {q}")
        print(f"A: {data.get('response', data.get('message', 'No response'))}")
    
    # Reset conversation for next run
    requests.post(f"{BASE}/api/reset", headers=HEADERS)
    

    5. User Offboarding Script

    
    import requests
    
    BASE = "http://localhost:8080"
    HEADERS = {"X-API-Key": "ik_your_admin_key"}
    
    username = "departing_user"
    resp = requests.delete(f"{BASE}/api/admin/users/{username}", headers=HEADERS)
    print(f"Deleted {username}: {resp.json()}")
    # This removes the user account, all their credentials, API keys, and chat history
    

    6. Custom Pattern via API

    
    import requests
    
    BASE = "http://localhost:8080"
    HEADERS = {"X-API-Key": "ik_your_admin_key", "Content-Type": "application/json"}
    
    # Create a custom pattern for EBS employee lookup
    resp = requests.post(f"{BASE}/api/admin/patterns/custom", headers=HEADERS, json={
        "integration": "oracle_ebs",
        "description": "Employee lookup by employee number",
        "query_type": "sql",
        "query": "SELECT employee_number, full_name, email_address FROM per_all_people_f WHERE employee_number = :emp_num AND SYSDATE BETWEEN effective_start_date AND effective_end_date",
        "example_questions": ["Who is employee 12345?", "Show employee details for 67890"],
        "entity_types": ["employee", "person", "hr"],
        "tables": ["PER_ALL_PEOPLE_F"]
    })
    print(f"Created: {resp.json()['pattern']['pattern_id']}")
    
    # Export all patterns for backup
    resp = requests.get(f"{BASE}/api/admin/patterns/custom/export", headers=HEADERS)
    with open("patterns_backup.json", "w") as f:
        f.write(resp.text)
    print(f"Exported {resp.json()['count']} patterns")
    

    7. Export Query Audit for Compliance

    
    import requests
    import json
    
    BASE = "http://localhost:8080"
    HEADERS = {"X-API-Key": "ik_your_admin_key"}
    
    # Get query audit log
    audit = requests.get(f"{BASE}/api/admin/audit/queries", headers=HEADERS)
    entries = audit.json().get("entries", [])
    
    # Write to file for compliance archive
    with open(f"query_audit_export.jsonl", "w") as f:
        for entry in entries:
            f.write(json.dumps(entry) + "\n")
    
    print(f"Exported {len(entries)} audit entries")
    

    8. Smart Quota Management

    
    import requests
    
    BASE = "http://localhost:8080"
    HEADERS = {"X-API-Key": "ik_your_admin_key", "Content-Type": "application/json"}
    
    # Check current quota and usage
    resp = requests.get(f"{BASE}/api/admin/smart-quota", headers=HEADERS)
    data = resp.json()
    print(f"Daily limit: {data['daily_limit']}")
    for user, count in data.get('usage', {}).items():
        print(f"  {user}: {count}/{data['daily_limit']} smart queries today")
    
    # Increase the limit
    requests.put(f"{BASE}/api/admin/smart-quota", headers=HEADERS, json={"daily_limit": 50})
    

    Security Recommendations

    Database Credentials

  • Always use read-only accounts. The chatbot only needs SELECT access. Create a dedicated read-only user (e.g., APPS_RO for EBS, PS_RO for PeopleSoft)
  • Check the "read-only acknowledgment" checkbox in the setup wizard as a defense-in-depth reminder
  • SSH Keys

  • Use dedicated SSH keys for the Interpretos service account — do not reuse personal keys
  • Keys must be in PEM format (starts with -----BEGIN RSA PRIVATE KEY-----)
  • Convert OpenSSH format keys: ssh-keygen -p -m PEM -f your_key
  • Network Security

  • Place a reverse proxy (Nginx, Caddy, HAProxy) with TLS in front of the instance for production
  • Set the CDDI_SECRET_KEY environment variable rather than relying on the auto-generated file
  • Restrict network access to the Interpretos port (default 8080) to authorized users
  • Maximo API Keys

  • Create API keys with minimal permissions — read-only access to object structures
  • Use a dedicated Maximo service account, not a personal admin account
  • RBAC Best Practices

  • Configure per-user credentials for every user who should have restricted access
  • A user without a credential of their own for a system is refused, never given a shared or global connection
  • Test RBAC by logging in as a restricted user and verifying they only see their authorized data
  • Review the query audit log to verify credential isolation is working
  • API Key Management

  • Create dedicated users for each bot/automation with appropriate RBAC restrictions
  • Name keys descriptively ("Slack Bot - Read Only", "ETL - EBS Only")
  • Revoke keys immediately when no longer needed
  • API keys are shown once at creation — store them securely (e.g., in a secrets manager)
  • Sensitive Data

  • All credentials in setup_config.json are encrypted at rest using Fernet symmetric encryption
  • Custom patterns are also encrypted at rest
  • The support bundle explicitly excludes credentials, SQL text, conversation content, and usernames

  • Troubleshooting

    EBS: "SSH connection failed"

  • Verify SSH host is reachable: telnet 22
  • Check key format: must be PEM (-----BEGIN RSA PRIVATE KEY-----)
  • Verify SSH user has access: ssh -i key.pem user@host
  • Check Oracle Home path: run echo $ORACLE_HOME on the server
  • EBS: "ORA-12154: TNS could not resolve connect identifier"

  • Wrong service name. Check tnsnames.ora on the DB server or ask your DBA
  • Verify the service name in the DB Service field matches exactly
  • EBS: "ORA-01017: invalid username/password"

  • Check DB User and DB Password. Note: Oracle passwords are case-sensitive in 11g+
  • Verify the account is not locked: SELECT account_status FROM dba_users WHERE username = 'YOUR_USER'
  • PeopleSoft: "ORA-65024: ALTER SESSION SET CONTAINER not allowed"

  • The DB user needs the SET CONTAINER privilege: GRANT SET CONTAINER TO your_user
  • Or connect directly to the PDB instead of the CDB
  • PeopleSoft: "PDB not found"

  • Check the PDB name: SELECT name FROM v$pdbs (run as SYSDBA on the CDB)
  • Common PDB names: HCMVRS, CSUAT, HRPRD, FSPRD
  • Maximo: "401 Unauthorized"

  • For MAS 9.x: verify API key is generated in Administration > API Keys
  • For 7.6: verify username and password are correct
  • Check that the user has access to the OSLC API
  • Maximo: "Connection refused" or "timeout"

  • Verify base URL includes /maximo (not /maximo/api)
  • Check firewall: telnet 443 (or 80 for HTTP)
  • Verify Maximo application server is running
  • Maximo: "Your own credential for is missing"

  • The user has no sign-in stored for the Maximo system selected in the System list. A sign-in for one Maximo system is never used on another.
  • Admin Panel > Credentials: select the user, select the system by name in Integration, enter the user's own sign-in, test and save.
  • After a system's address is changed, its stored sign-ins are deleted and must be entered again.
  • Maximo: "The Maximo system this conversation was using is no longer configured"

  • An administrator removed that system. Pick another one in the System list.
  • LLM: "API key not valid"

  • Regenerate the key from the provider's console
  • Check for leading/trailing whitespace in the key field
  • Verify the key hasn't been rotated or revoked
  • LLM: "Model not found"

  • Model names change. Check the provider's current model list
  • For custom providers: ensure the model name matches what's available on your endpoint
  • Slow responses

  • Enable Pattern Selection LLM with a fast model (Settings > Advanced)
  • If using Gemini 3 Flash for pattern selection, set Extra Parameters to {"thinking_budget": 0} — thinking mode is on by default and adds 20-50s of unnecessary delay
  • For EBS: switch from SSH mode to Direct DB mode (1-3s vs 11-17s)
  • Check LLM provider latency: the "Test Connection" button shows response time
  • Enable debug logging temporarily to see which step is slow
  • The system uses generous LLM output limits (16384 tokens) to prevent truncated responses that would trigger retries — this is intentional and reduces overall cost
  • Smart model quota exhausted

  • Users see a message when their daily smart model quota is used up
  • Queries fall back to the fast model automatically
  • Admin can increase the limit: Admin Panel > Settings > Model Options, or PUT /api/admin/smart-quota
  • Quota resets daily at midnight
  • Admin assistant not responding

  • The assistant requires a configured LLM (Step 2 of setup must be completed)
  • Check that the LLM provider is working: Admin Panel > Diagnostics > Test All Connections
  • For Interpretos Cloud users: the assistant uses the cloud proxy which may have its own rate limits

  • Documentation Links

  • Terms of Service: /docs/terms
  • Privacy Policy: /docs/privacy
  • Security Policy: /docs/security
  • Administrator Guide: /docs/admin-guide
  • API Documentation: /api/docs (interactive Swagger UI)
  • OpenAPI Specification: /api/docs/openapi.yaml

  • *Interpretos Local is developed by Code Development Limited. For support, visit interpretos.ai.*

    Grants: the analyst lane and the service-request action (2026.1.127)

    Two capabilities are switched on per user, never inherited from the licence:

  • Analyst SQL (analyst-sql) — lets that user's questions run read-only SQL over the extract
  • through the runner service. Grant it to named power users only; every statement is logged.

  • Service requests (actions-sr) — lets that user raise a Maximo service request from chat.
  • The assistant drafts, the user confirms, the request is created with the user's own Maximo

    credentials, and only against this deployment's configured Maximo. Nothing is created without

    the explicit confirm.

    Set either with the checkbox in the user table, or PUT /api/admin/users//grants

    with {"feature": "analyst-sql", "enabled": true}. Turning one on never turns the other on.

    Audit knowledge. If a Data Quality Audit has been delivered on this deployment, the assistant

    answers audit questions from the audit and links to the Data Quality page. Users can flag a

    finding or a record as "not right"; flags land in the rules registry, which you review under the

    Data Quality page's coverage section.