Commit graph

53 commits

Author SHA1 Message Date
Saurab-Shrestha9639*969**9858//852
fb64e15802 Bug fixes for chat history 2024-04-07 17:54:36 +05:45
Saurab-Shrestha9639*969**9858//852
ee0e1cd839 Updated chat history and items id with uuid 2024-04-04 12:02:12 +05:45
Saurab-Shrestha9639*969**9858//852
4bc9dd7870 Added chat history and chat item 2024-04-03 17:58:27 +05:45
Saurab-Shrestha9639*969**9858//852
542ed0ef4e updated with new models OpenHermes and BAAI/bge-large embedding model 2024-03-31 15:36:52 +05:45
Saurab-Shrestha
2008837110 update schemas suitable for file upload 2024-03-18 18:00:29 +05:45
Saurab-Shrestha
f7de7c3b54 Update with verify function to check the maker request for documents 2024-03-17 17:58:42 +05:45
Saurab-Shrestha9639*969**9858//852
2bcc7f589f update with new cascade 2024-03-17 11:16:34 +05:45
Saurab-Shrestha
de39e594f8 Update maker checker 2024-03-17 09:36:38 +05:45
Saurab-Shrestha9639*969**9858//852
ba72507d1f Merge branch 'main' of https://github.com/QuickfoxConsulting/privateGPT into ollama 2024-03-12 11:15:57 +05:45
icsy7867
02dc83e8e9
feat(llm): adds serveral settings for llamacpp and ollama (#1703) 2024-03-11 22:51:05 +01:00
Saurab-Shrestha
e2bad96854 Added apis for documents update and user checker mode 2024-03-07 17:17:04 +05:45
Saurab-Shrestha
f011bb6a7a Documents assignment with departments 2024-03-07 13:23:59 +05:45
Iván Martínez
45f05711eb
feat: Upgrade to LlamaIndex to 0.10 (#1663)
* Extract optional dependencies

* Separate local mode into llms-llama-cpp and embeddings-huggingface for clarity

* Support Ollama embeddings

* Upgrade to llamaindex 0.10.14. Remove legacy use of ServiceContext in ContextChatEngine

* Fix vector retriever filters
2024-03-06 17:51:30 +01:00
Saurab-Shrestha
fb35ba28a2 Updated with search mode api and search query logging 2024-03-05 14:27:06 +05:45
Saurab-Shrestha
77bf96cc42 added singleton design in table ocr 2024-02-29 10:57:47 +05:45
Saurab-Shrestha
78d1f0ab52 Bug fix for ad login and updated async functionality on chat completion 2024-02-28 17:28:39 +05:45
Saurab-Shrestha
484b6b7223 Try catch added on ingest 2024-02-27 10:38:44 +05:45
Saurab-Shrestha
b9556626b1 Updated with chunk file upload 2024-02-26 16:58:11 +05:45
Saurab-Shrestha
edd55a5dcc Updated with new Basemodel for Audit 2024-02-25 14:46:12 +05:45
Saurab-Shrestha
8271fedb78 Updated with active subscription 2024-02-25 12:47:35 +05:45
Saurab-Shrestha
808a0fa6fc Updated with audit table 2024-02-25 09:54:56 +05:45
Saurab-Shrestha
493963908d Added audit logs 2024-02-24 18:57:49 +05:45
Saurab-Shrestha
062a0ae7da Updated with department model 2024-02-22 07:11:50 +05:45
Saurab-Shrestha
500d4a1494 Updated with new api for chat with context filtering for based on files wrt to departments 2024-02-21 14:10:29 +05:45
Saurab-Shrestha
c45f5b993d Added api for document listing 2024-02-19 17:28:29 +05:45
Saurab-Shrestha
c8b39c898c Solved the ingestion issue for ocred pdf 2024-02-17 10:23:57 +05:45
Saurab-Shrestha
d849ee76f4 Added routes for pdf ocr 2024-02-15 17:39:07 +05:45
Saurab-Shrestha
b9949204de Updated with gpu integration 2024-02-12 17:20:54 +05:45
Saurab-Shrestha
5c92f23e6a small update in delete 2024-02-11 11:41:15 +05:45
Saurab-Shrestha
cafc9eb8a8 Minor changes in delete filename 2024-02-11 09:15:32 +05:45
Saurab-Shrestha
85eddaf471 Added documents upload table 2024-02-09 20:37:37 +05:45
Saurab-Shrestha
2fe78b4b5f Added delete schema 2024-02-06 13:28:09 +05:45
Saurab-Shrestha
3d58a3d568 Made changes to get database args from the env 2024-02-04 12:51:01 +05:45
Iván Martínez
24fae660e6
feat: Add stream information to generate SDKs (#1569) 2024-02-02 16:14:22 +01:00
Saurab-Shrestha
71999eb150 Added new routes for deleting file from the ingested files 2024-02-01 17:22:39 +05:45
Saurab-Shrestha
55565fd3a7 Added home.py file for /chat route 2024-01-25 17:37:00 +05:45
Iván Martínez
4c69c458ab
Improve ingest logs (#1438) 2023-12-21 17:13:46 +01:00
Iván Martínez
6eeb95ec7f
feat(API): Ingest plain text (#1417)
* Add ingest/text route to ingest plain text

* Add new ingest text test and adapt ingest/file ones

* Include new API in docs

* Remove duplicated logic
2023-12-18 21:47:05 +01:00
lopagela
56af625d71
Fix the parallel ingestion mode, and make it available through conf (#1336)
* Fix the parallel ingestion mode, and make it available through conf

Also updated the documentation to show how to configure the ingest mode.

* PR feedback: redirect to documentation
2023-11-30 11:41:55 +01:00
Iván Martínez
64ed9cd872
Allow passing a system prompt (#1318) 2023-11-29 15:51:19 +01:00
lopagela
bafdd3baf1
Ingestion Speedup Multiple strategy (#1309) 2023-11-25 20:12:09 +01:00
Iván Martínez
510caa576b
Make qdrant the default vector db (#1285)
* Make qdrant the default vector db

---------

Co-authored-by: Pablo Orgaz <pabloogc@gmail.com>
Co-authored-by: lopagela <lpglm@orange.fr>
2023-11-20 16:19:22 +01:00
Francisco García Sierra
f1cbff0fb7
fix: Windows permission error on ingest service tmp files (#1280) 2023-11-20 10:08:03 +01:00
lopagela
a09cd7a892
Update llama_index to 0.9.3 (#1278)
* Update llama_index to 0.9.3

Had to change some imports because of breaking change durin the llama_index update to 0.9.0

* Update poetry.lock after update of llama_index
2023-11-19 18:49:36 +01:00
Pablo Orgaz
0d520026a3
fix: Windows 11 failing to auto-delete tmp file (#1260) 2023-11-17 18:23:57 +01:00
Pablo Orgaz
022bd718e3
fix: Remove global state (#1216)
* Remove all global settings state

* chore: remove autogenerated class

* chore: cleanup

* chore: merge conflicts
2023-11-12 22:20:36 +01:00
Iván Martínez
f394ca61bb
Reuse existing stored index during ingestion (#1220) 2023-11-12 22:14:38 +01:00
lopagela
aa70d3d9f0
Add simple Basic auth (#1203)
* Add simple Basic auth

To enable the basic authentication, one must set `server.auth.enabled`
to true.

The static string defined in `server.auth.secret` must be set in the
header `Authorization`.

The health check endpoint will always be accessible, no matter the API
auth configuration.

* Fix linting and type check

* Fighting with mypy being too restrictive

Had to disable mypy in the `auth` as we are not using the same signature
for the authenticated method.

mypy was complaining that the signatures of `authenticated` must be
identical, no matter in which logical branch we are.
Given that fastapi is accomodating itself of method signatures (it will
inject the dependencies in the method call), this warning of mypy is
actually preventing us to do something legit.

mypy doc: https://mypy.readthedocs.io/en/stable/common_issues.html

* Write tests to verify that the simple auth is working
2023-11-12 19:05:00 +01:00
lopagela
a579c9bdc5
Update poetry lock (#1209)
* Update the version of llama_index used to fix transient openai errors

* Update poetry.lock file

* Make `local` mode the default mode by default
2023-11-11 22:44:19 +01:00
Iván Martínez
a22969ad1f
Add sources to completions APIs and UI (#1206) 2023-11-11 21:39:15 +01:00