This script serves as an example of utilizing the Haystack library for document search and retrieving answers to specific questions.
Ensure that you have Python installed in your environment. You can install the required dependencies by following this guide: Haystack Installation Guide
To interact with AI engines, you must choose from the following models: anthropic, cohere, huggingface, and openai.
Based on your selected model, insert your API KEY by renaming config.example.py
to config.py
and updating your environment variable.