A team is building a RAG index. Which configuration most directly affects retrieval effectiveness?
Answer
The vector dimension must match the embedding model output and you should choose an appropriate distance metric
Explanation
Vector search depends on consistent embedding dimensions and suitable similarity/distance metrics, both of which strongly impact which documents are retrieved.
Last reviewed: October 2026
Reviewed by FirstInTest Editorial Team
Related questions
Which approach best improves reproducibility of outputs in a generative AI workflow?
View question →
A chatbot must comply with a policy that blocks certain categories of content (e.g., hate, self-harm). What is the most effective AWS-native strategy?
View question →
Which action most directly improves the quality of Retrieval Augmented Generation (RAG) responses?
View question →
For evaluating a generative AI application, which metric most directly checks whether the answer is supported by retrieved sources?
View question →
You are designing an event-driven workflow that must call an LLM and store results. Which AWS service combination is most appropriate?
View question →
Which statement about fine-tuning for generative AI on AWS is most accurate?
View question →