116 questionsQuestion · Short answer
Optimize generative AI systems and model performance
HNSW performs approximate nearest-neighbor retrieval, while exhaustive KNN scans the vector space to find the nearest neighbors under the configured metric. The choice trades retrieval efficiency, resource use and nearest-neighbor recall;…
Optimize generative AI systems and model performance
Measure whether required evidence reaches the selected context, then evaluate the actual generated answer separately. A better ranking is useful, but it does not prove that the model received enough evidence or answered correctly. One…
Optimize generative AI systems and model performance
Regenerate document vectors with the candidate embedding model and use that same model for queries. Matching vector dimensions and successful requests do not make vectors from different models interchangeable. Treat the transition as a…
Implement generative AI quality assurance and observability
Conclude that evidence is missing, rather than that the operation did not occur or succeeded. A missing retrieval span does not prove retrieval was skipped, and a missing error does not establish success. First verify the…
Optimize generative AI systems and model performance
Use production observations to diagnose a specific failure, then version and re-evaluate a justified adjustment. Do not retrain automatically for every alert. Attribute the observation to the exact fine-tuned artifact, application…
Implement generative AI quality assurance and observability
Sampled production evaluation tells you about the successfully evaluated sample, not every response. Foundry continuous evaluation samples production traffic; scheduled test-dataset evaluation and adversarial testing provide different…
Optimize generative AI systems and model performance
Consider fine-tuning for a measured behavioral gap that remains after appropriate prompt and application corrections, when you have suitable task-specific training evidence. Use retrieval to supply current external facts rather than…
Optimize generative AI systems and model performance
Qualify the exact artifact on independent held-out tasks and the intended serving configuration. Successful training, lower loss, higher reward or one good playground response does not establish a better production application. Compare…
Optimize generative AI systems and model performance
Retain an example only when its source support, intended behavior, format and permitted use are adequately reviewed. Parseable JSONL and fluent language alone do not establish correct training supervision. Use a review rubric covering…
Optimize generative AI systems and model performance
Accept a candidate only if it meets the complete policy defined before examining results: usable evidence, required task quality and safety, important query-group performance, and latency/resource constraints. Retaining the baseline or…
Optimize generative AI systems and model performance
Candidate retrieval discovers possible evidence, RRF combines ranked lists, semantic reranking reorders retrieved candidates, and context selection chooses what the application actually sends to generation. Each stage has a different…
Implement generative AI quality assurance and observability
Foundry scores a stored response when you evaluate an existing interaction or stored input/output pair. When the run invokes a model or agent target, Foundry generates a fresh response and ignores any response already present in that row.…