Commit Graph

372 Commits (main)

Author SHA1 Message Date
Alex 17edaa0e1f Update faiss.py 8 months ago
John Bampton 32ea0213f7 Remove unneeded duplicate words 8 months ago
Alex 43a22f84d9 Update sagemaker.py 8 months ago
Alex b3a0368b95 Update app.py 8 months ago
Alex cd79330c4c
Merge pull request #449 from arc53/feature/sage-streaming
sagemaker streaming
8 months ago
Alex 495728593f sagemaker fixes + test 8 months ago
Alex 4f5e363452 sagemaker streaming 8 months ago
Amogha Kancharla 48f9997ea9
Update app.py
This version of code uses a concise syntax and reduces redundancy.
8 months ago
dependabot[bot] ef9e9809e2
Bump langchain from 0.0.263 to 0.0.308 in /application
Bumps [langchain](https://github.com/langchain-ai/langchain) from 0.0.263 to 0.0.308.
- [Release notes](https://github.com/langchain-ai/langchain/releases)
- [Commits](https://github.com/langchain-ai/langchain/compare/v0.0.263...v0.0.308)

---
updated-dependencies:
- dependency-name: langchain
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
8 months ago
Alex c4fc49553c
Merge pull request #396 from arc53/dependabot/pip/application/pillow-10.0.1
Bump pillow from 9.4.0 to 10.0.1 in /application
8 months ago
Archit-Kohli 7ce1dc9069
Update huggingface.py add import torch statement
Added import torch statement
8 months ago
Archit-Kohli 5b4e517d9d
Update huggingface.py
Added quantization support using bitsandbytes
8 months ago
Alex 1336010bb2 Update .env_sample 8 months ago
Alex 8320cca5cd minor fixes on deleting 8 months ago
dependabot[bot] 53171bafec
Bump pillow from 9.4.0 to 10.0.1 in /application
Bumps [pillow](https://github.com/python-pillow/Pillow) from 9.4.0 to 10.0.1.
- [Release notes](https://github.com/python-pillow/Pillow/releases)
- [Changelog](https://github.com/python-pillow/Pillow/blob/main/CHANGES.rst)
- [Commits](https://github.com/python-pillow/Pillow/compare/9.4.0...10.0.1)

---
updated-dependencies:
- dependency-name: pillow
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
8 months ago
John Bampton 034d73a4eb misc: fix spelling 8 months ago
Alex b38459439d
Merge pull request #338 from arc53/dependabot/pip/application/cryptography-41.0.4
Bump cryptography from 41.0.3 to 41.0.4 in /application
8 months ago
Alex a2eddb3580
Merge pull request #373 from arc53/dependabot/pip/application/urllib3-1.26.17
Bump urllib3 from 1.26.14 to 1.26.17 in /application
8 months ago
prithvi2k2 94f81caf28 Removed redundant files as discussed at #376 8 months ago
dependabot[bot] 6d2bc2929a
Bump urllib3 from 1.26.14 to 1.26.17 in /application
Bumps [urllib3](https://github.com/urllib3/urllib3) from 1.26.14 to 1.26.17.
- [Release notes](https://github.com/urllib3/urllib3/releases)
- [Changelog](https://github.com/urllib3/urllib3/blob/main/CHANGES.rst)
- [Commits](https://github.com/urllib3/urllib3/compare/1.26.14...1.26.17)

---
updated-dependencies:
- dependency-name: urllib3
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
8 months ago
Alex cd9b03bdb9 celery syncs 8 months ago
Alex a619269502 celery bugs 8 months ago
Alex 9a33bf2210 script + cpu optimisations 8 months ago
Alex 6045cbbc62
Merge pull request #355 from arc53/feature/cpu-llm
llama-cpp local
8 months ago
Alex 9bbf4044e0 script 8 months ago
John Bampton 2c6ab18e41 Fix spelling 8 months ago
Alex 2fea294b13 Update settings.py 8 months ago
Pavel b47ecab1a9 llama-cpp local 8 months ago
Alex 3eacfb91aa fix314 8 months ago
Alex 94164c2a71
Merge branch 'main' into featue/elasticsearch 8 months ago
Alex d85eb83ea2 elastic search fixes 8 months ago
Alex b2002639db
Merge pull request #353 from arc53/bug/fix-aes-pdf
Update requirements.txt
8 months ago
Alex 347cfe253f elastic2 8 months ago
Alex e4be38b9f7 sagemaker + llm creator class 8 months ago
Alex 783e7f6939 working es 8 months ago
Alex 32a019c0d6 Update requirements.txt 8 months ago
Alex 852de8bdfc ruff linting 8 months ago
Alex b8acb860aa some tests 8 months ago
Alex e6849b85d1 Create huggingface.py 8 months ago
Alex 8fa9657ba6 working full 8 months ago
Alex 025549ebf8 fixes to make it work 8 months ago
Alex e85a583f0a testings 8 months ago
dependabot[bot] 0ffb40f4c1
Bump cryptography from 41.0.3 to 41.0.4 in /application
Bumps [cryptography](https://github.com/pyca/cryptography) from 41.0.3 to 41.0.4.
- [Changelog](https://github.com/pyca/cryptography/blob/main/CHANGELOG.rst)
- [Commits](https://github.com/pyca/cryptography/compare/41.0.3...41.0.4)

---
updated-dependencies:
- dependency-name: cryptography
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
8 months ago
Anton Larin e1b49c3fb4 remove old static resources from the Flask application, forgotten leftover. 9 months ago
Anton Larin adb4bfa10b remove old static resources from the Flask application, update the routing in app.py 9 months ago
Alex 909f0afa69 ruff fixes 10 months ago
Alex e593241d75 Support for hf models optimised for docsgpt 10 months ago
Alex fcdc7b7aeb
Merge pull request #292 from arc53/dependabot/pip/application/cryptography-41.0.3
Bump cryptography from 41.0.2 to 41.0.3 in /application
10 months ago
Anton Larin 85f9ae5a0a fix packaging and imports and introduce tests with pytest.
still issues with celery worker.
10 months ago
Anton Larin 98a97f34f5 fix packaging and imports and introduce tests with pytest.
still issues with celery worker.
10 months ago
dependabot[bot] 98d647a3fe
Bump cryptography from 41.0.2 to 41.0.3 in /application
Bumps [cryptography](https://github.com/pyca/cryptography) from 41.0.2 to 41.0.3.
- [Changelog](https://github.com/pyca/cryptography/blob/main/CHANGELOG.rst)
- [Commits](https://github.com/pyca/cryptography/compare/41.0.2...41.0.3)

---
updated-dependencies:
- dependency-name: cryptography
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
10 months ago
Anton Larin 88d74235e1 1. remove unnecessary dependencies to speed up the build and reduce the downloads volume.
2. upgrade a couple of libraries
10 months ago
Anton Larin 36fa470348 1. remove unnecessary dependencies to speed up the build and reduce the downloads volume.
2. upgrade a couple of libraries
10 months ago
Alex 33dce10bc3
Merge pull request #296 from larinam/revert_breaking_renaming_azure_change
Revert "Changed environment variable names OPENAI_API_BASE and OPENAI…
10 months ago
Anton Larin ac5ac3e9f1 Revert "Changed environment variable names OPENAI_API_BASE and OPENAI_API_VERSION to AZURE_OPENAI_API_BASE and AZURE_OPENAI_API_VERSION"
This reverts commit ce8b29e9d0.
10 months ago
Anton Larin bed25b317c Fix min_tokens logic for grouping documents: documents with (lengh >= min_tokens) should not be grouped into one document for indexing 10 months ago
Pavel 1687e6682a
Merge pull request #290 from arc53/feature/hisotry
history
10 months ago
Alex 22572c8ed1 ruff fixes 10 months ago
Alex 382c3930a2 history 10 months ago
Alex a64a30c088 fix 10 months ago
Alex dac76a867f fix tokens for header 10 months ago
dependabot[bot] a55280b941
Bump cryptography from 41.0.0 to 41.0.2 in /application
Bumps [cryptography](https://github.com/pyca/cryptography) from 41.0.0 to 41.0.2.
- [Changelog](https://github.com/pyca/cryptography/blob/main/CHANGELOG.rst)
- [Commits](https://github.com/pyca/cryptography/compare/41.0.0...41.0.2)

---
updated-dependencies:
- dependency-name: cryptography
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
11 months ago
Rik Schoonbeek ce8b29e9d0 Changed environment variable names OPENAI_API_BASE and OPENAI_API_VERSION to AZURE_OPENAI_API_BASE and AZURE_OPENAI_API_VERSION 11 months ago
Alex b1a5068fd6
Merge pull request #254 from arc53/dependabot/pip/application/cryptography-41.0.0
Bump cryptography from 39.0.2 to 41.0.0 in /application
11 months ago
Alex 01fbd5d702
Merge pull request #247 from arc53/dependabot/pip/application/flask-2.2.5
Bump flask from 2.2.3 to 2.2.5 in /application
11 months ago
Alex 5e45268f68
Merge pull request #244 from arc53/dependabot/pip/application/requests-2.31.0
Bump requests from 2.28.2 to 2.31.0 in /application
11 months ago
Alex c216bea031 Update app.py 11 months ago
Idan 2404899e28 Fixed request length bug, changed to as less used port 11 months ago
Anton Larin 0ff5f408d6 fix configuration to support streaming answer with Azure 12 months ago
Anton Larin 5eda42ff31 fix configuration to support streaming answer with Azure 12 months ago
Anton Larin f5e287ffa6 optimized imports 12 months ago
Anton Larin 006897f1c0 Azure support for streaming output. 12 months ago
Anton Larin 968849e52b code readability, formatting, minor version bump 12 months ago
Alex 43c016f024 Update requirements.txt 12 months ago
dependabot[bot] f2d2478dee
Bump transformers from 4.27.2 to 4.30.0 in /application
Bumps [transformers](https://github.com/huggingface/transformers) from 4.27.2 to 4.30.0.
- [Release notes](https://github.com/huggingface/transformers/releases)
- [Commits](https://github.com/huggingface/transformers/compare/v4.27.2...v4.30.0)

---
updated-dependencies:
- dependency-name: transformers
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
12 months ago
dependabot[bot] 87a5c8894a
Bump flask from 2.2.3 to 2.2.5 in /application
Bumps [flask](https://github.com/pallets/flask) from 2.2.3 to 2.2.5.
- [Release notes](https://github.com/pallets/flask/releases)
- [Changelog](https://github.com/pallets/flask/blob/main/CHANGES.rst)
- [Commits](https://github.com/pallets/flask/compare/2.2.3...2.2.5)

---
updated-dependencies:
- dependency-name: flask
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
12 months ago
Alex a57cdfff1e Update requirements.txt 12 months ago
Alex d4ff6d4d7a minor fix 12 months ago
Levente Csoke fce7d34171 Improve dev setup in README
Add needed packages in for dev setup in requirements.txt
12 months ago
Alex 94cc18bd71 fix for sending sources + azure embeddings issue 12 months ago
Alex f209eebaf8
Merge pull request #255 from larinam/azure
Azure support #199
12 months ago
Alex 4889db78c9 Update .env_sample 12 months ago
Alex bff200fede Sources by filename if available 12 months ago
Alex 610adcbefc Sources in responses 12 months ago
Anton Larin 0630504664
Merge branch 'main' into azure 1 year ago
Alex 577d58c92b less token less issues 1 year ago
Anton Larin b4bd34fb96 fix arc53/DocsGPT#199 1 year ago
dependabot[bot] 014971262d
Bump cryptography from 39.0.2 to 41.0.0 in /application
Bumps [cryptography](https://github.com/pyca/cryptography) from 39.0.2 to 41.0.0.
- [Changelog](https://github.com/pyca/cryptography/blob/main/CHANGELOG.rst)
- [Commits](https://github.com/pyca/cryptography/compare/39.0.2...41.0.0)

---
updated-dependencies:
- dependency-name: cryptography
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
1 year ago
Alex 3f88b04c4a Update app.py 1 year ago
Alex f8910ba136 Added history in streaming convo + fixed little bug with message margins on loading state 1 year ago
Alex e6bccaaf4e Update app.py 1 year ago
Alex 3b8039a580
Merge branch 'main' into feature/streaming 1 year ago
Alex fae3f55010 Working streaming 1 year ago
Alex 20c877f75b working fe 1 year ago
Alex d2358c399d working version 1 year ago
Alex c3af8a77af working streams 1 year ago
Alex 0b94f1717f
Merge pull request #246 from arc53/feature/gpt4all
Feature/gpt4all
1 year ago
Alex aaa1249a41 model fix + env var 1 year ago
Alex ffaa22c49b reverse history order to use latest history firts
Co-Authored-By: Pavel <32868631+pabik@users.noreply.github.com>
1 year ago
Alex 0b78480977 init 1 year ago
dependabot[bot] 78b85fb664
Bump requests from 2.28.2 to 2.31.0 in /application
Bumps [requests](https://github.com/psf/requests) from 2.28.2 to 2.31.0.
- [Release notes](https://github.com/psf/requests/releases)
- [Changelog](https://github.com/psf/requests/blob/main/HISTORY.md)
- [Commits](https://github.com/psf/requests/compare/v2.28.2...v2.31.0)

---
updated-dependencies:
- dependency-name: requests
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
1 year ago
Alex 6a68b63192 history fix 1 year ago
Alex ff2e79fe7b streaming experiments 1 year ago
Alex bc9f1c17ed History
Co-Authored-By: riccardofresi <89981746+riccardofresi@users.noreply.github.com>
1 year ago
Alex 74845aed64 history init 1 year ago
Alex e49dd0cc6a metadata on ingestion 1 year ago
Alex 059ffe09ea
Merge pull request #232 from larinam/lint
Lint
1 year ago
GH Action - Upstream Sync a73774099e Merge branch 'main' of https://github.com/arc53/DocsGPT 1 year ago
Alex eef012b4d1
Merge pull request #225 from arc53/dependabot/pip/application/flask-2.3.2
Bump flask from 2.2.3 to 2.3.2 in /application
1 year ago
Alex 1417a1c020 Update requirements.txt 1 year ago
Anton Larin 962becb9a5
Linting
* validate python formatting on every build with Ruff
* fix lint warnings
1 year ago
Anton Larin 168648e789 Proper PEP8 formatting 1 year ago
dependabot[bot] 15fd54eac4
Bump flask from 2.2.3 to 2.3.2 in /application
Bumps [flask](https://github.com/pallets/flask) from 2.2.3 to 2.3.2.
- [Release notes](https://github.com/pallets/flask/releases)
- [Changelog](https://github.com/pallets/flask/blob/main/CHANGES.rst)
- [Commits](https://github.com/pallets/flask/compare/2.2.3...2.3.2)

---
updated-dependencies:
- dependency-name: flask
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
1 year ago
Serj 31350e6302 Set celery and mongo urls as default 1 year ago
Serj 8742cdae0a Refactored url join 1 year ago
Serj 4efcb388ff Added settings usage to the worker 1 year ago
Serj 2d92e95c8a Added settings usage to the worker 1 year ago
Serj 47e5d5684a Replace other env variables in the file 1 year ago
Serj b723e14d98 Added embeddings name variable 1 year ago
Serj c9d24b8f42 Added llm model variable 1 year ago
Serj 43622e7ab1 Added settings file 1 year ago
Serge Kozloff db4cdc901c
Merge pull request #1 from arc53/main
t
1 year ago
Serj 16a540b89b Expand readme and added port in wsgi 1 year ago
Alex e00ec9ac3f Update chat_combine_prompt.txt 1 year ago
Alex fc760afdfc Update chat_combine_prompt.txt 1 year ago
Alex dbe9c4dc18 init 1 year ago
Alex 0c1a6a918d web widget 1 year ago
Alex 9395d2c091 celery load 1 year ago
Alex 60bb264663 async calls 1 year ago
dependabot[bot] 8a0f700563
Bump redis from 4.5.3 to 4.5.4 in /application
Bumps [redis](https://github.com/redis/redis-py) from 4.5.3 to 4.5.4.
- [Release notes](https://github.com/redis/redis-py/releases)
- [Changelog](https://github.com/redis/redis-py/blob/master/CHANGES)
- [Commits](https://github.com/redis/redis-py/compare/v4.5.3...v4.5.4)

---
updated-dependencies:
- dependency-name: redis
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
1 year ago
Alex 3d0c6eafec gpt4- compatable 1 year ago
Alex 09c7fe0565
Merge pull request #193 from arc53/dependabot/pip/application/redis-4.5.3
Bump redis from 4.5.2 to 4.5.3 in /application
1 year ago
Alex b6dfb2c856 map_reduce 1 year ago
Alex ab46ba521f different prompts 1 year ago
Alex 4a7670f2aa Update app.py 1 year ago
dependabot[bot] 24e98abd15
Bump redis from 4.5.2 to 4.5.3 in /application
Bumps [redis](https://github.com/redis/redis-py) from 4.5.2 to 4.5.3.
- [Release notes](https://github.com/redis/redis-py/releases)
- [Changelog](https://github.com/redis/redis-py/blob/master/CHANGES)
- [Commits](https://github.com/redis/redis-py/compare/v4.5.2...v4.5.3)

---
updated-dependencies:
- dependency-name: redis
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
1 year ago
Alex 65c2568427 Update app.py 1 year ago
Alex 186e7bf402 update for better runs + storage sync 1 year ago
Alex c3c0e643d2 Update chat_combine_prompt.txt 1 year ago
Alex d5522e7c08 prep things 1 year ago
Alex 3dab4b0b1e Update .env_sample 1 year ago
Alex 92993ee105 Small fixes + polishing 1 year ago
Alex ce579293fb
Merge pull request #185 from arc53/feature/upload 1 year ago
Alex 3e98f9e6bd Button working now 1 year ago
Alex 796b4899aa Fixed progress + new path + combined new
Co-Authored-By: Ajay Thapliyal <ajaythapliyal1703@gmail.com>
1 year ago
Alex 620a7c6db2 Botichello 1 year ago
Alex dff87b5fa3 chatwoot, label + id checks 1 year ago
Alex 8e477c9d16 update worker 1 year ago
Alex 4f64738f9e Update app.py 1 year ago
Alex c4464455a1 cors + dependencies 1 year ago
Alex bfb47da398 security things 1 year ago
Alex c297e076e6 folders 1 year ago
Alex 1d2162705d uploads backend first 1 year ago
Alex 8be2992c9a Update requirements.txt 1 year ago
Alex e3ed23a0d4 Update requirements.txt 1 year ago
Alex 6d959051e2 chat prompts 1 year ago
Alex 5f4f55269e dependecies + default values 1 year ago
ajaythapliyal fdb19f8c49 Merge branch 'main' of github.com:arc53/DocsGPT into feature/feedback 1 year ago
Alex ec61b80fd3 Update Dockerfile 1 year ago
Alex 133863e601 Update Dockerfile 1 year ago
Alex 3767b85958 Update Dockerfile 1 year ago
Alex 4f1e86d269 slimming 1 year ago
Alex 07e51dc8c6 sending data to aws 1 year ago
Alex 7a74c60fd1 updated backend 1 year ago
Alex f233766671 new line formating 1 year ago
Alex 02aca04efe Update app.py 1 year ago
Alex 17047b6201 better prompts 1 year ago
Alex e35961911c chat AI 1 year ago
Alex b6772d8358 demo on docsgpt docs 1 year ago
Alex 38e2459c7f new dockerfile with gunicorn and wsgi support 1 year ago
monkish54 222035a44b Update spelling
The word remember was spelled incorrectly.
1 year ago
Alex cd3e0e34ea
Merge pull request #130 from arc53/api-linking
Api linking
1 year ago
Alex bd1c9c2818 gunicorn 1 year ago
Alex 168defb079 Update requirements.txt 1 year ago
Alex 6eef53cb1b API conversation 1 year ago
Alex 918e1b3bf6
Merge pull request #117 from unkwnownGriot/no-api-key-error500-fixed
Fix the servor 500 error and show error message to client
1 year ago
Alex 3791394bf8 Update error.py 1 year ago
Alex e5aaaf78f0 Update app.py 1 year ago
Alex 46f7dfc568 Update Dockerfile 1 year ago
UnknownDev fabe4d53d6 Fix the servor 500 error and show error message to client 1 year ago
Manan e8baa46eb6 Merge branch 'main' of https://github.com/arc53/DocsGPT into main 1 year ago
Alex 1f683582c0 fix formatting 1 year ago
Alex 8819f9360b path handling 1 year ago
Manan 4f5beaaa9e require package unstructued for html_parser 1 year ago
Alex f833b43f37 memory done 1 year ago
Alex 842d347e5e paths 1 year ago
dependabot[bot] 8cb5aa9925
Bump werkzeug from 2.2.2 to 2.2.3 in /application
Bumps [werkzeug](https://github.com/pallets/werkzeug) from 2.2.2 to 2.2.3.
- [Release notes](https://github.com/pallets/werkzeug/releases)
- [Changelog](https://github.com/pallets/werkzeug/blob/main/CHANGES.rst)
- [Commits](https://github.com/pallets/werkzeug/compare/2.2.2...2.2.3)

---
updated-dependencies:
- dependency-name: werkzeug
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
1 year ago
Alex 8a5e1e8d98 cleanups 1 year ago
Alex 4d1ff8238d switching between llms 1 year ago
Alex f9fe3f2f48 Merge branch 'main' into custom-llm 1 year ago
EricGao888 aeac186484 Add retry strategy to increase stability 1 year ago
Pavel 7af7034519 requirements 1 year ago
Alex 3d0642dca3 remove key... 1 year ago
Alex 046fbebf56 Enable other llm's 1 year ago
Alex 205be538a3 fix dbqa, with new chain type, also fix for doc export 1 year ago
Pavel 8c4fcff617 requirement 1 year ago
Alex 52c74e68b5 Inputs folder change 1 year ago
Alex ee3c19c976 Inputs folder change 1 year ago
Alex 7462c00135 Bug fix 1 year ago
Alex ac7cc26022 minorfix-3 1 year ago