← All workflows

Workflow

Evaluate OpenAI retrieval and embedding choices

Compare managed File Search, custom embeddings and prompt or fine-tuning options on one labeled workload.

Sources checked:

What you can do

Build a repeatable test before selecting an index or model adaptation.

Use a shared corpus, comparable source evidence and a held-out evaluation set.

Build your execution checklist

Inputs are processed in this browser only and cleared when you close or refresh the page.

You want to choose how to retrieve and cite internal documents.

Read the full steps

Compare File Search with a self-managed index

You want to choose how to retrieve and cite internal documents.

  1. Use the same authorized documents, test questions and expected source citations for both pipelines.
  2. For managed File Search, request file_search_call.results and keep ranked chunks. For your own index, log equivalent retrieved chunk IDs and access-filter decisions.
  3. Compare recall at k, answer citation support, update delay, authorization and cost per accepted answer. Change one input variable at a time.

Size an embedding index correctly

You are changing embedding model or dimension and need compatible vectors.

  1. Fix the model and dimensions together in the index name or schema and validate one returned vector length.
  2. Re-embed both your corpus and queries when switching either setting. Estimate float32 vector payload as rows × dimensions × 4 bytes before index overhead.
  3. Compare recall at k, index size and query latency against the same labeled tasks before cutover.

Choose prompting, retrieval or eligible fine-tuning

You need to improve repetitive tasks and already have examples of failures.

  1. Group failures by missing source knowledge, wrong instruction or persistent format/behavior issue. Lock a representative evaluation set.
  2. Start with prompt changes for instruction problems and retrieval for missing or changing sources. Check actual fine-tuning eligibility only for persistent behavior after those baselines.
  3. Compare acceptance rate, time and cost on held-out examples. Keep retired or inaccessible features out of the production rollout.

Scope & limits

  • Actual retrieval quality, latency and cost require representative runs.

Verified sources

Templates are authored by Kunavo. External product behavior depends on the linked sources and your account settings.