Commit Graph

462 Commits

Author SHA1 Message Date
sherifButt
40de9d7bd5 - toned down chat copy,thumbs up and down icons
- refactored Dynamic Input Component to encapsulate all dynamic input logic, gate and controllers
2024-03-11 06:40:13 +00:00
sherifButt
fd1df23ff9 -styled input button to match input fields styling with darker background
- dynamic input buttons and dropdown menues are mobile responsive now
2024-03-09 15:34:15 +00:00
sherifButt
6570ed0e57 - refactored chatContainer to handle both promptInput and dyanamicInput
- added toggle button between text promptInput and dynamicInput
- added options sellect with 3 redering types, List, dropdown, buttons
- styled OptionSelect component to match anythingllm buttons theme
2024-03-09 14:46:11 +00:00
sherifButt
5088d8471a -added switch between streaming response and not, to stop streaming while using dynamic input, as it require the full response to allow json schema extraction
- fixed auto page refresh after chat reset (quick line)
- added temporary isDynamicInput as static variable for development, later to be added as dynamic setting to workspace settings menue
2024-03-09 06:54:22 +00:00
sherifButt
4817424c1a added extractMetaData function to chat utils 2024-03-08 07:03:03 +00:00
sherifButt
25662abeaf appeded metaData object to chatHisory array 2024-03-08 06:54:54 +00:00
Sean Hatfield
3cb8a80e8d
[STYLE] Implement new side bar menus (#815)
* WIP main sidebar designs

* hover states and active states for main sidebar

* main and settings sidebar UI updates & improve performance using Link instead of <a>

* update borders to match rest of UI in all pages

* update borders of all containers to match rest of UI

* remove unneeded conditional

* small changes to UI to conform to designs
Fix conditional hook render

* add check for roles to SettingsButton component and hide button from footer when in mobile

* typo

---------

Co-authored-by: timothycarambat <rambat1010@gmail.com>
2024-03-06 17:22:36 -08:00
timothycarambat
31d9268ed4 Merge branch 'master' of github.com:Mintplex-Labs/anything-llm 2024-03-06 17:14:26 -08:00
timothycarambat
273d824df4 patch: do not block response if user password check failed 2024-03-06 17:14:17 -08:00
Francisco Bischoff
9ce3d1150d
Update Ubuntu base image and improve Dockerfile (#609)
* Update Ubuntu base image and improve Dockerfile

* Add unzip to Docker image dependencies

Needed for the arm64 build

* reset tabs

* formalized lint rules for hadolint. however the Docker formatting is being handled by MS Docker extension which doesn't indent code as expected. WIP.

* found a workaround to keep formatting

---------

Co-authored-by: timothycarambat <rambat1010@gmail.com>
2024-03-06 16:34:45 -08:00
Sean Hatfield
5907eb9939
Make EditWorkspaceUsersModal scrollable (#853)
make EditWorkspaceUsersModal scrollable
2024-03-06 14:58:35 -08:00
Sean Hatfield
e0d5d8039a
[FEAT] Claude 3 support and implement new version of Anthropic SDK (#863)
* implement new version of anthropic sdk and support new models

* remove handleAnthropicStream and move to handleStream inside anthropic provider

* update useGetProvidersModels for new anthropic models
2024-03-06 14:57:47 -08:00
Sean Hatfield
0634013788
[FEAT] Groq LLM support (#865)
* Groq LLM support complete

* update useGetProvidersModels for groq models

* Add definiations
update comments and error log reports
add example envs

---------

Co-authored-by: timothycarambat <rambat1010@gmail.com>
2024-03-06 14:48:38 -08:00
Gabriel Koo
4731ec8be8
[FIX] : missing import for parseAuthHeader in server/utils/vectorDbProviders/chroma/index.js (#869)
fix: import parseAuthHeader in chroma/index.js
2024-03-06 09:14:36 -08:00
Sean Hatfield
fde905aac1
[FEAT] JSON export append all metadata fields to workspace chats (#845)
have JSON export append all metadata fields
2024-02-29 17:04:59 -08:00
Timothy Carambat
147426704c
adjust max upload window height (#844) 2024-02-29 10:09:49 -08:00
Timothy Carambat
ec90060d36
Re-map some file mimes to support text (#842)
re-map some file mimes to support text
2024-02-29 10:05:03 -08:00
timothycarambat
60fc5f715a Merge branch 'master' of github.com:Mintplex-Labs/anything-llm 2024-02-28 12:05:57 -08:00
timothycarambat
e775cc2b05 fix Ollama embedder typo 2024-02-28 12:05:44 -08:00
Timothy Carambat
9e085baf5e
Add chat-export to API (#831) 2024-02-27 12:52:57 -08:00
Sean Hatfield
2974a969b5
[FEAT]: Pin to workspace UI update (#828)
* pin to workspace UI update

* tweak css

* change tooltip to white to match designs
2024-02-27 11:55:26 -08:00
Timothy Carambat
bbe3c0a5d6
Bulk remove files from file picker (#830)
Do bulk deletion on backend
2024-02-27 11:53:42 -08:00
Sean Hatfield
e87cba3468
[CHORE] Normalize styles of all input and select elements (#804)
* normalize styles of all input and select elements

* missed placeholder text input

* missed input fields on onboarding flow
2024-02-27 11:47:01 -08:00
Timothy Carambat
b64cb199f9
788 ollama embedder (#814)
* Add Ollama embedder model support calls

* update docs
2024-02-26 16:12:20 -08:00
Timothy Carambat
b20e3ce52c
Only show critical toasts during onboarding (#810) 2024-02-26 13:54:22 -08:00
Sean Hatfield
4d74f23c82
[CHORE]: Improve UX of custom logo screens (#806)
improve UX of custom logo screens
2024-02-26 13:50:28 -08:00
Timothy Carambat
6d18d79bb7
Generic upload fallback as text file. (#808)
* Do not block any file upload
fallback unknown/unsupported types to text if possible

* reduce call for frontend

* patch
2024-02-26 13:43:54 -08:00
Sean Hatfield
ca2e0f8e6f
[STYLE] Fix styles of LLMItem, EmbedderItem, and VectorDBItem (#803)
update opacity and spacing of LLMItem, EmbedderItem, and VectorDBItem
2024-02-26 12:35:52 -08:00
Sean Hatfield
c50311fe1a
[STYLE] Fix heights of search bars (#801)
fix height of search bars for LLM providers, embedding providers, and vectorDB providers
2024-02-26 12:35:05 -08:00
sherifButt
8fe283dc56
#765 - Enhanced chat styling (#786)
* enhanced chat style and remove list restriction

* [FEAT]: Enhanced chat styling #765

* small changes in CSS to prevent collisions

* remove commented code

* linting

---------

Co-authored-by: timothycarambat <rambat1010@gmail.com>
2024-02-23 18:02:23 -08:00
Timothy Carambat
a385ea3d82
CHORE: bump pplx model support (#791)
bump pplx model support
2024-02-23 17:33:16 -08:00
Sean Hatfield
633f425206
[FEAT] OpenRouter integration (#784)
* WIP openrouter integration

* add OpenRouter options to onboarding flow and data handling

* add todo to fix headers for rankings

* OpenRouter LLM support complete

* Fix hanging response stream with OpenRouter
update tagline
update comment

* update timeout comment

* wait for first chunk to start timer

* sort OpenRouter models by organization

* uppercase first letter of organization

* sort grouped models by org

---------

Co-authored-by: timothycarambat <rambat1010@gmail.com>
2024-02-23 17:18:58 -08:00
Sean Hatfield
c87ef5b674
[FEAT] show chunk score on citations (#773)
* show similarity score in citation chunks

* refactor combine like sources to handle separate similarity scores and improve UI for displaying chunks

* fix parseChunkSource function to work with links

* destructure properties in chunks mapping

* check chunk length in parseChunkSource

* change UI on how score is shown

* remove duplicate import

---------

Co-authored-by: timothycarambat <rambat1010@gmail.com>
2024-02-22 13:16:20 -08:00
Sean Hatfield
80ced5eba4
[FEAT] PerplexityAI Support (#778)
* add LLM support for perplexity

* update README & example env

* fix ENV keys in example env files

* slight changes for QA of perplexity support

* Update Perplexity AI name

---------

Co-authored-by: timothycarambat <rambat1010@gmail.com>
2024-02-22 12:48:57 -08:00
timothycarambat
f376872e43 patch Puppeteer base URL 2024-02-22 10:59:45 -08:00
Timothy Carambat
424ca142c1
Fix default role visibility permissions (#776) 2024-02-22 09:15:27 -08:00
Sean Hatfield
e99c74aec1
[DOCS] Update Docker documentation to show how to setup Ollama with Dockerized version of AnythingLLM (#774)
* update HOW_TO_USE_DOCKER to help with Ollama setup using docker

* update HOW_TO_USE_DOCKER

* styles update

* create separate README for ollama and link to it in HOW_TO_USE_DOCKER

* styling update
2024-02-21 18:42:32 -08:00
Timothy Carambat
da05e6bdeb
railway deploy button (#772)
* railway deploy button

* railway deploy button
2024-02-21 14:59:17 -08:00
Timothy Carambat
791c0ee9dc
Enable ability to do full-text query on documents (#758)
* Enable ability to do full-text query on documents
Show alert modal on first pin for client
Add ability to use pins in stream/chat/embed

* typo and copy update

* simplify spread of context and sources
2024-02-21 13:15:45 -08:00
Sean Hatfield
e63c426223
[REFACTOR] Refactor Appearance settings page (#769)
* split CustomMessages and CustomLogo into separate components from appearance settings

* lint

---------

Co-authored-by: timothycarambat <rambat1010@gmail.com>
2024-02-21 13:07:12 -08:00
Sean Hatfield
31c7bd2838
[REFACTOR] Refactor UserMenu component for readability (#767)
* refactor UserMenu component for readability

* revisit hook

---------

Co-authored-by: timothycarambat <rambat1010@gmail.com>
2024-02-21 11:20:36 -08:00
Timothy Carambat
d89610586a
improve error messages from YT scraping (#768)
parse & enforce URL to allow multiple URL schemas
2024-02-21 10:47:10 -08:00
Timothy Carambat
49fbd09af4
Support more plaintext filetypes (#757)
* Add more plaintext document types

org-mode, asciidoc, and reStructuredText are all text formats

Signed-off-by: Christian Romney <christian.a.romney@gmail.com>

* lint

---------

Signed-off-by: Christian Romney <christian.a.romney@gmail.com>
Co-authored-by: Christian Romney <christian.a.romney@gmail.com>
2024-02-19 10:44:01 -08:00
Timothy Carambat
755df4dbba
auto highlight slash command on typing (#743) 2024-02-19 10:32:53 -08:00
Sean Hatfield
17c1913ccc
[FEAT]: Allow user to set support email (#726)
* implement custom support email for usermenu support button

* small refactor

---------

Co-authored-by: timothycarambat <rambat1010@gmail.com>
2024-02-19 10:30:41 -08:00
Timothy Carambat
b636a07e52
Update Docker Run command (#756)
* Update Docker Run command

* Update Docker Run command

* Update Docker Run command
2024-02-19 10:29:47 -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
51dbff0dcb
Breakout Chat/Query mode as a workspace setting (#734)
Remove useless icons in prompt bar
Add chatMode column to workspaces that defaults to chat
Add UI for toggle of chat mode with hint
Update UI for workspace settings to match designs
2024-02-16 14:50:40 -08:00
Timothy Carambat
32233974c2
Enable Alpaca JSON export format (#732)
* Enable Alpaca JSON export format

* Replace dom download link with filesave for browser compat
Fix layout of exported json types for readability
2024-02-16 12:35:53 -08:00
timothycarambat
ce8f65ff84 add back delete workspace button 2024-02-14 16:04:36 -08:00