Let’s talk ↗

Services / AI data preparation

AI data preparation for your company’s documents and systems.

Discovery, preparation and integration from our applied AI lab in Notting Hill, London. Working with clients internationally.

AI data preparation establishes which information an assistant or agent needs, extracts and restructures it, and connects it to the system that will use it. The work includes discovery, business rules, access permissions and testing.

The work might produce a checked collection of documents, a searchable knowledge base or tools that query your existing databases. We can deliver directly or work alongside your AI supplier.

What does discovery establish?

Discovery establishes the task, the sources that support it, the rules for using them and the requirements of the receiving system. Converting a Word file to Markdown can be straightforward; establishing which files apply and how they relate to your business can take considerably more work.

We start with a task your assistant or agent needs to perform. With the people who own and use the information, we identify the supporting sources, map relationships and dependencies, and agree how conflicting versions, missing information and access restrictions should be handled.

For example, two handbooks may give different support hours. Finding the current handbook is one step; establishing whether a particular customer has a separate agreement may involve customer records and another department.

Depending on the organisation, discovery can be the largest part of the project. You receive a source inventory, agreed rules, identified gaps and a scoped recommendation. This may include changes to the source information, a smaller starting point or a different approach.

Documents, searchable knowledge and live connections.

These are examples of possible approaches. We choose the output around the task, the information and the system that will use it.

Preparing PDFs and Word documents for AI

PDFs, Word files and procedures

We can convert documents into Markdown or clean HTML, organise them into a suitable folder structure and add an index, source references and version information.

Scanned PDFs may need optical character recognition (OCR). We check headings, reading order, tables and exceptions against the originals, then test how the assistant finds and uses the prepared files. Folder organisation is designed around how your chosen system reads or searches them.

A support handbook becomes a checked collection that retains support hours, the premium-service exception, source and version.
Illustrative example: the table and its exception stay together, with a reference to the original handbook. Your team confirms which policy applies before we prepare it.

Building a searchable AI knowledge base

Manuals, reports and support articles

For collections that are impractical to read in full for each question, we extract the content into meaningful passages, retain their context and source references, and build a searchable index. Retrieval-augmented generation (RAG) uses retrieved information to support an AI-generated answer.

Vector search uses numerical representations called embeddings to find passages with related meanings. A question about “ending a contract” could find a section about “termination”. We can store these embeddings in a vector database or in Postgres with the pgvector extension.

Keyword search helps find exact names, product codes and technical terms. We may combine it with vector search and test both against your questions. A large file alone does not establish a need for a vector database.

See property records used by an AI assistant →

Preparing spreadsheets and structured data

Spreadsheets, catalogues and tables in reports

We can extract tables into checked CSV or JSON files, or load them into a relational database. We preserve the field meanings, units, identifiers and relationships needed to filter, compare and calculate correctly.

A price table needs its column headings, currency and qualifying footnotes. A product catalogue needs consistent identifiers and a clear relationship between products and variants. Where a diagram carries essential information, we retain the image or prepare a checked description alongside the text.

Connecting AI agents to databases and business systems

Postgres, MySQL, MariaDB, CRM and CMS systems

We can connect an agent to approved queries or business operations through tools and application programming interfaces (APIs), including Model Context Protocol (MCP) where appropriate. Orders, stock and customer records can remain in their existing systems.

An agent might look up an order by its identifier, then search your documents for the returns policy that applies. The database provides the current record; document search provides the supporting guidance.

We map the schema and business rules, agree the permitted operations, and test the connection. Access is enforced by the application and database. Any ability to change records is separately scoped.

An order question uses approved tools to look up a current database record and find its applicable returns policy, supporting the answer with both sources.
Illustrative workflow: the agent looks up order facts and retrieves policy guidance. The original records remain in your systems; the connection controls which operations and information the agent can access.

For background on the organisational work behind these outputs, read why AI data preparation matters.

Do you need files, a vector database or a live connection?

The choice depends on what the assistant needs to find or calculate, how much information it uses and how often that information changes. A vector database supports search by meaning; a relational database supports precise record queries. They can work together.

Common approaches and when they are useful
Approach Usually useful for
Markdown or HTML files Focused document collections that an assistant can read or search.
Keyword search Names, identifiers, product codes and precise terminology.
Vector search Finding related passages when a question uses different wording from the source.
Relational database queries Current records, filters, joins and calculations.
Combined retrieval and queries Tasks requiring both explanatory documents and business records.

A separate vector database is optional: Postgres with pgvector can hold embeddings alongside records. We test the approach against your tasks and agree how it will stay current.

Technical references: document conversion with Docling and vector search with pgvector.

Build a repeatable process. Check it against real tasks.

Once the scope is agreed, we build the extraction, transformation and loading process (ETL). We often write custom scripts tailored to your source systems, content structures and business rules. These make the preparation process repeatable and handle requirements that standard export tools do not cover. We start with representative information, check the results with your team and refine the process before expanding it.

We test both the prepared data and its use by the assistant: finding the correct sources, giving supported answers, recognising missing information and respecting access restrictions. A successful export is only one part of that check.

You receive the agreed outputs or connections, transformation rules, test results, known limitations and instructions for updates. We can hand the process over to your team or maintain it, including additions, corrections, deletions and access changes.

The starting point is a fixed-price, two-week discovery engagement, quoted after the initial free 15-minute discovery call. Preparation, integration and optional maintenance are quoted separately. Software, hosting and AI usage costs are identified before you commit.

From content migration to AI data preparation.

Another Intelligence is the applied AI lab from Another Cup of Coffee, founded in 2006. Anthony Lopez-Vito, our founder and principal consultant, ran its specialist content migration service for about ten years.

That work involved content audits, business and system dependencies, custom extraction, restructuring and validation. Those disciplines also underpin preparing information for AI, with additional testing of retrieval and answers.

Client feedback on our work

I cannot offer a higher recommendation for Anthony other than to see how easy he was to work with and how we he did on our project. Anthony handled the very complicated migration of our company web site from Joomla to WordPress over a three-month period. He brought superior technical and project management skills to the project at the outset and discovered aspects of the migration that I had never considered. His depth of expertise in migration projects guaranteed the success of the project.

We ran into some deep technical challenges and Anthony wrote some custom plugins to handle our needs in WordPress. His use of a project management system created easy tracking of the backlog and artifacts while making it easy to search for and located the myriads of details in the project. His knowledge was broad in that he understood all the aspects of the WordPress platform, including the technical details of the hosting environment.

I cannot recommend Anthony enough for another migration project but am pleased that he is willing to continue working with us on ongoing web design projects. Please feel free to connect with me if you have any question, just mention Anthony in your connection request.

Jim Hill · User Friendly Consulting, Inc.

We hired Anthony to perform a Drupal to WordPress migration of a multilingual legacy Drupal site we didn't fully understand ourselves. He guided us through the process with patience and persistence, meeting our at-times complicated requirements for handling the content. I absolutely recommend Anthony to anyone who needs to migrate off of Drupal!

Matthew Mirus · In Pursuit Of, LLC

Read more client feedback ↗

Working with your team and systems.

What do you need from us to get started?

We start with a free 15-minute discovery call to understand your project. We then quote a fixed price for a two-week discovery engagement. During discovery, we work with your team to establish the requirements, inspect representative information and recommend an implementation approach.

To get started, we need a task you want the assistant or agent to perform, representative sources, an explanation of your existing systems and access to someone who understands the information. We agree what may be shared before you send files. You do not need to organise the whole collection before discovery.

How do you check that the prepared information works?

We work with your team to agree practical tests based on real business tasks. Together, we choose representative questions and scenarios, establish what a satisfactory result looks like, and check the system against those expectations. This includes situations where information is missing, conflicting or restricted. We use the results to identify improvements and agree whether the system is ready for use.

What happens when our documents or records change?

We agree how additions, corrections, deletions and version changes reach the assistant, how update failures are reported and who maintains the source information. Your team can run the documented update process or have us maintain it. Live connections query current records subject to the source system’s freshness and availability.

How long does AI data preparation take?

Projects generally take from three weeks to several months, including discovery. Very complex projects can take six to twelve months. We begin with a two-week discovery engagement, then agree an implementation schedule based on the sources, integrations, organisational decisions and review work involved. Complex organisational discovery may continue during implementation.

Can our staff add documents themselves?

Yes. We can build an upload workflow that lets non-technical staff add documents to the system. Behind it, the agreed preparation process extracts and checks the content, records its source and version, and updates the searchable collection. We agree how exceptions and documents requiring review are handled, so routine updates do not depend on a developer.

Is AI data preparation the same as training a model?

No. This service prepares information for an assistant or agent to retrieve or query while it works. Training and fine-tuning change a model through a separate process. Making company knowledge available does not necessarily require either.

What determines the cost of AI data preparation?

The main factors are source complexity, organisational discovery, data quality, access requirements, integration and update frequency. File count alone does not establish the work required. After the initial free 15-minute discovery call, we quote a fixed price for a two-week discovery engagement. Preparation and integration are quoted separately, with optional maintenance. Software, hosting and AI usage costs are identified separately.

Can you work with our existing AI supplier?

Yes. We agree the preparation outputs, connection, access, responsibilities and acceptance tests with your team and supplier. Your supplier can continue building or maintaining the wider assistant.

How is confidential information handled?

Before processing begins, we agree what may be used, where it may be stored or sent, and who may access it. The scope can include local processing, exclusions and access controls in the receiving system.

Who owns the data and prepared outputs?

You retain ownership of your data and receive the agreed prepared outputs, rules, test results and documentation. Third-party software and licence requirements are identified before work begins. We agree whether your team or ours will run updates.

Discuss your AI project.

Tell us what your assistant or agent needs to do, where the information lives and what you have tried so far. We’ll discuss the requirements and a suitable starting point.

Book a discovery call ↗

A no-obligation 15-minute call. Assessment and implementation priced separately by quotation.

Prefer email? [email protected]