article thumbnail

Dynamic metadata filtering for Amazon Bedrock Knowledge Bases with LangChain

Flipboard

Amazon Bedrock Knowledge Bases has a metadata filtering capability that allows you to refine search results based on specific attributes of the documents, improving retrieval accuracy and the relevance of responses. These metadata filters can be used in combination with the typical semantic (or hybrid) similarity search.

Metadata 150
article thumbnail

Enrich your AWS Glue Data Catalog with generative AI metadata using Amazon Bedrock

Flipboard

Metadata can play a very important role in using data assets to make data driven decisions. Generating metadata for your data assets is often a time-consuming and manual task. This post shows you how to enrich your AWS Glue Data Catalog with dynamic metadata using foundation models (FMs) on Amazon Bedrock and your data documentation.

Metadata 148
professionals

Sign Up for our Newsletter

This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

article thumbnail

Python Speech Recognition in 2025

AssemblyAI

If you're looking to implement Automatic Speech Recognition (ASR) in Python, you may have noticed that there is a wide array of available options. Broadly, Python speech recognition and Speech-to-Text solutions can be categorized into two main types: open-source libraries and cloud-based services. What is Speech Recognition?

Python 130
article thumbnail

How to use audio data in LlamaIndex with Python

AssemblyAI

venv/bin/activate # Windows: python -m venv venv.venvScriptsactivate.bat Install LlamaIndex, Llama Hub, and the AssemblyAI Python package : pip install llama-index llama-hub assemblyai Set your AssemblyAI API key as an environment variable named ASSEMBLYAI_API_KEY. You can read more about the integration in the official Llama Hub docs.

Python 200
article thumbnail

How to use audio data in LangChain with Python

AssemblyAI

venv/bin/activate # Windows: python -m venv venv.venvScriptsactivate.bat Install LangChain and the AssemblyAI Python package : pip install langchain pip install assemblyai Set your AssemblyAI API key as an environment variable named ASSEMBLYAI_API_KEY. page_content) # Runner's knee. Runner's knee is a condition.

Python 217
article thumbnail

Metadata filtering for tabular data with Knowledge Bases for Amazon Bedrock

AWS Machine Learning Blog

However, information about one dataset can be in another dataset, called metadata. Without using metadata, your retrieval process can cause the retrieval of unrelated results, thereby decreasing FM accuracy and increasing cost in the FM prompt token. This change allows you to use metadata fields during the retrieval process.

Metadata 125
article thumbnail

Access control for vector stores using metadata filtering with Knowledge Bases for Amazon Bedrock

AWS Machine Learning Blog

With metadata filtering now available in Knowledge Bases for Amazon Bedrock, you can define and use metadata fields to filter the source data used for retrieving relevant context during RAG. Metadata filtering gives you more control over the RAG process for better results tailored to your specific use case needs.

Metadata 129