Commit Graph

404 Commits

Author SHA1 Message Date
timothycarambat
990569e85b Merge branch 'master' of github.com:Mintplex-Labs/anything-llm into embedded-anythingllm-app 2024-02-02 15:30:15 -08:00
timothycarambat
146385bf41 no build on embed changes 2024-02-02 15:29:38 -08:00
timothycarambat
8bf0691f11 update reset script 2024-02-02 15:26:39 -08:00
timothycarambat
2b92ae0901 update failure to lookup message 2024-02-02 14:57:04 -08:00
timothycarambat
5145499776 allow change of workspace for embedconfig 2024-02-02 14:55:27 -08:00
timothycarambat
51765cfe97 merge with master 2024-02-02 13:53:25 -08:00
timothycarambat
7fdd5afab3 remove unused imports 2024-02-02 13:52:15 -08:00
timothycarambat
cccec69293 update comments 2024-02-02 13:45:21 -08:00
timothycarambat
9fc45daf77 more style support
reopen if chat was last opened
2024-02-02 13:31:26 -08:00
timothycarambat
27381a612c nonpriv 2024-02-02 12:24:00 -08:00
timothycarambat
20cfb2f4c4 update embed 2024-02-02 12:09:24 -08:00
timothycarambat
8e0b08ecad Admin Embed Chats mgmt page 2024-02-02 11:41:04 -08:00
timothycarambat
b219c5df0e Admin embed config page 2024-02-02 11:12:06 -08:00
timothycarambat
efc54be4ae reset chat history 2024-02-01 16:20:44 -08:00
timothycarambat
1bdc4b9975 auto open param and default greeting 2024-02-01 15:38:07 -08:00
timothycarambat
2f0942afac add middleware validations on embed chat 2024-02-01 15:08:30 -08:00
timothycarambat
3b9f7cb373 introduce chat modal styles 2024-02-01 14:14:17 -08:00
timothycarambat
97bc5fa39b rename to embed folder 2024-02-01 13:55:37 -08:00
timothycarambat
feb686dc36 forgot files 2024-02-01 11:24:42 -08:00
timothycarambat
625d2f9654 Implement models and cleanup embed chat endpoints
Improve build process for embed
prod minification and bundle size awareness
WIP
2024-02-01 11:24:04 -08:00
Sean Hatfield
9d410496c0
[FIX]: Fix Chinese characters causing empty workspace slug (#660)
if slug is empty on create workspace, generate a uuid as the workspace slug
2024-01-31 13:38:21 -08:00
timothycarambat
0c77a2b4af remove eslint config 2024-01-31 13:35:28 -08:00
timothycarambat
55170107c8 rough in modularization of embed chat
cleanup dev process for easier dev support
move all chat to components
todo: build process
todo: backend support
2024-01-31 13:34:25 -08:00
shatfield4
677cf96b34 load params from script tag into embedded app 2024-01-31 10:49:22 -08:00
shatfield4
3076809a17 WIP embedded app history functional 2024-01-31 09:23:08 -08:00
Alex Leventer
d927629c19
Add Astra DB to list of supported vector stores (#657)
Update README.md
2024-01-30 09:47:03 -08:00
shatfield4
6665b39ceb implemented streaming and tailwind min for styling into embedded app 2024-01-29 18:32:58 -08:00
Timothy Carambat
dfab14a5d2
Patch lanceDB not deleting vectors from workspace (#655)
patch lanceDB not deleting vectors from workspace
documentVectors self-sanitize on delete of parent document
2024-01-29 09:49:22 -08:00
Sean Hatfield
9d41ff58e2
[FEAT] add support for new openai embedding models (#653)
* add support for new openai models

* QOL changes/improve logic for adding new openai embedding models

* add example file inputs for Openai embedding ENV selection;

* Fix if stmt conditional

---------

Co-authored-by: timothycarambat <rambat1010@gmail.com>
2024-01-29 08:48:27 -08:00
Hakeem Abbas
5614e2ed30
feature: Integrate Astra as vectorDBProvider (#648)
* feature: Integrate Astra as vectorDBProvider

feature: Integrate Astra as vectorDBProvider

* Update .env.example

* Add env.example to docker example file
Update spellcheck fo Astra
Update Astra key for vector selection
Update order of AstraDB options
Resize Astra logo image to 330x330
Update methods of Astra to take in latest vectorDB params like TopN and more
Update Astra interface to support default methods and avoid crash errors from 404 collections
Update Astra interface to comply to max chunk insertion limitations
Update Astra interface to dynamically set dimensionality from chunk 0 size on creation

* reset workspaces

---------

Co-authored-by: timothycarambat <rambat1010@gmail.com>
2024-01-26 13:07:53 -08:00
Sean Hatfield
21653b09fc
[FEAT] add gpt-4-turbo-preview (#651)
* add gpt-4-turbo-preview

* add gpt-4-turbo-preview to valid models
2024-01-26 13:03:50 -08:00
timothycarambat
39d07feaed fix bug yaml 2024-01-26 12:45:05 -08:00
timothycarambat
ca3decf413 fix bug yaml 2024-01-26 12:44:15 -08:00
shatfield4
28a9cf52ec WIP streaming prints to embedded app 2024-01-26 12:18:32 -08:00
shatfield4
a0e1152258 WIP got response from backend in embedded app 2024-01-25 17:26:36 -08:00
shatfield4
58ecc10dcc WIP embedded app 2024-01-24 17:20:26 -08:00
timothycarambat
978cad476a update BARE_METAL setup 2024-01-24 14:27:52 -08:00
Timothy Carambat
8377600211
Patch Azure text completion persistence (#647) 2024-01-24 13:08:22 -08:00
timothycarambat
171b1dd9aa Add runtime metric to Telemetry 2024-01-24 10:40:31 -08:00
timothycarambat
09a0fe1c81 Add prisma reset dev command
Patch background color for fullscreen loader
2024-01-23 14:22:50 -08:00
Sean Hatfield
62da5c9933
[REFACTOR] remove all <dialog> modals and replace with custom ModalWrapper component (#641)
* add useModal hook and ModalWrapper component that will be used to replace all <dialog> modals for better browser support

* implement useModal hook and ModalWrapper component to replace all exisiting <dialog>
2024-01-23 14:19:08 -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
timothycarambat
ad5a35b662 fix bare-metal.md typos 2024-01-22 16:09:54 -08:00
Timothy Carambat
c5d0f29c48
Add bare metal support docs and deployment (#638)
* Add bare metal support docs and deployment

* typos
2024-01-22 16:07:55 -08:00
Timothy Carambat
d5cde8b7c2
Apply permissioning on document modification endpoints (#637) 2024-01-22 14:31:19 -08:00
Timothy Carambat
9a237db3d1
Implement total permission overhaul (#629)
* Implement total permission overhaul
Add explicit permissions on each flex and strict route
Patch issues with role escalation and CRUD of users
Patch permissions on all routes for coverage
Improve middleware to accept role array for clarity

* update comments

* remove permissions to API-keys for manager. Manager could generate API-key and using high-privelege api-key give themselves admin

* update sidebar permissions for multi-user and single user

* update options for mobile sidebar
2024-01-22 14:14:01 -08:00
Sean Hatfield
62cea07599
add gpt-3.5-turbo-1106 model for openai LLM (#636)
* add gpt-3.5-turbo-1106 model for openai LLM

* add gpt-3.5-turbo-1106 as valid model for backend and per workspace model selection
2024-01-22 13:19:47 -08:00
Sean Hatfield
288ff0d18c
fix vector cache not deleting cache after unembedding items with folders (#630) 2024-01-22 13:03:05 -08:00
Timothy Carambat
8a7324d0e7
Employ strict validations on document pathing (#627)
* Employ strict validations on document pathing

* add comment

* update validSubfolder var
2024-01-19 12:56:00 -08:00
Timothy Carambat
0db6c3b2aa
Prevent private octets from link collection for self-hosted (#626) 2024-01-19 10:49:40 -08:00