Mr Simon C
7594841dac
Bug/make swagger json output openapi 3 compliant ( #2219 )
...
update source to ensure swagger.json is openapi 3.0.0 compliant
2024-09-04 15:40:24 -07:00
Timothy Carambat
fdc3add53c
Api session id support ( #2158 )
...
* Refactor api endpoint chat handler to its own function
remove legacy `chatWithWorkspace` and cleanup `index.js`
* Add `sessionId` in dev API to partition chats logically statelessly
2024-08-21 15:25:47 -07:00
timothycarambat
17abbe97e5
remove #swagger.path
from API docs
2024-08-20 12:48:08 -07:00
timothycarambat
c9e19264eb
fix validation issue
2024-08-07 14:24:24 -07:00
Sean Hatfield
665553af5a
Developer API access for embed chat widgets ( #1999 )
...
* developer api access for embedded chat widgets and embed chats
* lint
* uncheck files
* sanitize embed api inputs
---------
Co-authored-by: Timothy Carambat <rambat1010@gmail.com>
2024-08-07 11:36:32 -07:00
Timothy Carambat
ae58a2cb0d
Return threads for API workspace calls ( #1978 )
...
* Return threads for API workspace calls
* remove import
2024-07-26 14:18:40 -07:00
timothycarambat
d0713e15f1
patch response body for swagger
2024-07-22 15:21:32 -07:00
timothycarambat
7b42a67acf
docs: update requirement for /raw-text endpoint
...
resolves #1893
2024-07-22 13:19:57 -07:00
Timothy Carambat
3198718975
Update references to new domain ( #1916 )
2024-07-22 11:05:34 -07:00
timothycarambat
f9929a28cb
patch lint
2024-07-19 15:27:56 -07:00
Sean Hatfield
77916d920b
[FEAT] Remove users_can_delete_workspaces feature ( #1742 )
...
remove all references to users_can_delete_workspaces option
2024-06-25 16:46:06 -07:00
Timothy Carambat
88a0335fd2
Add OpenAI compatible API support ( #1757 )
2024-06-24 18:28:21 -07:00
Sean Hatfield
12bf576e16
[FEAT] Workspace threads developer API endpoints ( #1668 )
...
* WIP workspace threads developer api endpoints
* fix swagger docs
* fix broken endpoints and test on single/multi user modes
* support for chatting with workspace thread by userId
* update swagger json
2024-06-20 16:27:35 -07:00
timothycarambat
421c5c6b91
linting
2024-06-18 11:30:50 -07:00
lewismacnow
6c68bdbd51
1711 enhance workspace users api ( #1712 )
...
* Update workspace.js
adds userId to the workspaceUsers function
* Update openapi.json
Updates the workspace/users API docs to display correct 200 response example, including userId, username, role and last update datetime.
2024-06-18 09:35:40 -07:00
Sean Hatfield
1c473621aa
[FEAT] Add user management endpoints to list all users via developer API ( #1708 )
...
* add user management endpoints to list all users via developer api
* rename users to user management in swagger docs
* linting
---------
Co-authored-by: timothycarambat <rambat1010@gmail.com>
2024-06-17 16:24:41 -07:00
timothycarambat
0d5cc558c9
linting
...
patch UI exception with invalid return value from failed parse
resolves #1692
2024-06-17 13:55:10 -07:00
lewismacnow
38441f4b21
1693 get workspace users api ( #1694 )
...
* Enhance API - add GET for users with access to workspace
Adds GET request endpoint for retrieving a list of users with permissions to access the specified workspace
* Update Swagger for users with access to workspace
Adds swagger docs for the endpoint used to retrieve users with access to workspace. "v1/admin/workspaces/:workspaceId/users"
2024-06-17 13:52:01 -07:00
timothycarambat
3434bf4686
linting
2024-06-07 10:09:35 -07:00
yonathan suarez
bb0a4b0531
Add API Endpoint for Deleting Documents in system ( #1623 )
...
* fix: "remove document system api"
* fix: "update text system system "
---------
Co-authored-by: Timothy Carambat <rambat1010@gmail.com>
2024-06-07 09:22:03 -07:00
Timothy Carambat
196c4c13c4
Fix Swagger docs ( #1479 )
2024-05-21 21:30:37 -05:00
Sean Hatfield
5bf4b4db58
[FEAT] Add support for Voyage AI embedder ( #1401 )
...
* add support for voyageai embedder
* remove unneeded import
* linting
* Add ENV examples
Update how chunks are processed for Voyage
use correct langchain import
Add data handling
---------
Co-authored-by: Timothy Carambat <rambat1010@gmail.com>
2024-05-19 13:20:23 -05:00
yonathan suarez
ecd5d3cb8a
Add API endpoint for updating pin status ( #1449 )
2024-05-19 12:47:47 -05:00
Timothy Carambat
1ecefe8bed
Add ability to add invitee to workspaces automatically ( #975 )
2024-03-26 16:38:32 -07:00
Sean Hatfield
4f268dfeb6
[FEAT] Document picker folders for organization ( #902 )
...
* implement alternating color rows for file picker
* implement alternating colors for workspace directory
* remove unneeded props/variables
* remove unused border classes
* WIP new folder UI
* remove unneeded expanded prop from filerow component
* folder creation UI and files object manipulation WIP
* folder creation & moving files complete
* add developer API support for creating folders and moving files
* update alternating row css for file picker
* remove unneeded props from merge
* normalize paths for folders
priority to custom docs folder
silently fail on duplicate folders
* update folder icon to custom svg
* linting and move FolderIcon to JSX
---------
Co-authored-by: timothycarambat <rambat1010@gmail.com>
2024-03-20 16:10:30 -07:00
Timothy Carambat
9e085baf5e
Add chat-export to API ( #831 )
2024-02-27 12:52:57 -08:00
Timothy Carambat
aad32db5e3
Migrate document processor to class ( #735 )
...
* Migrate document processor to class
* forgot "new"
2024-02-16 16:32:25 -08:00
Timothy Carambat
48cb8f2897
Add support to upload rawText document via api ( #692 )
...
* Add support to upload rawText document via api
* update API doc endpoint with correct textContent key
* update response swagger doc
2024-02-07 15:17:32 -08:00
Sean Hatfield
2f3db0e63a
[FEAT] support pinecone serverless ( #639 )
...
* migrate pinecone package to latest version and migrate pinecone vectordb provider class
* remove pinecone environment name env variable and update docs to reflect removal & serverless support complete
* migrate query for pinecone db
* typo in log
---------
Co-authored-by: timothycarambat <rambat1010@gmail.com>
2024-01-22 16:41:20 -08:00
Timothy Carambat
b35feede87
570 document api return object ( #608 )
...
* Add support for fetching single document in documents folder
* Add document object to upload + support link scraping via API
* hotfixes for documentation
* update api docs
2024-01-16 16:04:22 -08:00
Timothy Carambat
c61cbd1502
Add support for fetching single document in documents folder ( #607 )
2024-01-16 14:58:49 -08:00
Timothy Carambat
f5bb064dee
Implement streaming for workspace chats via API ( #604 )
2024-01-16 10:37:46 -08:00
Timothy Carambat
bd158ce7b1
[Feat] Query mode to return no-result when no context found ( #601 )
...
* Query mode to return no-result when no context found
* update default error for sync chat
* remove unnecessary type conversion
2024-01-16 09:32:51 -08:00
Timothy Carambat
755c10b8ca
[API] patch swagger host to be relative ( #563 )
...
patch swagger host to be relative
2024-01-09 19:49:51 -08:00
timothycarambat
d99b87e7d8
patch workspace-chats API endpoint to be generally available instead of forced multi-user
2024-01-02 12:44:17 -08: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
Timothy Carambat
3f5b419601
Add support for chatting via the API ( #261 )
2023-09-29 13:45:35 -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