Commit Graph

923 Commits

Author SHA1 Message Date
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
Timothy Carambat
f06ef6180d
add exp model to v1Beta (#2082) 2024-08-09 14:19:49 -07:00
Saravanan Palanisamy
01e85b0ffc
Populate .env file using variable inside userdata script (#2075)
Populate .env file using variable
2024-08-09 14:15:52 -07:00
timothycarambat
1e8d752a54 dont override default tailwind pulse 2024-08-09 13:00:12 -07:00
Sean Hatfield
53d64f30b1
Slash commands edit bug fix (#2073)
slash commands edit bug fix
2024-08-08 13:37:17 -07:00
timothycarambat
74d5f3adc5 debounce piper button 2024-08-07 14:28:57 -07:00
timothycarambat
0813d18739 Merge branch 'master' of github.com:Mintplex-Labs/anything-llm 2024-08-07 14:24:34 -07:00
timothycarambat
c9e19264eb fix validation issue 2024-08-07 14:24:24 -07:00
Roman Rojas
6a0f068bec
1603 speech to text hotkey (#1771)
* Added ctrl + enter hotkeys to init speach to text

* Ran linter

* Fixed speech transcript from being submitted twice when the user clicks the send button. Updated speech hotkeys.

* Added pulse animation to mic

* Fixed prompt double-send when clicking the send button or ending the TTS session.

* Fixed comment grammar

* Update mic hotkeys

---------

Co-authored-by: Timothy Carambat <rambat1010@gmail.com>
2024-08-07 12:00:01 -07:00
Timothy Carambat
d93c43fe68
Add German Translation support (#1889) 2024-08-07 11:37:45 -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
Sean Hatfield
c97066526a
New user account validations (#2037)
* force lowercase and no space for new and
 edit user modals

* edit account modal validations

* use pattern for form validation + remove validations from edit user

* revert comment deletions

* comment fix

* update validation message

* update regex
allow updating by block name changes to invalid names

---------

Co-authored-by: timothycarambat <rambat1010@gmail.com>
2024-08-07 11:35:37 -07:00
Timothy Carambat
d072875e43
Add piperTTS in-browser text-to-speech (#2052)
* Add piperTTS in-browser text-to-speech

* update vite config

* Add voice default + change prod public URL

* uncheck file

* Error handling
bump package for better quality and voices

* bump package

* Remove pre-packed WASM - will not support offline first solution for docker

* attach TTSProvider telem
2024-08-07 11:09:51 -07:00
Timothy Carambat
b4f80c3be2
Add support for markdown/math equations (#2062) 2024-08-07 10:27:21 -07:00
Timothy Carambat
0141f91dda
Hide upload element for default role users (#2061)
resolves #2060
2024-08-07 08:39:07 -07:00
Sean Hatfield
6666fff0c2
Support multiple preset prompts in single message (#2036)
support multiple preset prompts in single message
2024-08-06 10:27:36 -07:00
Mehmet Ünlü
0d4560b9e4
2049 remove break that prevents fetching files from gitlab repo (#2050)
fix: remove unnecessary break

Remove unnecessary break that prevents checking next pages for blob objects.
2024-08-06 10:17:55 -07:00
Sean Hatfield
be3b0b4916
Youtube loader whitespace fix (#2051)
youtube loader whitespace fix
2024-08-06 10:16:17 -07:00
Ramon Oliveira
f787502755
Adds full Brazilian Portuguese translation for the user interface (#2054)
Adds the complete Brazilian Portuguese translation for the user interface.
2024-08-06 09:45:28 -07:00
Mr Simon C
b96129961e
2034 automate port forwarding for GitHub codespaces using gh cli (#2035)
* open the server port to public on container post create

* install gh on container start

* remove port command until needed

* look for port 3001 to be available and make public

* install netcat

* run background nc task before server start

* add sleep 5 due to error clashing with server start

* remove netcat, use gh cli
2024-08-05 09:29:56 -07:00
Martín
e28c7412c2
Fix typo (#2041) 2024-08-05 09:18:25 -07:00
timothycarambat
cc594d4e3e add SemVer tag to docker image publication 2024-08-02 14:44:58 -07:00
Sean Hatfield
7273c892a1
Ollama performance mode option (#2014)
* ollama performance mode option

* Change ENV prop
Move perf setting to advanced

---------

Co-authored-by: timothycarambat <rambat1010@gmail.com>
2024-08-02 13:29:17 -07:00
timothycarambat
8cfe855bc8 Merge branch 'master' of github.com:Mintplex-Labs/anything-llm 2024-08-02 12:24:17 -07:00
timothycarambat
c601e0d5c6 linting 2024-08-02 12:24:08 -07:00
Timothy Carambat
ba8e4e5d3e
handle OpenRouter exceptions on streaming (#2033) 2024-08-02 12:23:39 -07:00
Glauco
9a09bac213
Added Italian translation (#2025)
* feat: added italian frontend translation
2024-08-02 10:51:05 -07:00
RahSwe
c55ef33fce
Gemini Pro 1.5, API support for 2M context and new experimental model (#2031) 2024-08-02 10:24:31 -07:00