Commit Graph

1050 Commits

Author SHA1 Message Date
Timothy Carambat
b8b55b5899
Feature/add searchapi web browsing (#2224)
* Add SearchApi to web browsing

* UI modifications for SearchAPI

---------

Co-authored-by: Sebastjan Prachovskij <sebastjan.prachovskij@gmail.com>
2024-09-05 10:36:46 -07:00
Timothy Carambat
aa4c9533aa
Feature/use escape key to close documents modal (#2222)
* Add ability to use Esc keypress to close modal for documents

* move escape close to hook

---------

Co-authored-by: Mr Simon C <iamontheinternet@yahoo.com>
2024-09-04 16:42:40 -07:00
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
timothycarambat
5c40419a27 remove system setting cap on messages (use at own risk) 2024-08-30 15:21:01 -07:00
timothycarambat
a07ff1a394 patch scrollbar on msgs
resolves #2190
2024-08-30 14:28:06 -07:00
Sean Hatfield
86ba16acdc
Add new Voyage AI embedding models (#2193)
new voyageai embedding models
2024-08-29 14:11:00 -07:00
Timothy Carambat
bc0cc20678
handle onblur for emebed domains (#2199)
bump browser extension commit
handle onblur for emebed domains
2024-08-29 14:10:41 -07:00
timothycarambat
334fd9cdd0 pre-validate sessionID type for embed chats 2024-08-27 16:38:20 -07:00
timothycarambat
548da9ade3 Exception handler on embed chat middleware 2024-08-27 16:27:58 -07:00
timothycarambat
47a5c7126c Patch path traversal in move-files that can be used by administrator level attacker only 2024-08-27 16:19:12 -07:00
timothycarambat
f519a4b48c update ignores 2024-08-27 15:06:44 -07:00
timothycarambat
cda72956f6 add back submodule 2024-08-27 15:04:43 -07:00
Timothy Carambat
29df483a27
AnythingLLM Chrome Extension (#2066)
* initial commit for chrome extension

* wip browser extension backend

* wip frontend browser extension settings

* fix typo for browserExtension route

* implement verification codes + frontend panel for browser extension keys

* reorganize + state management for all connection states

* implement embed to workspace

* add send page to anythingllm extension option + refactor

* refactor connection string auth + update context menus + organize background.js into models

* popup extension from main app and save if successful

* fix hebrew translation misspelling

* fetch custom logo inside chrome extension

* delete api keys on disconnect of extension

* use correct apiUrl constant in frontend + remove unneeded comments

* remove upload-link endpoint and send inner text html to raw text collector endpoint

* update readme

* fix readme link

* fix readme typo

* update readme

* handle deletion of browser keys with key id and DELETE endpoint

* move event string to constant

* remove tablename and writable fields from BrowserExtensionApiKey backend model

* add border-none to all buttons and inputs for desktop compatibility

* patch prisma injections

* update delete endpoints to delete keys by id

* remove unused prop

* add button to attempt browser extension connection + remove max active keys

* wip multi user mode support

* multi user mode support

* clean up backend + show created by in frotend browser extension page

* show multi user warning message on key creation + hide context menus when no workspaces

* show browser extension options to managers

* small backend changes and refactors

* extension cleanup

* rename submodule

* extension updates & docs

* dev docker build

---------

Co-authored-by: shatfield4 <seanhatfield5@gmail.com>
2024-08-27 14:58:47 -07:00
Jeff Scott Ward
fc6d7359b6
Mobile render fix (#2176)
Allows for the reflowing of text and not breaking the parent box due of display flex container. Does not change any pre-existing classes only specifies further that it should stay inside.
2024-08-26 14:35:53 -07:00
Timothy Carambat
b4651aff35
Support gpt-4o for Azure deployments (#2182) 2024-08-26 14:35:42 -07:00
hejp001
12df88b2c5
Update common.js (#2179) 2024-08-26 13:25:17 -07:00
Kaiwalya Koparkar
a798e43f4e
feat: Added Elestio as one-click deploy option (#2168)
* feat: Added Elestio as one-click deploy option

* fix: Removed unnecessary lines at the bottom
2024-08-23 10:22:04 -07:00
Timothy Carambat
22ecb7cb39
Add RAG agent plugin to API agent (#2171) 2024-08-23 09:32:19 -07:00
hejp001
5507c352af
Update common.js (#2165)
Several entries have been modified.
2024-08-22 23:01:30 -07:00
Timothy Carambat
3a3399af94
Move embed to submodule (#2163)
* Move `embed` to submodule

* update README
2024-08-22 15:31:36 -07:00
Timothy Carambat
2de9e492ec
Enabled use of @agent (and skills) via dev API calls (#2161)
* Use `@agent` via dev API

* Move EphemeralEventListener to same file as agent
2024-08-22 13:12:09 -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
2d2e49bc00 fix missing export 2024-08-21 14:58:56 -07:00
Timothy Carambat
1f96b837b3
Refactor api endpoint chat handler to its own function (#2157)
remove legacy `chatWithWorkspace` and cleanup `index.js`
2024-08-21 14:47:06 -07:00
timothycarambat
f7756d4758 Merge branch 'master' of github.com:Mintplex-Labs/anything-llm 2024-08-20 12:48:18 -07:00
timothycarambat
17abbe97e5 remove #swagger.path from API docs 2024-08-20 12:48:08 -07:00
hejp001
ae3c26b50e
Update common.js (#2148)
Translated several entries.
2024-08-20 12:43:13 -07:00
timothycarambat
cb7cb2d976 Add 405B to perplexity 2024-08-19 12:26:22 -07:00
Timothy Carambat
96e720ee79
Added Hebrew language (#2143)
* Added Hebrew

Added Hebrew

* Update resources.js

Added Hebrew

* Update BARE_METAL.md

Activation for Windows

* Update common.js

Language corrections

* unset docs changes
* update `iw` to modern ISO 639 code `he`

---------

Co-authored-by: start-life <96779864+start-life@users.noreply.github.com>
2024-08-19 11:27:50 -07:00
Timothy Carambat
f7d1940677
Support suggestions of messages for empty chat in widget (#2133)
* Support suggestions of messages for empty chat in widget

* publish
2024-08-16 19:19:39 -07:00
Timothy Carambat
a8d25c7dd3
Allow readable username passed in script widget (#2131) 2024-08-16 16:55:42 -07:00
Sean Hatfield
1dad4d9409
Fix multi-user setup bug for invalid username/password (#2130)
* fix multiuser setup bug for invalid username/password

* handle user creation failed gracefully and delete user on fail
2024-08-16 12:55:14 -07:00
timothycarambat
ff0605ce67 Add HuggingFace deployment Dockerfile example with instructions 2024-08-15 16:29:56 -07:00
Timothy Carambat
c8fe254d45
Omit invalid response.text values and prompts (#2127)
* Omit invalid `response.text` values and `prompts`
resolves #2108

* remove import
2024-08-15 14:22:27 -07:00
Sean Hatfield
df248d40d9
Fix tooltip showing on both sides of file picker (#2124)
fix tooltip showing on both sides of file picker
2024-08-15 12:17:43 -07:00
Sean Hatfield
fd16773295
Fix markdown styling for rendered images (#2125)
fix md styling for rendered images
2024-08-15 12:17:05 -07:00
Timothy Carambat
99f2c25b1c
Agent Context window + context window refactor. (#2126)
* Enable agent context windows to be accurate per provider:model

* Refactor model mapping to external file
Add token count to document length instead of char-count
refernce promptWindowLimit from AIProvider in central location

* remove unused imports
2024-08-15 12:13:28 -07:00
Shahar
4365d69359
Fix TypeError by replacing this.openai.createChatCompletion with the correct function call (#2117)
fixed new api syntax
2024-08-14 14:39:48 -07:00
timothycarambat
bdf37bf180 Merge branch 'master' of github.com:Mintplex-Labs/anything-llm 2024-08-14 09:11:31 -07:00
timothycarambat
619f6b3884 Ignore SSL errors for web scraper
resolves #2114
2024-08-14 09:11:22 -07:00
Timothy Carambat
4430ddb059
Encryption in JWT for single-user password mode (#2111)
* wip encrypting jwt value

* Encrypt/Decrypt pass in JWT value for verification in single-user password mode
2024-08-13 17:54:12 -07:00
timothycarambat
b541623c9e add SSRF notice 2024-08-13 17:46:07 -07:00
Karl Anthony Baluyot
6bb537da5c
fix(Dockerfile): remove hardcoded exposed port (#2106)
build: remove hardcoded exposed port
2024-08-13 09:16:03 -07:00
PyKen
a2571024a9
Add prompt window limits for gpt-4o-* models (#2104) 2024-08-13 09:13:36 -07:00
Sean Hatfield
dfb951e9cf
Auto URL detection for localai (#2083)
* implement auto url detection for localai

* add ports to localai common urls
2024-08-12 16:12:11 -07:00
Sean Hatfield
fce0d8b709
Improve search of document picker (#2097)
improve search of document picker
2024-08-12 13:08:43 -07:00
Sean Hatfield
26959563e5
Finetune ui improvements (#2053)
* WIP finetune ui improvements

* lint

* update order details page finetuning ui

* data upload, confirmation, and order placed finetune ui update

* update finetune layout

* remove unneeded imports

* uncomment url

* confirmation and data upload component ui updates

* finetun main container layout fix
2024-08-12 11:49:53 -07:00
Sean Hatfield
2797298507
Fix depth handling in bulk link scraper (#2096)
fix depth handling in bulk link scraper
2024-08-12 11:44:35 -07:00
Mr Simon C
89c8fae15f
Update the display to show 95% of the width on small screens, else 635px (#2089)
update the display to show 95% of the width on small screens, else 635px
2024-08-12 09:55:25 -07:00
Lea Anthony
3b6a2fd2fa
#2084 Support Go filetype (#2085)
Support Go filetype
2024-08-09 19:29:29 -07:00