Commit Graph

961 Commits

Author SHA1 Message Date
timothycarambat
7f2b344a90 update 128k label for Azure models
resolves #2264
2024-09-11 12:39:32 -07:00
Timothy Carambat
d1103e2b71
Add support for custom agent skills via plugins (#2202)
* Add support for custom agent skills via plugins
Update Admin.systemPreferences to updated endpoint (legacy has deprecation notice

* lint

* dev build

* patch safeJson
patch label loading

* allow plugins with no config options

* lint

* catch invalid setupArgs in frontend

* update link to docs page for agent skills

* remove unneeded files

---------

Co-authored-by: shatfield4 <seanhatfield5@gmail.com>
2024-09-10 17:06:02 -07:00
Sean Hatfield
f3f6299aae
Fix UI for slash cmd presets (#2260)
* fix ui for slash cmd presets

* hide scroll

---------

Co-authored-by: timothycarambat <rambat1010@gmail.com>
2024-09-10 15:16:27 -07:00
Sean Hatfield
a58f271149
Milvus bug fix (#2183)
* patch no text results for milvus chunks

* wrap addDocumentToNamespace in try catch for handling milvus errors

* lint

* revert milvus db changes

* add try catch to handle grpc error from milvus
2024-09-09 15:32:08 -07:00
Mr Simon C
cf6928fd5d
match user prompts exactly not partially (#2245) 2024-09-09 14:40:06 -07:00
timothycarambat
9aa77dfb8d Add verbose logging to GH loader
connect #2243
2024-09-09 14:36:37 -07:00
Mr Simon C
8b7b042e20
update docs showing no need for manual port forwarding of Server in G… (#2247)
update docs showing no need for manual port forwarding of Server in GHCodespaces
2024-09-09 12:49:23 -07:00
Timothy Carambat
86f4466afb
remove Jazzicons & Add default pfps (#2233)
remove Jazzicons
update pfps
2024-09-06 12:29:11 -07:00
timothycarambat
5f477e0dbd remove log 2024-09-06 11:37:46 -07:00
Timothy Carambat
20135835d0
Ollama sequential embedding (#2230)
* ollama: Switch from parallel to sequential chunk embedding

* throw error on empty embeddings

---------

Co-authored-by: John Blomberg <john.jb.blomberg@gmail.com>
2024-09-06 10:06:46 -07:00
amrrs
fef01550df
fixed the typo in LLMs (#2225)
(not a big deal, just to avoid someone pointing it out)
2024-09-05 11:14:48 -07:00
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