Improve docker builds for local hosting (#476)

* Remove GPT4All dependency in pyproject.toml and use multiplatform builds in the dockerization setup in GH actions
* Move configure_search method into indexer
* Add conditional installation for gpt4all
* Add hint to go to localhost:42110 in the docs. Addresses #477
This commit is contained in:
sabaimran
2023-09-08 17:07:26 -07:00
committed by GitHub
parent dccfae3853
commit 343854752c
10 changed files with 122 additions and 42 deletions

View File

@@ -57,9 +57,10 @@ dependencies = [
"langchain >= 0.0.187",
"requests >= 2.26.0",
"bs4 >= 0.0.1",
"gpt4all >= 1.0.7",
"anyio == 3.7.1",
"pymupdf >= 1.23.3",
"gpt4all == 0.1.9; platform_system == 'Linux' and platform_machine == 'x86_64'",
"gpt4all == 0.1.9; platform_system == 'Windows' or platform_system == 'Darwin'",
]
dynamic = ["version"]