Sure thing. Examples can be found here: https://neuml.github.io/txtai/examples/
This one re-ranks the output from an Elasticsearch index - https://colab.research.google.com/github/neuml/txtai/blob/ma...
The next major release have more examples using the local BM25 scoring module.