- Install Docker
- Use Docker to pull and run Qdrant
- Export your Facebook Data and unzip to a local folder
- Install Ollama
- Pull
qwen3-embedding:8bandqwen3:14busing ollama. If you have limited RAM and/or GPU memory you can tryqwen3:8binstead ofqwen3:14b.
ollama pull qwen3-embedding:8b
ollama pull qwen3:14b
- Clone this git repo
- Copy
sample_config.jsontoconfig.json. Replace settings as necessary.collection_namethe name of the qdrant collection to createdocument_paththe json file in which to store the cleaned and processed Facebook datalog_folderthe folder to write the log files toraw_data_pathThe path to the raw facebook post datamodelThe LLM model to use to generate answers.qdrant_hostWhere qdrant is hostedqdrant_portThe port where qrdant is hosted
- Install the required packages:
pip install -r requirements.txt
- Run
facebook_processor.py. This will process the Facebook posts stored atraw_data_pathand store them atdocument_path. Note I don't use Facebook a lot so I have less than 300 total posts. If you have more posts, modifications may be required. - Make sure Qdrant is running and run
store_docs.py.
- Run
query_docs.pyand start asking questions!