
The customer need
The customer wanted to use modern AI while keeping sensitive information in its own environment. It also wanted to explore how language models could support new capabilities in its products.
The organisation already worked with its own servers and established security practices. The challenge was to introduce AI within those requirements: local document processing and model execution, without sending document content to external AI services.
For the intended use cases, finding a plausible answer was not enough. The team needed a way to retrieve the relevant material, trace answers back to it and identify questions the available documents could not answer.
What we built together
COPA and the customer worked together on architecture and implementation, starting with the local server environment and building the software around it.
The current implementation includes:
- A document-processing pipeline that prepares material for search and retrieval.
- A chat interface that uses retrieved document passages when generating answers.
- A web interface for managing work packages, ingesting documents, configuring agents and running evaluations.
- An integration that lets an AI-assisted workflow use the same retrieval tools. An alarm-related workflow has been implemented and used in evaluation runs.
Model choices, prompts and settings can be adjusted through configuration. Shared retrieval functions support both chat and workflow use, providing a foundation for further use cases.
A practical lesson from document processing
During development, the team found that a short specification could disappear when a document was split into smaller passages. A length filter discarded the short passage even though it contained information needed to answer a question. The team changed the processing so that short passages stayed with their surrounding context.
Another challenge involved numbered sections with very similar wording. The team made individual sections retrievable by their identifiers, so retrieval could target a particular section rather than relying only on text similarity.
These examples shaped a useful testing approach: include questions that depend on a small detail or a specific section, and inspect the retrieved source alongside the generated answer.
Evaluating the answers and the checks
The team has built an evaluation pipeline and run checks against the alarm-related workflow. The checks examine matters such as whether references resolve to stored evidence and whether generated claims are supported by the documents.
The evaluation process itself is also being validated. A reference-format check or a text-overlap check can flag something to investigate; neither alone establishes whether an entire answer is correct. The team is continuing to refine document ingestion, evaluation scoring and agent prompts to address the failure modes found during testing.
Benefits beyond the original scope
The local AI environment and workflow-building tools have also opened up uses beyond the original project scope. The same framework is being connected to more internal data sources and tools, including issue tracking and CRM functions. These connections are giving a wider group of people insight into company operations than originally intended.
What began with technical documentation and product capabilities is also becoming a way to make internal information useful across more of the organisation. The shared framework gives the team a foundation to build on as these additional uses emerge.
Where the work stands
The collaboration has produced a local environment and an implemented prototype connecting documents, chat, configurable agents and workflows. Validation continues as the team extends the framework to additional internal uses. The work provides a basis for testing further product capabilities; measured business benefits are still to be established.
Explore a local AI use case with COPA
This collaboration reflects the work COPA can support: defining a use case, establishing a local AI environment, integrating documents and workflows, and building evaluation into development.
If your organisation wants to use AI with information that needs to remain in its own environment, contact COPA to discuss the requirements and a practical first use case.
