Commit Graph

1501 Commits

Author SHA1 Message Date
Roman Wu
78cbb06c57
Modify the PostgreSQL SQL connector to support querying tables from schemas other than the default public schema. (#4202)
* Add PostgreSQL schema support to SQL connector

- Add schema configuration option to PostgreSQL connector
- Update SQL queries to filter by specified schema
- Add schema input field to frontend connection modal (PostgreSQL only)
- Default to 'public' schema when no custom schema specified
- Add getQualifiedTableName() method for schema.table format

* Fix code formatting after linting

* Update Postgresql.js

* add back removal of ending curly brace

* Update Postgresql.js

* add back removal of ending curly brace (again?)

---------

Co-authored-by: timothycarambat <rambat1010@gmail.com>
2025-07-28 08:43:15 -07:00
Anton Harder
89724169dc
fix: correct some typos and grammatical errors in translation strings and index.jsx (#4195)
fix(locales): correct some typos and grammatical errors in translation strings and index.jsx
2025-07-23 11:10:18 -07:00
Timothy Carambat
2c19dd09ed
Native Embedder model selection (incl: Multilingual support) (#3835)
* WIP on embedder selection
TODO: apply splitting and query prefixes (if applicable)

* wip on upsert

* Support base model
support nomic-text-embed-v1
support multilingual-e5-small
Add prefixing for both embedding and query for RAG tasks
Add chunking prefix to all vector dbs to apply prefix when possible
Show dropdown and auto-pull on new selection

* norm translations

* move supported models to constants
handle null seelction or invalid selection on dropdown
update comments

* dev

* patch text splitter maximums for now

* normalize translations

* add tests for splitter functionality

* normalize

---------

Co-authored-by: shatfield4 <seanhatfield5@gmail.com>
2025-07-22 10:07:20 -07:00
Sean Hatfield
31a8ead823
Fix multimodal chats via openai compat api (#4135)
* fix multimodal chats via openai compat api

* lint

* add tests for multi-modal content in openai compat endpoint

* refactor to normalize how openai attachments are handled

* uncheck file

* rewrite tests, autodetect mime from dataurl, and spread attachments from prompt

* lint

* revert and fix tests

---------

Co-authored-by: timothycarambat <rambat1010@gmail.com>
2025-07-22 09:57:32 -07:00
Sean Hatfield
6d6bd14622
Moonshot AI LLM & agent provider (#4178)
* add moonshot ai LLM & agent provider

* fix moonshot agent calling

* handle attachments/fix moonshot llm provider

* update docs/example env

* add moonshot to onboarding privacy

* add moonshot to onboarding llm preference

* update privacy for moonshot ai

* update logo higher res

* remove caching and use modelmap
2025-07-22 09:56:51 -07:00
Timothy Carambat
1112ba75c9
run jest (#4177)
* run jest

* wip

* wip

* wip

* wip

* skip frontend

* rename

* force failure

* fix forced error
try layer caching for speed

* test cache

* revert forced failure

* remove branch test
2025-07-18 14:20:07 -07:00
Burak Topal
4999837d74
Update BARE_METAL.md (#4175)
Pull Request Type
[ ]  feat

[x] 🐛 fix

[ ] ♻️ refactor

[ ] 💄 style

[ ] 🔨 chore

[ ] 📝 docs

Relevant Issues
N/A (No issue exists for this typo fix)

What is in this change?
This PR corrects a minor typo in an output message within a script.

Before:
echo "Copying to Sever Public"

After:
echo "Copying to Server Public"

Additional Information
This is a minor correction to improve the clarity and professionalism of the script's output. No functional changes are introduced.

Developer Validations
[ ] I ran yarn lint from the root of the repo & committed changes

[ ] Relevant documentation has been updated

[ ] I have tested my code functionality

[ ] Docker build succeeds locally
2025-07-18 09:01:51 -07:00
Sean Hatfield
ea8ba2f7f2
Clear cached docs on text splitter changes (#4163)
* clear cached docs on text splitter changes

* update warning message and title

* remove unsused translation keys

* wrap trycatch

---------

Co-authored-by: timothycarambat <rambat1010@gmail.com>
2025-07-17 11:03:18 -07:00
Timothy Carambat
043cb1d085
Add model field parameter for generic OpenAI TTS (#4171)
resolves #4165
2025-07-17 10:28:51 -07:00
timothycarambat
ff34c8cefc use documentsFolder path for simplification 2025-07-16 11:14:18 -07:00
timothycarambat
c535c69345 1.8.4 tag update 2025-07-16 10:40:39 -07:00
timothycarambat
a04b9c9d60 clear errors on submit for DB validations 2025-07-16 09:30:04 -07:00
Sean Hatfield
49ea545d7f
SQL preflight connection validation (#4150)
* wip sql connection string validation

* handle failed sql connections in frontend

* sql preflight connection validation on modal save

* revert unneeded be/fe changes

* linting, form updates

---------

Co-authored-by: timothycarambat <rambat1010@gmail.com>
2025-07-16 09:02:39 -07:00
Timothy Carambat
9bd77b0c2d
set max codeblock width to prevent overflows (#4157) 2025-07-15 15:59:45 -07:00
Sean Hatfield
b0407a6bf2
Migrate text size menu to embedded tooltip (#4147)
* migrate font size menu to embedded tooltip modal

* lint

* fix text size menu ui

---------

Co-authored-by: Timothy Carambat <rambat1010@gmail.com>
2025-07-15 15:29:30 -07:00
Sean Hatfield
fe1dfb1fde
Add option to enable encryption on MSSQL Server db (#4134)
* add option to enable encryption on mssql server dbs

* add tests for ConnectionStringParser
2025-07-15 15:26:38 -07:00
Sean Hatfield
5485c58b44
Sanitize youtube transcription file paths (#4148)
sanitize youtube transcription file paths
2025-07-14 13:53:34 -07:00
wannabe_
6111a1660f
docs(zh-cn): Update and improve Simplified Chinese translations (#4137) 2025-07-14 08:33:47 -07:00
Sean Hatfield
cc38edeb58
Sticky code block header (#4130)
sticky code block header

Co-authored-by: Timothy Carambat <rambat1010@gmail.com>
2025-07-11 11:16:04 -07:00
Sean Hatfield
1cd0cc32b8
Fix chunking/snippet logs for clarity (#4129)
update chunking/snippet logs for clarity
2025-07-11 10:54:54 -07:00
Chek
3b00020577
docs(i18n): Complete missing Chinese translations (#4123)
* docs(zh-tw, zh-cn): Complete missing Traditional and Simplified Chinese translations

This commit aims to complete all previously 'null' Traditional Chinese and Simplified Chinese translation keys in the project.

**Traditional Chinese (zh-tw):**
- Completed all 'null' descriptions in `/frontend/src/locales/zh_TW/common.js`.

**Simplified Chinese (zh-cn):**
- Completed all 'null' descriptions in `/frontend/src/locales/zh/common.js`.

---

此提交旨在補齊專案中所有原為 'null' 的繁體中文和簡體中文翻譯鍵值。

**繁體中文翻譯 (Traditional Chinese - zh-tw):**
- 完善了 `/frontend/src/locales/zh_TW/common.js` 裡所有 'null' 的說明。

**簡體中文翻譯 (Simplified Chinese - zh-cn):**
- 完善了 `/frontend/src/locales/zh/common.js` 裡所有 'null' 的說明。

* linting

---------

Co-authored-by: timothycarambat <rambat1010@gmail.com>
2025-07-11 09:27:49 -07:00
Timothy Carambat
ea956f4d77
Add ability to search workspace and threads (#4120)
* Add ability to search workspace and threads

* fix height

* styling

* update placeholder

* Translations PR (#4122)
2025-07-10 16:42:10 -07:00
timothycarambat
ae2fa8805c resolves #4040 2025-07-10 13:20:39 -07:00
Sean Hatfield
49293e7dd7
Configurable message limit for embed chat widget (#4114)
* configurable message limit for embed widget

* remove console log

* make field optional + add fallback

* rework validation logic

* lint

* remove field specific guard, it cannot be lte 0 like all other fields

---------

Co-authored-by: Timothy Carambat <rambat1010@gmail.com>
2025-07-10 12:45:53 -07:00
Sean Hatfield
5d60047dc7
Handle BigInt in message response (#4110)
* wip handle bigints in message response

* extend bigint protoype to handle bigint stringification + add test

* unset unrelated file

* update tests, simplify implementation;

---------

Co-authored-by: Timothy Carambat <rambat1010@gmail.com>
2025-07-10 12:33:34 -07:00
Timothy Carambat
8001d9ddeb
update 1.8.3 tags for release (#4109)
* update 1.8.3 tags for release

* whoops, botched news
2025-07-09 12:17:56 -07:00
timothycarambat
58f8607094 update i18n key 2025-07-08 14:54:40 -07:00
timothycarambat
885b55fb88 force borders for desktop integration 2025-07-08 14:46:38 -07:00
timothycarambat
8ea3c71b5e Merge branch 'master' of github.com:Mintplex-Labs/anything-llm 2025-07-08 14:29:54 -07:00
timothycarambat
db2466e179 persistence of the GENERIC_OPENAI_STREAMING_DISABLED setting 2025-07-08 14:29:47 -07:00
Sean Hatfield
4c16e7f7ab
Fix score reporting for Milvus, Zilliz, and Pinecone vector databases (#4106)
* normalize milvus score reporting

* normalize pinecone score reporting

* normalize score reporting for zilliz
2025-07-08 13:47:11 -07:00
timothycarambat
2570b817a8 update README 2025-07-08 10:17:04 -07:00
timothycarambat
87ee164594 add Contributing guidelines 2025-07-08 10:16:36 -07:00
rexjohannes
14fa079953
Fix/drupal wiki (improve table & url handling) (#4097)
* feat: add support for custom table formatting in htmlToText conversion

* fix tables

* feat: improve plain text table formatting for AI readability

* fix options

* improve drupal wiki connector

* final fix

* adjust leading slash to match code

* linting

---------

Co-authored-by: timothycarambat <rambat1010@gmail.com>
2025-07-07 13:39:38 -07:00
Timothy Carambat
2c778e2a75
update typo in language key files (#4101)
update type in language key files
2025-07-07 13:38:26 -07:00
ux-builder
dad5c8d8ae
feat: Add Korean (ko) locale translations (#4096)
* feat: Add Korean (ko) locale translations

- Add comprehensive Korean translations for UI elements
- Include main page features, workspace settings, and chat components
- Support Korean localization for common user interactions

* updates, lint

---------

Co-authored-by: timothycarambat <rambat1010@gmail.com>
2025-07-07 13:33:48 -07:00
Timothy Carambat
e13d06c430
Polish translations (#4100)
* Add translations into Polish

* fix translation miss

---------

Co-authored-by: Jakub Jadczak <jakubjadczak02@gmail.com>
2025-07-07 13:32:22 -07:00
Sean Hatfield
15b842f6ba
Patch tokenizer race condition bug (#4091)
patch tokenizer race condition bug

Co-authored-by: Timothy Carambat <rambat1010@gmail.com>
2025-07-07 13:25:30 -07:00
bobbercheng
d0978fa363
Fix broken YT scraping with YT API (#4005)
* Fix broken YT scraping with YT API

* refactor youtube transcript class/add jsdoc comments

* fix test

---------

Co-authored-by: shatfield4 <seanhatfield5@gmail.com>
Co-authored-by: timothycarambat <rambat1010@gmail.com>
2025-07-07 13:06:18 -07:00
Fabio Nonato
0d7a7551b8
fix to support: feat2864 - using local credentials file with Amazon Bedrock (#3986)
* fix: feat2864

* patch default case

---------

Co-authored-by: nonatofabio <fnp@amazon.com>
Co-authored-by: timothycarambat <rambat1010@gmail.com>
2025-07-02 09:15:23 -07:00
Sean Hatfield
e230973abb
Add hint for chats in query mode (#4076)
* add hint for chats in query mode

* add and normalize translations

* improve semantic HTML for linking

* use existing util

* linting

---------

Co-authored-by: timothycarambat <rambat1010@gmail.com>
2025-07-02 08:30:27 -07:00
Sean Hatfield
f3839b355c
Allow static defined prompt variables to be accessed by any authorized user (#4086)
* allow static defined prompt variables to be accessed by any authd user

* improve filtering logic and comments

---------

Co-authored-by: Timothy Carambat <rambat1010@gmail.com>
2025-07-02 08:09:42 -07:00
Sean Hatfield
fc55baf69a
LMStudio 0 value embeddings patch (#4084)
patch lmstudio encoding_format to fix all embeddings as 0 value
2025-07-01 18:05:58 -07:00
Sean Hatfield
07129e81f8
Add option to disable streaming via env for generic openai provider (#4079)
* add option to disable streaming via env for generic openai provider

* move env check to streamingEnabled
2025-07-01 12:47:46 -07:00
Martin
76b80d149a
Update common.js spellcheck for zh_TW (#4074)
Co-authored-by: Timothy Carambat <rambat1010@gmail.com>
2025-07-01 10:31:18 -07:00
Sean Hatfield
6a32e688b8
Move show scrollbar option to chat settings (#4078)
move show scrollbar option to chat settings
2025-07-01 10:30:12 -07:00
timothycarambat
89320588f3 Merge branch 'master' of github.com:Mintplex-Labs/anything-llm 2025-06-30 13:16:53 -07:00
timothycarambat
d1d68af0f8 patch skipCache logic among all vector db providers
resolves #3958
2025-06-30 13:16:46 -07:00
Tarkva
45e2f85f1c
Added Estonian translation (#4067)
* Added Estonian translation

* linting

---------

Co-authored-by: timothycarambat <rambat1010@gmail.com>
2025-06-30 13:11:32 -07:00
Sean Hatfield
91e498229c
Publish slash commands to hub (#4019)
* implement ui for publish system prompt to hub

* rework ui + add backend to upload to hub

* add success modal view + publish menu item + translations

* normalize translations

* refactor PublishEntityModal + add hook
for hub auth

* normalize translations

* fix ui for success screen

* refactor, auth checks, UI/UX, and naming conventions to be more clear

* move components to CommunityHub folder + small ui tweak

* wip publish agent flows to community hub

* rework translations/implement uploading agent flows

* normalize/restructure translations

* rename component/add jsdoc for consistency

* fix en translation

* remove comments/duplicate function from merge conf

* update styles of publish button in flow builder

* resolve ssr icon issue

* implement uploading slash commands to hub

* normalize translations

* show command, non editable

---------

Co-authored-by: Timothy Carambat <rambat1010@gmail.com>
2025-06-24 16:19:50 -07:00