What is an evaluation dataset for a GenAI application?
An evaluation dataset is a curated set of representative inputs with expected outputs, labels, references, or scoring rubrics. It should include…
The question library
Explore practical questions, clear explanations, and code examples across developer technologies.
Showing 1609–1620 of 3610 questions
An evaluation dataset is a curated set of representative inputs with expected outputs, labels, references, or scoring rubrics. It should include…
An LLM-as-a-judge uses a model to score or compare generated outputs against a rubric. It can scale subjective evaluation but may exhibit bias,…
Retrieval recall measures how much of the relevant evidence was retrieved, while precision measures how much of the retrieved set is relevant. A…
Assign stable identifiers to source chunks and pass those identifiers with their text. Ask the model to cite identifiers, then validate every…
Reranking reorders a candidate set using a model that estimates query-document relevance, often after a fast first-stage search. It can improve…
Query rewriting transforms a user's question into a retrieval-friendly query, for example by resolving references from conversation history or…
A similarity threshold is a cutoff used to decide whether a retrieved vector match is relevant enough for a downstream action. Scores vary by…
Grounding is the broader practice of tying an output to external evidence. RAG is one way to provide evidence through retrieval, while…
A moderation layer checks inputs or outputs against a defined safety policy, using rules, classifiers, provider moderation tools, or human…
Control cost by selecting fit-for-purpose models, limiting output tokens, caching safe results, reducing unnecessary context, batching…
Batch inference processes many independent inputs together or asynchronously to improve throughput and reduce overhead, often for embeddings,…
Caching stores reusable results from expensive stages, such as embeddings, retrieval queries, or deterministic model responses. Cache keys must…