commit
f31ee47844
10
README.md
10
README.md
|
@ -12,6 +12,16 @@ In order to set your environment up to run the code here, first install all requ
|
||||||
pip3 install -r requirements.txt
|
pip3 install -r requirements.txt
|
||||||
```
|
```
|
||||||
|
|
||||||
|
*Alternative requirements installation with poetry*
|
||||||
|
1. Install [poetry](https://python-poetry.org/docs/#installation)
|
||||||
|
|
||||||
|
2. Run this commands
|
||||||
|
```shell
|
||||||
|
cd privateGPT
|
||||||
|
poetry install
|
||||||
|
poetry shell
|
||||||
|
```
|
||||||
|
|
||||||
Then, download the LLM model and place it in a directory of your choice:
|
Then, download the LLM model and place it in a directory of your choice:
|
||||||
- LLM: default to [ggml-gpt4all-j-v1.3-groovy.bin](https://gpt4all.io/models/ggml-gpt4all-j-v1.3-groovy.bin). If you prefer a different GPT4All-J compatible model, just download it and reference it in your `.env` file.
|
- LLM: default to [ggml-gpt4all-j-v1.3-groovy.bin](https://gpt4all.io/models/ggml-gpt4all-j-v1.3-groovy.bin). If you prefer a different GPT4All-J compatible model, just download it and reference it in your `.env` file.
|
||||||
|
|
||||||
|
|
File diff suppressed because it is too large
Load Diff
|
@ -0,0 +1,28 @@
|
||||||
|
[tool.poetry]
|
||||||
|
name = "privategpt"
|
||||||
|
version = "0.1.0"
|
||||||
|
description = ""
|
||||||
|
authors = ["Ivan Martinez <ivanmartit@gmail.com>"]
|
||||||
|
license = "Apache Version 2.0"
|
||||||
|
readme = "README.md"
|
||||||
|
|
||||||
|
[tool.poetry.dependencies]
|
||||||
|
python = "^3.10"
|
||||||
|
langchain = "^0.0.228"
|
||||||
|
gpt4all = "^1.0.3"
|
||||||
|
chromadb = "^0.3.26"
|
||||||
|
llama-cpp-python = "^0.1.68"
|
||||||
|
urllib3 = "^2.0.3"
|
||||||
|
PyMuPDF = "^1.22.5"
|
||||||
|
python-dotenv = "^1.0.0"
|
||||||
|
unstructured = "^0.8.0"
|
||||||
|
extract-msg = "^0.41.5"
|
||||||
|
tabulate = "^0.9.0"
|
||||||
|
pandoc = "^2.3"
|
||||||
|
pypandoc = "^1.11"
|
||||||
|
tqdm = "^4.65.0"
|
||||||
|
|
||||||
|
|
||||||
|
[build-system]
|
||||||
|
requires = ["poetry-core"]
|
||||||
|
build-backend = "poetry.core.masonry.api"
|
Loading…
Reference in New Issue