In the Search filters section of the Chatbot component's configuration panel, it is possible to add metadata filter that apply to all queries.
For example, selecting the "version": "latest" metadata means that the chatbot generates an answer solely based on the documentation for the latest version of a product.