Skip to content
Hexwave Lab
Strategy

Retrieval or fine-tuning for enterprise AI?

Hexwave Lab  ·  Field note

Choose retrieval when facts need frequent updates and evaluate behavior separately from factual recall.

Ask whether the information needs to change frequently or the response behavior needs to become more consistent. A pricing policy revised every month creates a different problem from a model that repeatedly returns a badly structured result.

A worked scenario

A policy assistant must distinguish changing facts from a stable response style.

Review stageExample
Source recordsA policy revision and a set of representative reader questions
ExceptionThe format is correct but the answer cites the superseded revision
Acceptance conditionThe evaluation separates source freshness from writing behavior

Retrieve the evidence before drafting

A retrieval step selects relevant passages from a controlled collection. A language model can then draft an answer with those passages in view. A strong test deliberately includes a superseded policy alongside the active one to see whether the application can choose the right source.

Starting evidenceAction to inspectCompletion check
A policy questionFind authorized current passagesCheck the answer against the cited passage

Keep the version, permission check and passage location next to the answer. Give the reader a direct way to open the original in context and report a stale result.

Choose what the system should learn

A change in writing style and a change in company policy need different tests. Create one group of examples for output behavior and another for facts that expire. Keep them separate when evaluating an update so a cleaner style cannot conceal a less accurate answer.

Set aside examples before making an adjustment. Have a reviewer inspect them without seeing which version produced the result and record disagreements with the rubric.

Inspect how the collection is divided

A retrieved passage should contain enough context to answer a question without smuggling in unrelated material. Preserve section boundaries, document identities and version dates. A table header separated from its values is a poor retrieval unit.

Choose an example that depends on an exception in the next paragraph. Test whether the retrieved context includes the exception and whether the answer cites it.

Putting it into practice

Change a source policy after the evaluation set is prepared. Measure whether the system can surface the new policy and cite its version without losing the agreed output format.

Explore Hexwave Lab’s approach to AI workflow automation.

Hexwave Lab

Plan a discovery call

Scheduling will open once a booking calendar is connected. You can prepare your project brief on the contact page.

Prepare a brief