Test your knowledge base with queries and responses
After you set up your knowledge base, you can test its behavior in the following ways:
-
Send queries and retrieving relevant information from your data sources, by using the Retrieve operation.
-
Send queries and generate responses to the queries based on the retrieved information from your data sources, by using the RetrieveAndGenerate operation.
-
Use a reranking model over the default Amazon Bedrock Knowledge Bases reranking model to retrieve more relevant sources when using either Retrieve or RetrieveAndGenerate.
When you are satisfied with your knowledge base's behavior, you can then set up your application to query the knowledge base or attach the knowledge base to an agent by proceeding to Deploy your knowledge base for your AI application.
Select a topic to learn more about it.