* add ollama automatic url detection in llm and embedder prefrences
* implement auto detection for lmstudio llm and embedder/improve performance of checking common urls
* fix modal not clearing
* fix lmstudio url check
* improve ux for ollama llm provider option
* improve ux for lm studio llm provider option
* improve ux for ollama embedder option
* improve ux for lmstudio embedder option
* ux improvement lmstudio embedder options
* refactor implementation to hook and use native timeout
Swap to promise.any for resolving of available endpoints
* implement useProviderEndpointAutoDiscovery hook for lmstudio and ollama provider options
---------
Co-authored-by: timothycarambat <rambat1010@gmail.com>
* wip bg workers for live document sync
* Add ability to re-embed specific documents across many workspaces via background queue
bgworkser is gated behind expieremental system setting flag that needs to be explictly enabled
UI for watching/unwatching docments that are embedded.
TODO: UI to easily manage all bg tasks and see run results
TODO: UI to enable this feature and background endpoints to manage it
* create frontend views and paths
Move elements to correct experimental scope
* update migration to delete runs on removal of watched document
* Add watch support to YouTube transcripts (#1716)
* Add watch support to YouTube transcripts
refactor how sync is done for supported types
* Watch specific files in Confluence space (#1718)
Add failure-prune check for runs
* create tmp workflow modifications for beta image
* create tmp workflow modifications for beta image
* create tmp workflow modifications for beta image
* dual build
update copy of alert modals
* update job interval
* Add support for live-sync of Github files
* update copy for document sync feature
* hide Experimental features from UI
* update docs links
* [FEAT] Implement new settings menu for experimental features (#1735)
* implement new settings menu for experimental features
* remove unused context save bar
---------
Co-authored-by: timothycarambat <rambat1010@gmail.com>
* dont run job on boot
* unset workflow changes
* Add persistent encryption service
Relay key to collector so persistent encryption can be used
Encrypt any private data in chunkSources used for replay during resync jobs
* update jsDOC
* Linting and organization
* update modal copy for feature
---------
Co-authored-by: Sean Hatfield <seanhatfield5@gmail.com>
* ru language added
* uncheck bad changes
Use chatGPT to create new dictionary for RU translation
turn off debug mode in produ for i18n
patch issue with null comparison in verifyTranslation.js
---------
Co-authored-by: UUSR <konstantik@gmail.com>
* rework document picker ui
* refactor tooltips to use react-tooltip lib with custom elements
---------
Co-authored-by: timothycarambat <rambat1010@gmail.com>
* implement mobile styles for new agent settings ui
* fix on off label not updating for generate & save files to browser
* update sql connector modal for mobile
* small changes for UI normalization
* breakout layout from forms for mobile/desktop
* add back no-borders
---------
Co-authored-by: Timothy Carambat <rambat1010@gmail.com>
* make thread name 'Thread' when new thread is created
* implement auto generated thread titles
* implement truncated prompt as thread name
* move rename of thread into workspaceThread function
---------
Co-authored-by: Timothy Carambat <rambat1010@gmail.com>
* implement custom icon on login screen for single & multi user + custom app name feature
* hide field when not relevant
* set customApp name
* show original anythingllm login logo unless custom logo is set
* nit-picks
* remove console log
---------
Co-authored-by: timothycarambat <rambat1010@gmail.com>
* add support for voyageai embedder
* remove unneeded import
* linting
* Add ENV examples
Update how chunks are processed for Voyage
use correct langchain import
Add data handling
---------
Co-authored-by: Timothy Carambat <rambat1010@gmail.com>
* increase max height of chat input for larger messages
* allow resize of input on mobile up to 50vh
* remove duplicate css rule
---------
Co-authored-by: Timothy Carambat <rambat1010@gmail.com>
* Support SQL Agent skill
* add MSSQL agent connector
* Add frontend to agent skills
remove FAKE_DB mock
reset skills to pickup child-skill dynamically
* add prompt examples for tools on untooled
* add better logging on SQL agents
* Wipe toolruns on each chat relay so tools can be used within the same session
* update comments
* implement regenerate response button
* wip on rerenders
* remove function that was duplicate
* update delete-chats function
---------
Co-authored-by: timothycarambat <rambat1010@gmail.com>
* WIP slash presets
* WIP slash command customization CRUD + validations complete
* backend slash command support
* fix permission setting on new slash commands
rework form submit and pattern on frontend
* Add field updates for hooks,
required=true to field
add user<>command constraint to keep them unique
enforce uniquness via teritary uid field on table for multi and non-multi user
* reset migration
---------
Co-authored-by: timothycarambat <rambat1010@gmail.com>
* add LMStudio agent support (generic) support
"work" with non-tool callable LLMs, highly dependent on system specs
* add comments
* enable few-shot prompting per function for OSS models
* Add Agent support for Ollama models
* azure, groq, koboldcpp agent support complete + WIP togetherai
* WIP gemini agent support
* WIP gemini blocked and will not fix for now
* azure fix
* merge fix
* add localai agent support
* azure untooled agent support
* merge fix
* refactor implementation of several agent provideers
* update bad merge comment
---------
Co-authored-by: timothycarambat <rambat1010@gmail.com>
* add text gen web ui LLM provider support
* update README
* README typo
* update TextWebUI display name
patch workspace<>model support for provider
---------
Co-authored-by: timothycarambat <rambat1010@gmail.com>
* add LMStudio agent support (generic) support
"work" with non-tool callable LLMs, highly dependent on system specs
* add comments
* enable few-shot prompting per function for OSS models
* Add Agent support for Ollama models
* improve json parsing for ollama text responses
* add LMStudio agent support (generic) support
"work" with non-tool callable LLMs, highly dependent on system specs
* add comments
* enable few-shot prompting per function for OSS models
* getChatCompletion working WIP streaming
* WIP
* working streaming WIP abort stream
* implement cohere embedder support
* remove inputType option from cohere embedder
* fix cohere LLM from not aborting stream when canceled by user
* Patch Cohere implemention
* add cohere to onboarding
---------
Co-authored-by: timothycarambat <rambat1010@gmail.com>
* WIP agent support
* move agent folder
* wip frontend socket
* checkpoint
* fix schema
* Checkpoint for plugins and AgentHandler
* refactor plugins and agent arch
* agent error reporting and handling
* add frontend elements for agents in prompt input
* WIP integrations for agents
* enable web-search agent config from frontend
* persist chat history
* update alert
* update migration
remove console logs
update close state for agent invocations
* add examples to dockerignore
Extract statusResponse to its own component
* update close method
* wrap scraping rejections
* add RAG search as funciton
* Add telem and link highlight
* chat support
* patch memory
* Add rechart as a plugin option
* Toggles for abilites of default agent (system wide)
Validate values for agent skills
Enable dynamic loading of skills
UI for toggle of skills
* add UI for toggle of configs for agent
* toggle WS or WSS protocol
* update NGNIX proxy pass
* move components around and capture failed websocket creation
* fix name
* tmp docker image
* reset workflow
* safety mark functions
* telem on tool calls
* remove hardcode short circuit
* separate web-browser from scrape
* extract summarizer to util
add abort handlers and controller for langchain stuff so socket close kills process
* langchain summarize verbose when in dev
* chart styling improvements + add title to chart
* fix legend from being cutoff in chart downloads
* remove cursor blink
---------
Co-authored-by: shatfield4 <seanhatfield5@gmail.com>
* WIP new login screen UI
* update prisma schema/create new models for pw recovery
* WIP password recovery backend
* WIP reset password flow
* WIP pw reset flow
* password reset logic complete & functional UI
* WIP login screen redesign for single and multi user
* create placeholder modal to display recovery codes
* implement UI for recovery code modals/download recovery codes
* multiuser desktop password reset UI/functionality complete
* support single user mode for pw reset
* mobile styles for all password reset/login flows complete
* lint
* remove single user password recovery
* create PasswordRecovery util file to make more readable
* do not drop-replace users table in migration
* review pr
---------
Co-authored-by: timothycarambat <rambat1010@gmail.com>
* default to AnythingLLM embedder and LanceDB on onboarding for simpler setup
* remove unused onboarding flow components
* add text telling user settings can be reconfigured later
* remove space
* update copy
patch back-path navigation on onboarding
---------
Co-authored-by: timothycarambat <rambat1010@gmail.com>
* Add support for Gemini-1.5 Pro
bump @google/generative-ai pkg
Toggle apiVersion if beta model selected
resolves#1109
* update API messages due to package change
* WIP data connector redesign
* new UI for data connectors complete
* remove old data connector page/cleanup imports
* cleanup of UI and imports
* Remove Youtube Transcript dep and move in-house
* lang pref default to en
---------
Co-authored-by: shatfield4 <seanhatfield5@gmail.com>
* WIP data connector redesign
* new UI for data connectors complete
* remove old data connector page/cleanup imports
* cleanup of UI and imports
---------
Co-authored-by: timothycarambat <rambat1010@gmail.com>
* members workspace settings menu and admin users UI updates
* implement CTAButton in all general/admin settings + ui tweaks
* move CTAButton to components/lib
* fix UI for security page to match rest of all settings pages
* UX improvements
* add CTAButton component
* prevent components folder from being ignored
* patch some UI fixes
---------
Co-authored-by: timothycarambat <rambat1010@gmail.com>
* Enable per-workspace provider/model combination
* cleanup
* remove resetWorkspaceChatModels and wipeWorkspaceModelPreference to prevent workspace from resetting model
* add space
---------
Co-authored-by: shatfield4 <seanhatfield5@gmail.com>
* Add accessible labels for back and continue buttons in onboarding flow
* Add accessible label to stop generating button
* Accessible labels for chat history actions (thumb up/down and copy)
* Accessible labels for social links in footer
* Accessible labels for home and settings links
* * Accessible labels for home, show sidebar (mobile), and workspace and thread lists.
* Implemented ARIA markup to programmatically indicate current selection and group/list association.
* members workspace settings menu and admin users UI updates
* change copy/fix admin and managers in workspace when not showing in UI
* remove existing workspace user mgmt modal
---------
Co-authored-by: timothycarambat <rambat1010@gmail.com>
* implement new LLM preference UI
* implement new vector db preferences UI to match LLM preferences
* implement new embedding preferences UI to match LLM preferences
* normalize placeholder text for search input
* implement new transcription preferences UI to match LLM preferences
* remove uneeded css
* implement new UI for llm preference onboarding
* implement new UI for embedder preference onboarding
* implement new UI for vector db preference onboarding
* fix placeholder text
* unset onboarding
* move autocomplete field
---------
Co-authored-by: timothycarambat <rambat1010@gmail.com>
* 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
* custom messages component redesign and appearance settings layout changes
* improve UX of custom logo file uploader component to match designs
* fix sizing on custom logo upload field
* WIP footer customization new UI
* implement new UI for custom footer
icon selection
* update workspace chats to match new settings UI
* update system preferences to match new settings UI
* update export workspace chats button border
* update invitations settings page to match new settings UI
* update instance workspaces settings page to match new settings UI
* update instance workspaces to match new settings UI
* update api keys settings to match new settings UI
* update LLM preferences settings to match new settings UI
* update embedding preferences settings to match new settings UI
* update vector db preferences settings to match new settings UI
* align all buttons in settings pages
* update ui for data connectors to match rest of settings ui
* update UI for embed chat
* updated ui for logging page
* fix duplicate attributes left from merge conflicts
* fix dynamic class to use ternary
* remove transition classes where it is not needed
* 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>
* 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
* 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>
* 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>
* 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>