How to install Witty
Witty is installed in the customer environment and connects to the language models, embedding models, and platform services required by its enabled capabilities. A language model processes requests and generates responses; an embedding model converts content into numerical representations for retrieval by meaning.
The Witty installation can include:
- Witty, the core service that provides the General Assistant and coordinates its configured skills and tools. General Assistant is the orchestrator that delegates work to suitable enabled agents.
- Docs Agent, an optionally deployed service included with the Witty license that exposes semantic search over Witboost documentation.
- Autocomplete Agent, an optional service that provides context-aware suggestions for form fields based on table data.
Before going through the prerequisites, make sure to read the requirements. Witty requires a language model to answer user requests. Capabilities that retrieve information by semantic meaning rather than exact wording also require an embedding model. Once the enabled services are running, configure the models through the Administration Panel, as described in the Configuration chapter.
Witty's embedding configuration supports documentation retrieval through Docs Agent. It is separate from the Product Search and Business Concept Search embedding configurations under Administration > Configuration > Marketplace. Configuring Witty's embedder does not configure either search feature, and configuring those features does not configure Witty's embedder. See Embedder Configuration for the configuration scopes.
Install Witty
In order to install Witty microservice, you need to enable and configure the witty module in the Witboost configuration file (values.yaml).
---
witty:
enabled: true
configOverride:
logger:
level: <DEBUG | INFO | WARNING | ERROR>
Install the Docs Agent
Docs Agent is a service that exposes semantic search over Witboost documentation. The Documentation Assistant uses it to retrieve relevant documentation and ground its answers. Docs Agent provides retrieval; the Documentation Assistant provides the conversational experience using Witty's language model.
Docs Agent is included with the Witty license, but deployment is optional. Enable it when documentation retrieval is needed; the license alone does not deploy the service.
In order to install the Docs Agent microservice, you need to enable and configure the docs-agent module in the Witboost configuration file (values.yaml).
---
docs-agent:
enabled: true
configOverride:
logger:
level: <DEBUG | INFO | WARNING | ERROR>
At startup, Docs Agent calculates embeddings, the numerical representations used to retrieve relevant documentation by meaning. This takes a few minutes. Once complete, the server starts.
Docs Agent needs pgvector (PostgreSQL extension vector) enabled in the public schema of the witty database, regardless of the schema used for application tables. Before starting the microservice, connect to the witty database (or its configured name) as a user with the required permissions and run:
CREATE EXTENSION IF NOT EXISTS vector WITH SCHEMA public;
IF NOT EXISTS does not move an extension already installed in another schema. If vector is installed outside public, have the database administrator relocate it before starting the microservice:
ALTER EXTENSION vector SET SCHEMA public;
For the full list of databases requiring pgvector and the recommendation to enable it on all other Witboost databases, see the database requirements.
Install the Autocomplete Agent
In order to install the Autocomplete Agent, you need to enable the autocomplete-agent module in the Witboost configuration file (values.yaml).
---
autocomplete-agent:
enabled: true
The Autocomplete Agent provides intelligent suggestions for form fields based on table data. No precomputation is required at startup; the service is ready to use immediately after deployment.