/code-europe-2023

A repository for my Code Europe talk.

Primary LanguageJupyter NotebookApache License 2.0Apache-2.0

Building a personal assistant with Haystack and GPT

haystack logo

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.