Sean Hatfield
5f4d42edb8
Sidebar bug fix ( #291 )
...
truncate workspace name to prevent gear icon from being shown
2023-10-26 10:58:55 -07:00
Timothy Carambat
a8ec0d9584
Compensate for upper OpenAI emedding limit chunk size ( #292 )
...
Limit is due to POST body max size. Sufficiently large requests will abort automatically
We should report that error back on the frontend during embedding
Update vectordb providers to return on failed
2023-10-26 10:57:37 -07:00
Timothy Carambat
9f1a5d9dbc
Add back in selector on prompt input ( #289 )
...
resolves #286
2023-10-25 16:01:45 -07:00
Timothy Carambat
9f7b0c837a
Fix prompt overlaying on chats ( #288 )
...
resolves #287
2023-10-25 15:23:55 -07:00
timothycarambat
d509d7ed3d
compress GIFs in readme
2023-10-25 11:38:47 -07:00
timothycarambat
4233d1a240
Update screenshots of new UI
...
Update README to point to updated YT video
2023-10-25 11:31:58 -07:00
timothycarambat
401daa9052
upload README video
2023-10-24 18:48:17 -07:00
timothycarambat
6fa0f3ab1a
remove bakup db
2023-10-24 18:05:18 -07:00
timothycarambat
f6ae992c32
onboarding username password bug preventing multi user signup
2023-10-24 17:23:12 -07:00
timothycarambat
9b9644e931
remove typo
2023-10-23 14:07:04 -07:00
timothycarambat
81bb7bfc69
w-fit on workspace modal
2023-10-23 13:58:51 -07:00
Timothy Carambat
708068a09e
AnythingLLM UI overhaul ( #278 )
...
* v2 Login screen (#254 )
* adding gradients for modal and sidebar
* adding font setup
* redesigned login screen for MultiUserAuth
* completed multi user mode login screen
* linting
* login screen for single user auth redesign complete
* created reusable gradient for login screen
---------
Co-authored-by: timothycarambat <rambat1010@gmail.com>
* v2 sidebar (#262 )
* adding gradients for modal and sidebar
* adding font setup
* redesigned login screen for MultiUserAuth
* completed multi user mode login screen
* linting
* login screen for single user auth redesign complete
* WIP sidebar redesign
* created reusable gradient for login screen
* remove dark mode items
* update new workspace button
* completed sidebar for desktop view
* add interactivity states
---------
Co-authored-by: timothycarambat <rambat1010@gmail.com>
* remove duplicated pkg
* v2 settings (#264 )
* adding gradients for modal and sidebar
* adding font setup
* redesigned login screen for MultiUserAuth
* completed multi user mode login screen
* linting
* login screen for single user auth redesign complete
* WIP sidebar redesign
* created reusable gradient for login screen
* remove dark mode items
* update new workspace button
* completed sidebar for desktop view
* WIP added colors/gradients to admin settings
* WIP fix discord logo import
* WIP settings redesign - added routes for general settings and restyled components
* WIP settings for LLM Preference, VectorDB, ExportImport
* settings menu UI complete WIP functionality
* settings fully functional/removed dark mode logo
* linting
* removing unneeded dependency
* Fix admin sidebar visibility
Fix API Keys location and work with single/mum
Fix Appearance location - WIP on funcitonality
* update api key page
* fix permissions for appearance
* Single user mode fixes
* fix multi user mode enabled
* fix import export
* Rename AdminSidebar to SettingsSidebar
* Fix mobile sidebar links
---------
Co-authored-by: timothycarambat <rambat1010@gmail.com>
* V2 user logout (#265 )
* Add user logout button
* hide other 3 dot button
* wrap admin routes
* V2 workspace modal (#267 )
Update new workspace modal
remove duplicate tailwind colors
* v2 Settings modal styles (#266 )
* EditUserModal styles complete
* workspaces modals styles complete
* create invite link modal styles complete
* create new api key modal styles complete
---------
Co-authored-by: timothycarambat <rambat1010@gmail.com>
* v2 Chats Redesign (#270 )
* fix default message for new workspace
* prompt input box ui redesign complete
* ui tweak to prompt input
* WIP chat msg redesign
* chat container and historical chat messages redesign
* manage workspace modal appears when clicking upload a document on empty workspace
* fixed loading skeleton styles
* citations redesign complete
* restyle pending chat and prompt reply components
* default chat messages styles updated
* linting
* update how chats are returned
---------
Co-authored-by: timothycarambat <rambat1010@gmail.com>
* Onboarding modal flow for first time setup (#274 )
* WIP onboarding modal flow
* onboarding flow complete and private route redirection for onboarding setep
* redirect to home on onboarding complete
* add onboarding redirect using paths.onboarding()
* Apply changes to auth flow, onboarding determination, and flows
* remove formref
---------
Co-authored-by: timothycarambat <rambat1010@gmail.com>
* v2 document picker (#275 )
* remove unneeded comments
* WIP document picker UI
* WIP basic UI complete for document picker tab and settings tab
* linting
* settings menu complete, document row WIP
* WIP document picker loading from localFiles
* WIP file picker logic
* refactoring document picker to work with backend
* WIP refactoring document picker
* WIP refactor document picker to work with backend
* file uploading with dropzone working
* WIP deleting file when not embedded
* WIP embeddings
* WIP embedding with temp button and hardcoded paths
* WIP placeholder for WorkspaceDirectory component
* WIP WorkspaceDirectory
* WIP
* sort workspaceDocs and availibleDocs complete
* added directories util
* add and remove document from ws working
* v2 document picker complete
* reference modal ui bug fixes
* truncate function bug fix
* ManageWorkspace modal bug fixes
* blocking mobile users modal for workspace settings
* mobile ui fixes
* linting
* ui padding fixes
* citation bug fixes
* code review changes
* debounce handlers
* change tempFile object to array
* selection count fix
* Convert workspace modal to div
Memo workspace settings
update conditional rendering of workspace settings
* Show no documents
---------
Co-authored-by: timothycarambat <rambat1010@gmail.com>
* mobile sidebar styles
* padding on Mobile view
mobile sidebar items
* UI touchup
* suggestion implementations
* CSS fixes and animation perfomance change to GPU accelerated and 60fps
* change will-change
* remove transitions from onboarding modals, simplify on-change handlers
* Swap onboarding to memoized components and debounce onchange handlers
* remove console log
* remove Avenir font
---------
Co-authored-by: Sean Hatfield <seanhatfield5@gmail.com>
2023-10-23 13:10:34 -07:00
santini-cyber
d1fbe94a33
Instructions for https configuration on an AWS EC2 instance running A… ( #276 )
...
* Instructions for https configuration on an AWS EC2 instance running Amazon Linux 2023.
* Update aws_https_instructions.md
* Update aws_https_instructions.md
2023-10-20 11:10:50 -07:00
timothycarambat
ac2a0b0a06
reduce available types of models
2023-10-10 11:15:11 -07:00
timothycarambat
827a29d074
improve AUTH_TIMESTAMP clearing
2023-10-05 15:16:14 -07:00
timothycarambat
f9eec86672
Fix login modal popping up on protected routes
2023-10-05 14:34:30 -07:00
timothycarambat
82e8350ad1
Resert AuthToken with empty string
2023-10-05 13:01:38 -07:00
timothycarambat
bfa5c75fe4
update discord badge
2023-10-03 17:42:10 -07:00
timothycarambat
3b85c196e9
update docker instructions and dockerfile container name
2023-09-30 15:10:27 -07:00
Timothy Carambat
3f5b419601
Add support for chatting via the API ( #261 )
2023-09-29 13:45:35 -07:00
Timothy Carambat
62d39eb4fb
resolves #259 ( #260 )
...
Support API client for chroma
2023-09-29 13:20:06 -07:00
timothycarambat
3c844363fb
Merge branch 'master' of github.com:Mintplex-Labs/anything-llm
2023-09-29 12:56:50 -07:00
timothycarambat
a8933e56fd
change member to default
2023-09-29 12:56:42 -07:00
Timothy Carambat
18798c5b64
prevent deletion of documents not in hotdir via director traversal ( #258 )
...
resolves #257
2023-09-29 11:04:47 -07:00
Timothy Carambat
d5b1f84a4c
Prevent updates of specific keys via API ( #256 )
...
prevent non-admin from updating settings
prevent password updates in multi-user mdoe
2023-09-29 10:44:40 -07:00
timothycarambat
61777c837b
fix count cmd for migration
2023-09-28 14:12:54 -07:00
timothycarambat
9632e32128
check table for migration
2023-09-28 14:08:36 -07:00
Sean Hatfield
a126b5f5aa
Replace custom sqlite dbms with prisma ( #239 )
...
* WIP converted all sqlite models into prisma calls
* modify db setup and fix ApiKey model calls in admin.js
* renaming function params to be consistent
* converted adminEndpoints to utilize prisma orm
* converted chatEndpoints to utilize prisma orm
* converted inviteEndpoints to utilize prisma orm
* converted systemEndpoints to utilize prisma orm
* converted workspaceEndpoints to utilize prisma orm
* converting sql queries to prisma calls
* fixed default param bug for orderBy and limit
* fixed typo for workspace chats
* fixed order of deletion to account for sql relations
* fix invite CRUD and workspace management CRUD
* fixed CRUD for api keys
* created prisma setup scripts/docs for understanding how to use prisma
* prisma dependency change
* removing unneeded console.logs
* removing unneeded sql escape function
* linting and creating migration script
* migration from depreciated sqlite script update
* removing unneeded migrations in prisma folder
* create backup of old sqlite db and use transactions to ensure all operations complete successfully
* adding migrations to gitignore
* updated PRISMA.md docs for info on how to use sqlite migration script
* comment changes
* adding back migrations folder to repo
* Reviewing SQL and prisma integraiton on fresh repo
* update inline key replacement
* ensure migration script executes and maps foreign_keys regardless of db ordering
* run migration endpoint
* support new prisma backend
* bump version
* change migration call
---------
Co-authored-by: timothycarambat <rambat1010@gmail.com>
2023-09-28 14:00:03 -07:00
santini-cyber
e4a5fe5971
changing the build behavior in the aws cloudformation template from [… ( #247 )
...
changing the build behavior in the aws cloudformation template from [scripts-user, always] to [scripts-user, once-per-instance] so the userdata script is not run every time the server boots.
2023-09-25 20:51:39 -07:00
Sean Hatfield
ce6951b21f
Renamed all indicies to vectors to avoid confusion of vocab ( #246 )
...
* renamed all indicies to vectors to avoid confusion of vocab
* removing unneeded files
* changed indicies on frontend sidebar to vectors
2023-09-21 12:04:17 -07:00
Timothy Carambat
a505928934
Display better error messages from document processor ( #243 )
...
pass messages to frontend on success/failure
resolves #242
2023-09-18 16:50:20 -07:00
Timothy Carambat
3e78476739
Franzbischoff document improvements ( #241 )
...
* cosmetic changes to be compatible to hadolint
* common configuration for most editors until better plugins comes up
* Changes on PDF metadata, using PyMuPDF (faster and more compatible)
* small changes on other file ingestions in order to try to keep the fields equal
* Lint, review, and review
* fixed unknown chars
* Use PyMuPDF for pdf loading for 200% speed increase
linting
---------
Co-authored-by: Francisco Bischoff <franzbischoff@gmail.com>
Co-authored-by: Francisco Bischoff <984592+franzbischoff@users.noreply.github.com>
2023-09-18 16:21:37 -07:00
Sean Hatfield
bb822a8ab3
Improve UI for login modal ( #235 )
...
* removed loading skeleton from password authentication modal background
* added logo to login modals
* change BG colors for dark/light mode support
---------
Co-authored-by: timothycarambat <rambat1010@gmail.com>
2023-09-13 13:44:36 -07:00
timothycarambat
79e3faa82d
Update readme to not prefer Pinecone
2023-09-12 14:58:14 -07:00
Sean Hatfield
1ae68ffb59
Adding messages to embedding updates ( #229 )
...
* WIP added toast for embedding updates
* Update and retain new change state
---------
Co-authored-by: timothycarambat <rambat1010@gmail.com>
2023-09-11 16:59:19 -07:00
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