.gitignore | ||
download_transcripts.py | ||
main.py | ||
README.MD |
Darknet Diaries LLM
How to run
Install dependencies
I have no idea what the correct way to install dependencies with python is. Somehow install these libraries and their dependencies:
- llama_index
- beautifulsoup4
Execution
Download transcripts:
python3 download_transcripts.py
Set OpenAPI key as environment variable
OPEN_API_KEY=<your key>
Then run the main file
python3 main.py
On the first run, it will generate the index. This can take a while, but it will be cached on disk for the next runs.
You can them ask it any questions about Darknet Diaries!