Filter only available products while using pagination

This does not work for me

{% paginate blogs['recipe-database'].articles | where 'tags','Chocolate'  by 50  %}
     
      	{% for article in blog.articles %}
     
           ## {{article.title}}
     
        {% endfor %}
      {% endpaginate %}