Commit Graph

361 Commits

Author SHA1 Message Date
Sean Hatfield
5d106a477d
[FIX] New folder modal bug fix (#1654)
new folder modal z index fix
2024-06-11 11:30:29 -07:00
timothycarambat
25b1d69e63 portal all modals to prevent z-index scoping issues 2024-06-10 16:25:35 -07:00
timothycarambat
2961723a30 fix footer z-index 2024-06-10 15:33:30 -07:00
timothycarambat
394b5aafb6 linting 2024-06-10 15:22:32 -07:00
Serply
7693240e21
1646-added serply (#1647)
* added serply search api

* undo remove of new line

---------

Co-authored-by: teampen <136991215+teampen@users.noreply.github.com>
2024-06-10 15:17:41 -07:00
Timothy Carambat
b30dc1c956
patch: Auto thread renaming (#1636) 2024-06-07 17:12:54 -07:00
Sean Hatfield
3c98d15c6a
[FEAT] Rename new threads on thread creation (#1607)
* 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>
2024-06-07 14:06:47 -07:00
Sean Hatfield
13da9cb396
[FEAT] Implement search for document picker (#1532)
* implement search for document picker

* patch name

* Refactor file search method and implementation

---------

Co-authored-by: timothycarambat <rambat1010@gmail.com>
2024-06-07 13:49:13 -07:00
timothycarambat
41c176c746 linting 2024-06-07 13:22:21 -07:00
Sean Hatfield
48b7d54b52
[FIX] Delete SQL agent connection bug fix (#1635)
fix update agent settings button not appearing when deleting sql connection
2024-06-07 12:03:48 -07:00
Timothy Carambat
05e40a0af4
Fix typo manageworkspace (#1624)
* chore: fix typo of ManageWorkspace

* fix typo of typo fixes

---------

Co-authored-by: jazelly <xzha4350@gmail.com>
2024-06-06 13:27:44 -07:00
Sean Hatfield
c139b09148
[FIX] Login screen image ui bug fix + fix footer icons when overflowing (#1602)
* login screen image ui bug fix + fixed footer icons

* fix uneven top/botton padding on footer

* patch Sidebar UI in mobile

---------

Co-authored-by: Timothy Carambat <rambat1010@gmail.com>
2024-06-06 13:12:39 -07:00
Sean Hatfield
26c220503c
[FEAT] Edit message button (#1392)
* WIP edit message feature

* WIP edit message

* WIP editing messages feature

* Fix PFPs
TODO: Fix default user profile image
Add User and Assistant workspace response

* unset PFP changes for later PR

---------

Co-authored-by: timothycarambat <rambat1010@gmail.com>
2024-06-06 12:56:11 -07:00
Timothy Carambat
98cef508a6
Feature/devcontv2 (#1622)
* Updated apt-packages source for devcontainer

Switched the devcontainer's package source to a different repository to
align with updated dependencies and package availability. The previous
source from 'rocker-org' is replaced with 'devcontainers-contrib', which
may offer more recent or relevant development tools.

* Subject: Centralize prettier ignores and refine
config

Body:
Centralized all prettier ignore rules by removing individual
`.prettierignore` files in subprojects and updating the root
`.prettierignore` to include previously ignored patterns, ensuring
consistency across the workspace. Additionally, the prettier
configuration was refined by making the file pattern for `.config.js`
files consistent and adjusting quote styles for better readability. All
lint scripts across the project were updated to respect the centralized
ignore path, enhancing maintainability.

The consolidation simplifies the process of managing ignore rules as the
project scales, ensuring developers can focus on writing code without
worrying about divergent formatting standards. These changes also align
with introducing comprehensive linting across multiple environments to
keep the codebase clean and consistent.

This adjustment is a foundational step towards a more streamlined and
unified code base, making it easier for new contributors to adhere to
established coding standards and reducing the cognitive load associated
with managing multiple configuration files across the project.

* unset package json changes

---------

Co-authored-by: Francisco Bischoff <franzbischoff@gmail.com>
Co-authored-by: Francisco Bischoff <984592+franzbischoff@users.noreply.github.com>
2024-06-06 12:50:42 -07:00
Sean Hatfield
d29292ebd2
[FEAT] Add LiteLLM embedding provider support (#1579)
* add liteLLM embedding provider support

* update tooltip id

---------

Co-authored-by: timothycarambat <rambat1010@gmail.com>
2024-06-06 12:43:34 -07:00
Sean Hatfield
4324a8bb4f
[FEAT] Github repo loader bug fix (#1558)
* fix project names with special characters for github repo data connector

* linting
2024-05-29 17:01:29 +08:00
Sean Hatfield
3f78ef413b
[FEAT] Support for gemini-1.0-pro model and fixes to prompt window limit (#1557)
support for gemini-1.0-pro model and fixes to prompt window limit
2024-05-29 08:17:35 +08:00
Sean Hatfield
c24b79c9d1
[FEAT] Bing Search API web search provider (#1519)
implement bing search engine for agents
2024-05-23 16:49:30 -07:00
Sean Hatfield
649d0d79eb
[FEAT] Thread bulk edit UX improvements (#1520)
* update thread bulk edit ux to hold cmd/ctrl to appear + rename default new thread to avoid confusion

* revert new thread defualt name change

* unset undelete threads

* comment

---------

Co-authored-by: timothycarambat <rambat1010@gmail.com>
2024-05-23 16:43:01 -07:00
Sean Hatfield
6a2d7aca28
[FEAT] Custom login screen icon + custom app name (#1500)
* 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>
2024-05-23 14:14:53 -07:00
Timothy Carambat
c7e9240801
Add chat embed HTML ids (#1514) 2024-05-23 10:54:07 -07:00
Sean Hatfield
cc7e7fb3ac
[FEAT] Add support for gemini-1.5-flash-latest model (#1502)
* add support for gemini-1.5-flash-latest

* update comment in gemini LLM provider
2024-05-23 09:42:30 -07:00
Sean Hatfield
acbad2f2cf
[FEAT] Clear all chats button + export button styles updates (#1495)
* implement clear all chats button + export button styles updates

* Hide clear button if no chats are visible
update clear function

---------

Co-authored-by: timothycarambat <rambat1010@gmail.com>
2024-05-22 16:27:56 -05:00
Sean Hatfield
b4b29550b7
Fix chat width on larger screens (#1493)
* fix chat width on larger screens

* update loading layout padding

---------

Co-authored-by: timothycarambat <rambat1010@gmail.com>
2024-05-22 16:19:25 -05:00
timothycarambat
323e37e684 add fallback footer icon 2024-05-22 12:49:12 -05:00
Timothy Carambat
8c5a30db9d
Support dynamic context length - VoyageAI (#1489) 2024-05-22 10:53:49 -05:00
Timothy Carambat
b23cb1a90f
Improve RAG results via chunkHeader append (#1473) 2024-05-21 14:43:39 -05:00
Timothy Carambat
28eba636e9
Allow setting of safety thresholds for Gemini (#1466)
* Allow setting of safety thresholds for Gemini

* linting
2024-05-20 13:17:00 -05:00
timothycarambat
0935127fd9 Merge branch 'master' of github.com:Mintplex-Labs/anything-llm 2024-05-19 18:01:10 -05:00
timothycarambat
fa99e53bdf Copy raw text to clipboard to prevent omission of data for code-related tasks
resolves #1359
2024-05-19 18:01:02 -05:00
Timothy Carambat
4705670238
Update Github connector with more obvious alert of Github connector limitations (#1457) 2024-05-19 13:51:08 -05:00
Sean Hatfield
5bf4b4db58
[FEAT] Add support for Voyage AI embedder (#1401)
* 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>
2024-05-19 13:20:23 -05:00
Timothy Carambat
bea36d65a0
General Workspace settings UI updates (#1452)
General Workspace settings updates 05/17
- Move vector count to vector database
- Modify hint on LLM Temperature
2024-05-18 23:30:33 -05:00
Timothy Carambat
396e04b0cc
Icon Button Tooltips (#1451)
- add tooltips to footer buttons to clear ambiguity on what they might mean
- Updated Generic OpenAI connector to not have a ton of inputs in one row
2024-05-18 23:29:23 -05:00
Timothy Carambat
1a5aacb001
Support multi-model whispers (#1444) 2024-05-17 21:31:29 -07:00
Sean Hatfield
826ef00da3
[FEAT] LiteLLM provider support (#1424)
* litellm LLM provider support

* fix lint error

* change import orders
fix issue with model retrieval

---------

Co-authored-by: Timothy Carambat <rambat1010@gmail.com>
2024-05-16 13:56:28 -07:00
Sean Hatfield
381bdf0b61
[FIX] Improve readability for larger messages entered into chat input (#1410)
* 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>
2024-05-16 11:17:33 -07:00
Sean Hatfield
a79683065f
[FIX] Make height and width data options apply to mobile styles (#1412)
* make height and width data options apply to mobile styles

* update build and respect viewport on dev index

---------

Co-authored-by: timothycarambat <rambat1010@gmail.com>
2024-05-16 10:45:46 -07:00
Timothy Carambat
15cf921616
Support SQL Agent skill (#1411)
* 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
2024-05-16 10:38:21 -07:00
timothycarambat
1e60cd57ff Hide regenButton properly
update confirm code for slash commands
2024-05-14 15:06:30 -07:00
timothycarambat
275be6a0f3 update STT/TTS option dropdowns 2024-05-14 14:17:19 -07:00
Sean Hatfield
612a7e1662
[FEAT] Website depth scraping data connector (#1191)
* WIP website depth scraping, (sort of works)

* website depth data connector stable + add maxLinks option

* linting + loading small ui tweak

* refactor website depth data connector for stability, speed, & readability

* patch: remove console log
Guard clause on URL validitiy check
reasonable overrides

---------

Co-authored-by: Timothy Carambat <rambat1010@gmail.com>
2024-05-14 12:49:14 -07:00
Timothy Carambat
b6be43be95
Add Speech-to-text and Text-to-speech providers (#1394)
* Add Speech-to-text and Text-to-speech providers

* add files and update comment

* update comments

* patch: bad playerRef check
2024-05-14 11:57:21 -07:00
jazelly
95f6000a67
chore: remove workspace name length check in onboarding flow (#1395)
Refs: https://github.com/Mintplex-Labs/anything-llm/issues/1378
2024-05-14 08:41:45 -07:00
Sean Hatfield
2fabc84578
[FIX] Workspace settings not showing updated fields (#1344)
add tab to dependency array in useEffect to reload settings on tab change
2024-05-13 12:59:31 -07:00
Sean Hatfield
9ed2309757
[FEAT] Add API key support for Oobabooga Web UI (#1354)
* add api key support for oobabooga web ui

* dont expose API Key for TextWebGenUi

---------

Co-authored-by: timothycarambat <rambat1010@gmail.com>
2024-05-13 12:58:16 -07:00
Timothy Carambat
f0365d41a6
Add browser supported TTS on messages for accessibility (#1388) 2024-05-13 12:52:47 -07:00
timothycarambat
a87978d1d9 Make LanceDB the vector database default provider in backend to prevent issues where somehow this key is not set by the user resulting in a Pinecone error even though they never said they wanted Pinecone to be their vector db 2024-05-13 12:22:53 -07:00
Timothy Carambat
7b18a36288
prevent accidental lockout from restricted chars in single pass mode (#1352)
* prevent accidental lockout from restrict chars in single pass mode

* update error message
2024-05-10 17:29:49 -07:00
timothycarambat
5eec5cbb9e update agent modal 2024-05-10 15:02:59 -07:00