Technical requirements
For this chapter, you will need to install the Rank-BM25
package in your environment. You can find it at https://pypi.org/project/rank-bm25/.
Two additional integration packages are required to run the sample code:
- OpenAI Question Generator: https://pypi.org/project/llama-index-question-gen-openai/
- BM25 Retriever: https://pypi.org/project/llama-index-retrievers-bm25/
- All the code samples for this chapter can be found in the ch6 subfolder of this book’s GitHub repository: https://github.com/PacktPublishing/Building-Data-Driven-Applications-with-LlamaIndex.