This is the code for the tutorial here, showing how to connect articles from a Confluence space to LLMs using Psychic, Chroma, and LangChain.
- Create an account at https://dashboard.psychic.dev/ (it's free) and connect a Confluence account.
- Rename
rename.env
to.env
and fill in your own OPENAI_API_KEY and PSYCHIC_SECRET_KEY. - Replace
account_id
inmain.py
with the Account ID you used to connect to Confluence in step 1. - Install poetry to run this project in a virtual environment.
- Run the following in order:
poetry install poetry shell python main.py