Build a knowledge base by connecting to a structured data store
Amazon Bedrock Knowledge Bases allows you to connect to structured data stores, which contain data that conforms to a predefined schema. Examples of structured data include tables and databases. Amazon Bedrock Knowledge Bases can convert user queries into language that is suitable for extracting data from support structured data stores. It can then use the converted query to retrieve data that is relevant to the query and generate appropriate responses.
After you set up your knowledge base, you can submit queries to retrieve data from it through the Retrieve operation, or generate responses from the retrieved data through the RetrieveAndGenerate operation. These operations underlyingly convert the user queries into ones that are appropriate for the structured data store connected to the knowledge base.
You also have the option to convert queries independently of retrieving data by using the GenerateQuery API operation. This operation converts natural language queries into SQL queries that are appropriate to the data source being queried. You can use this operation independently and insert it into your workflow.
Select a topic to learn about the prerequisites and process for connecting your knowledge base to a structured data store.