Skip to content

Latest commit

 

History

History
115 lines (98 loc) · 3.7 KB

README.md

File metadata and controls

115 lines (98 loc) · 3.7 KB

Chat with my data

Testing LLM models and tools to query my documents

List of free ML books: https://www.kdnuggets.com/2020/03/24-best-free-books-understand-machine-learning.html

Setup

Requirements

Steps

To run this project, follow these steps:

  1. Clone the project:
git clone https://github.com/matthiaskozubal/Chat_with_my_data.git
  1. Navigate into the project directory:
cd Chat_with_my_data
  1. Create and activate a Conda environment with Python.
conda create -n chat python=3.10
conda activate chat
  1. Install Poetry, if you haven't already:
curl -sSL https://install.python-poetry.org | bash
  1. Install the project dependencies:
poetry install
  1. Download the sample data
wget -P data/pdfs/ https://hastie.su.domains/ISLRv2_website.pdf
  1. Enter your OpenAI API key (from https://platform.openai.com/account/api-keys) to the .env file
echo "OPEN_API_KEY=your_OpenAI_API_key" > .env
  1. a) Run the project demo file in wsl (within the conda virtual environment):
python demo.py
  1. b) Run the Jupyter demo notebook included with this project in VS Code:
code demo.ipynb
Ctrl+Shift+P -> Select Interpreter -> Python 3.10.12 ('chat')
click `run all`    

Links

Demos

Discussion

LLMs

Tools

Fun

License

MIT