| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Name | Name | Last commit date | ||
|---|---|---|---|---|
DocTalk is a project I'm working on to try to build my own LLM document chat.
I'm not 100% sure what I'm doing, but it's been great so far.
See Update Notes for changes I am making after the initial commit to this project.
Feel free to play around and please for the love of science, give me some feedback.
I legit have no idea if this is going to be useful or anything, but it's certainly teaching me python, and renewing my interest in snake_case variables.
I pretty much gutted the project and moved a bunch of things around. I implemented a different architecture, with the runners and what not.
Some day soon I will fill the rest of this documentation in!
To create the python env, and install requirements, run: install.ps1
Set your OPENAI_API_KEY environment variable, if you are going to use OpenAI's API. See .env.template for guidance.
Load your documents using ingest_documents.py
Select a configuration file from the configurations folder, or create your own
Once you've loaded your documents, and selected a configuration file, run run.py --config=<path to config file>
Coming Soon
The following is mostly copy/paste stuff I use (or used) frequently
python -m venv doctalk_venvpython.exe -m pip install --upgrade pip
pip cache purge
pip --no-cache-dir install -r requirements.txtProbably because you ran the /requirements.txt install before getting here. Make sure to set these environment variables before installing llama-cpp next time.
$env:CMAKE_ARGS="-DLLAMA_CUBLAS=on"
$env:FORCE_CMAKE=1
$env:LLAMA_CUBLAS=1 And this next one is for when you have to force a re-install of llama-cpp because you left the instructions for the GPU below the /requirements.txt install 🙄
pip install --no-cache-dir --force-reinstall llama-cpp-python
Sometimes a random CUDA memory error will show up. Use this:
$env:GGML_CUDA_NO_PINNED=16/15/2023:
6/20/2023
6/21/2023
6/23/2023
6/24/2023
7/9/2023
| Back | FazBrowse Home | New Git URL |