Skill 1.5.2

Select and configure optimal embedding solutions to create efficient vector representations for semantic search (for example, by using Amazon Titan embeddings based on dimensionality and domain fit, by evaluating performance characteristics of Amazon Bedrock embedding models, by using Lambda functions to batch generate embeddings)

Key Concepts

Amazon Titan Text Embeddings V2 accepts up to 8,192 tokens and outputs 1,024, 512 or 256 dimensions, with optional normalisation. Fewer dimensions cut storage and speed up search with a small loss of accuracy. Titan Multimodal Embeddings and Amazon Nova Multimodal Embeddings place images and text in one space; Cohere Embed models offer strong multilingual retrieval. Domain fit is tested by measuring retrieval recall on the organisation's own question and document pairs.

Generating embeddings for large corpora with one call per chunk risks throttling. Lambda functions fed by SQS can process chunks in controlled batches with retries, and Bedrock batch inference can embed very large datasets asynchronously. Documents and queries must always be embedded with the same model and dimension setting.