Commit Graph

479 Commits

Author SHA1 Message Date
timothycarambat
b609b0fa92 remove duplicated Number cast 2023-09-11 16:30:40 -07:00
Timothy Carambat
dc3dfbf314
patch SQL injection opportunities [LOW RISK] (#234) 2023-09-11 16:27:04 -07:00
Timothy Carambat
3c88aec034
prevent exports path traversal (#233) 2023-09-11 13:07:48 -07:00
Timothy Carambat
0fd46e10ac
Create SECURITY.md 2023-09-08 16:31:30 -07:00
Sean Hatfield
6ea645f358
Hide delete workspace button on non-admin users if setting is disabled (#227)
* hide delete workspace button on non-admin users if setting is disabled

---------

Co-authored-by: Timothy Carambat <timothycarambat@Timothys-MacBook-Pro.local>
2023-08-31 00:28:30 +02:00
timothycarambat
8bae47b007 return statement misssing 2023-08-24 17:57:35 -07:00
timothycarambat
a3d6d876c4 check role for settings when in mum 2023-08-24 08:20:44 -07:00
Sean Hatfield
3274d5ab6b
Implemented toast messages for all system settings (#219)
* implemented toast for appearance settings changes

* linting

* implemented toast on system settings changes
2023-08-23 20:35:34 -07:00
Timothy Carambat
761500c42f
fix settings overlay hiding underneath prompt (#222) 2023-08-23 19:25:29 -07:00
Timothy Carambat
defe6054b3
Full developer api (#221)
* Autodocument Swagger API with JSDocs on /v1/ endpoints for API access
implement single-player API keys
WIP Admin API Keys

* Create new api keys as both single and multi-user

* Add boot and telem

* Complete Admin API

* Complete endpoints
dark mode swagger

* update docs

* undo debug

* update docs and readme
2023-08-23 19:15:07 -07:00
Sean Hatfield
bdf9529e80
Implement toast for upload event (#214)
* WIP success fail messages for upload document

* added success/error msgs for uploading feedback and disabled fileUploadProgress in backend

* implemented toast instead of success/error msg on modal for upload

* left over merge

---------

Co-authored-by: timothycarambat <rambat1010@gmail.com>
2023-08-22 21:14:24 -07:00
Sean Hatfield
c0adcc129d
Success fail messages for upload document (#208)
* WIP success fail messages for upload document

* added success/error msgs for uploading feedback and disabled fileUploadProgress in backend

* remove unused middleware

---------

Co-authored-by: timothycarambat <rambat1010@gmail.com>
2023-08-22 19:18:47 -07:00
timothycarambat
cfcd14a307 Merge branch 'master' of github.com:Mintplex-Labs/anything-llm 2023-08-22 10:49:27 -07:00
timothycarambat
4f8abeb7fc better loggin on addDocumentToWorkspace and add Qdrant setup doc 2023-08-22 10:30:01 -07:00
Timothy Carambat
2a28415de4
Make openAI Azure embedding requests run concurrently to avoid input limits per call (#211)
resolves #184
2023-08-22 10:23:29 -07:00
Timothy Carambat
c019f5abfa
Enable batch deletion of Pinecone Ids by max limit of 1000 (#210)
* Enable batch deletion of Pinecone Ids by max limit of 1000

* lint
2023-08-22 09:25:55 -07:00
Sean Hatfield
b01e49bb3c
Autoscroll to end of chat fix (#201)
bug fix for autoscrolling on message send/recieve
2023-08-21 15:46:31 -07:00
Sean Hatfield
4a67cf2198
Implement dumpENV if in prod environment (#207)
implement dumpENV if in prod environment
2023-08-21 15:38:18 -07:00
Timothy Carambat
7ae0d28ef0
improve UX and useability for Settings and prefernces for mobile and desktop (#200)
* improve UX and useability for Settings and prefernces for mobile and desktop

* linting
2023-08-18 14:36:58 -07:00
timothycarambat
1b4e29a3b9 bump up gunicorn timeout for large files 2023-08-16 17:54:00 -07:00
timothycarambat
c283ae33a3 set large limit on express server requests 2023-08-16 17:46:45 -07:00
Sean Hatfield
31fbb0784b
Custom default messages implementation for single and multi-user modes (#193)
* added ui for custom welcome messages and added label for custom logo in admin settings

* linting

* fixing img to use light/dark modes

* converted ChatBubble into component

* implemented backend for welcome messages and admin appearance page

* completed custom welcome messages for admin

* finished custom messages for single user mode

* merged with master and linted

* improved UI for appearance settings pages

* linted and merged with master

* small updates

---------

Co-authored-by: timothycarambat <rambat1010@gmail.com>
2023-08-16 17:30:46 -07:00
Jean-Francois Laflamme
882b362213
Added support for host.docker.internal (ie: to use local chromadb ser… (#195)
Added support for host.docker.internal (ie: to use local chromadb server)
2023-08-16 17:01:50 -07:00
timothycarambat
a62e891fa0 force check api online via JSON response 2023-08-16 15:43:46 -07:00
timothycarambat
8af817e2d5 update local dev docs 2023-08-16 15:34:03 -07:00
timothycarambat
2036204f23 default frontend api to relative URL 2023-08-16 12:26:52 -07:00
timothycarambat
4dd606b65a untrack frontend production env 2023-08-16 12:16:02 -07:00
timothycarambat
71baeb92a3 pre-dump ENV to protect settings on reboot 2023-08-15 16:00:27 -07:00
Timothy Carambat
cf0b24af02
Add Qdrant support for embedding, chat, and conversation (#192)
* Add Qdrant support for embedding, chat, and conversation

* Change comments
2023-08-15 15:26:44 -07:00
timothycarambat
4086253292 fix docker readme case 2023-08-15 11:37:03 -07:00
timothycarambat
ec0567d937 How to: run docker on remote IP 2023-08-15 11:36:07 -07:00
timothycarambat
9640eb7650 Fallback logo on offline mode 2023-08-14 17:46:02 -07:00
Timothy Carambat
122f29069c
Enable optional Telemetry integration via posthog (#190)
* Enable optional Telemetry integration via posthog
2023-08-14 17:42:17 -07:00
Sean Hatfield
b557bb9ede
Logo customization for single-user & multi-user modes (#186)
* implemented logo customization for single-user mode

* removing unneeded comments

* added dark and light mode support for default logo

* implemented dark and light mode switching in frontend

* fixed dark and light mode switching for failed to load logo from backend

* removed unneeded comment

* custom logos for admin implemented

* refactor logo mgmt functions
abstract logo management utils into their own file for simplicity

* added settings tab for appearance on single-user mode

* unchecking files with unneeded changes

* fixed appearance settings tab to be hidden on multiuser mode

* allow readall for logo

---------

Co-authored-by: timothycarambat <rambat1010@gmail.com>
2023-08-14 15:22:55 -07:00
Melroy van den Berg
16b8330fbf
Update requirements.txt (#185)
Upgrade fake-useragent to latest version (v1.2.1). Disclaimer: I'm the package maintainer.
2023-08-14 14:38:14 -07:00
timothycarambat
79b311085b update form 2023-08-14 12:18:27 -07:00
timothycarambat
5d1215f293 dont show managed hosting while managed already 2023-08-11 17:33:17 -07:00
timothycarambat
6e56c51a53 add feedback form, hosting link, update readme, show promo image 2023-08-11 17:28:30 -07:00
timothycarambat
a048cf451a hot fix storage path for unix 2023-08-10 13:50:17 -07:00
timothycarambat
d6a079e8c8 fix mount path 2023-08-10 13:45:18 -07:00
timothycarambat
ac042d2574 Merge branch 'master' of github.com:Mintplex-Labs/anything-llm 2023-08-10 13:23:32 -07:00
timothycarambat
83ad64b824 add service metrics 2023-08-10 13:23:23 -07:00
Erich Focht
40c610fb1c
Solving permissions issue with collector/outputs and server/storage (#182)
Solving permissions issue with collector/outputs and server/storage when
deploying freshly with docker-compose.
2023-08-10 10:37:38 -07:00
Timothy Carambat
f3a6147ffd
Add support for Weaviate VectorDB (#181) 2023-08-08 18:02:30 -07:00
Erich Focht
4ac5e55413
Actually enable x-scrolling when citations overflow. (#178) 2023-08-07 13:36:23 -07:00
timothycarambat
970d38ccb5 remove console 2023-08-04 20:08:25 -07:00
Timothy Carambat
1f29cec918
Multiple LLM Support framework + AzureOpenAI Support (#180)
* Remove LangchainJS for chat support chaining
Implement runtime LLM selection
Implement AzureOpenAI Support for LLM + Emebedding
WIP on frontend
Update env to reflect the new fields

* Remove LangchainJS for chat support chaining
Implement runtime LLM selection
Implement AzureOpenAI Support for LLM + Emebedding
WIP on frontend
Update env to reflect the new fields

* Replace keys with LLM Selection in settings modal
Enforce checks for new ENVs depending on LLM selection
2023-08-04 14:56:27 -07:00
timothycarambat
285bddb0fb default setting modal to keys
remove duplicate fields for vectordb config
2023-08-04 12:40:36 -07:00
Timothy Carambat
b42493c6de
Split large PDFS into subfolder in documents (#176)
append time value to folder name to prevent duplicate uploads
2023-08-03 18:57:50 -07:00
Timothy Carambat
6e8d81c01e
better vector db selection UI on settings (#175)
update logout button
2023-08-03 15:59:51 -07:00