pycon-berlin-2023
pycon-berlin-2023 copied to clipboard
A repository for my PyCon talk: "Building a personal assistant with Haystack and GPT: How to feed facts to large language models and reduce hallucinations"
Building a personal assistant with Haystack and GPT
This is the code for my PyCon Berlin 2023 talk:
Building a personal assistant with Haystack and GPT
How to feed facts to large language models and reduce hallucinations
https://pretalx.com/pyconde-pydata-berlin-2023/talk/H8KMTT/
Installation
pip install -r requirements.txt
To run the code, you will have to obtain an API key from OpenAI at https://platform.openai.com/account/api-keys.
Store the key in an .env
file under OPENAI_KEY
.
Learn More
Head over to https://docs.haystack.deepset.ai/docs to learn more about haystack.