Commit graph

1159 commits

Author SHA1 Message Date
Sean Hatfield
19d942a070
Fix stop generation button UI ()
* fix stop generation button ui

* keep action color theme and match rest of the UI
rescale button to be consistent with UI

---------

Co-authored-by: timothycarambat <rambat1010@gmail.com>
2025-01-23 12:14:31 -08:00
Timothy Carambat
604e7c9218
Display thinking in the prompt response - model agnostic ()
* CoT Display

* forgot file

* preformance optimizations

* match agent ui on thinking model ui when collapsed

* style cleanup

* spacing fixes

---------

Co-authored-by: shatfield4 <seanhatfield5@gmail.com>
2025-01-22 13:12:10 -08:00
Timothy Carambat
d35b37b6ec
wip agent ui animation ()
* wip agent ui animation

* WIP agent ui revision

* linting

* simplify css

* memoize agent responses

---------

Co-authored-by: shatfield4 <seanhatfield5@gmail.com>
2025-01-22 11:10:02 -08:00
timothycarambat
d1b1a98a60 linting 2025-01-21 16:28:00 -08:00
timothycarambat
7e10205df6 remove greptile link 2025-01-20 15:18:26 -08:00
okaeiz
b92d63e776
Farsi (Persian) translations ()
* Initial commit | Farsi (Persian) translations

* Farsi (Persian) translations - Pt. 2

* Farsi (Persian) translations - Pt. 3

* Farsi (Persian) translations - `README.fa-IR.md` file
2025-01-20 09:12:02 -08:00
Sean Hatfield
f8c72786df
Fix similarity score bug in lance/chroma dbs ()
* fix similarity score bug in lance/chroma dbs

* batch lower bound case

---------

Co-authored-by: timothycarambat <rambat1010@gmail.com>
2025-01-17 18:27:54 -08:00
timothycarambat
3d872bc639 Merge branch 'master' of github.com:Mintplex-Labs/anything-llm 2025-01-16 15:09:45 -08:00
timothycarambat
469dd9ec18 remove QEMU step 2025-01-16 15:09:38 -08:00
Timothy Carambat
1727aa4aeb
Swap to GH arm64 runner ()
* test arm runner speed

* test arm runner speed with arm

* update primary worker flows

* update dev build name
2025-01-16 15:08:02 -08:00
Timothy Carambat
c4f75feb08
Support historical message image inputs/attachments for n+1 queries ()
* Support historical message image inputs/attachments for n+1 queries

* patch gemini

* OpenRouter vision support cleanup

* xai vision history support

* Mistral logging

---------

Co-authored-by: shatfield4 <seanhatfield5@gmail.com>
2025-01-16 13:49:06 -08:00
timothycarambat
a2264f46ff add index to response object for marshalling
resolves 
2025-01-14 14:43:00 -08:00
timothycarambat
4d5d8d4dec patch gemini embedding key preference
resolves 
2025-01-14 08:20:57 -08:00
Timothy Carambat
21af81085a
Add caching to Gemini /models ()
rename file typo
2025-01-13 13:12:03 -08:00
Sean Hatfield
665e8e5bfe
update .nvmrc 2025-01-09 15:39:56 -08:00
timothycarambat
865f7eea29 patch scrollbars - with regress 2025-01-09 13:32:54 -08:00
ReindeerFlotilla
be886f7d61
feat: add support for voyage-3-large and voyage-code-3 embedding models ()
* feat: add support for voyage-3-large and voyage-code-3 embedding models

- Add voyage-3-large and voyage-code-3 to VoyageAiOptions dropdown
- Update getMaxEmbeddingLength to support 32k context for new models
- Update .env.example with new model options

* unset env example

---------

Co-authored-by: timothycarambat <rambat1010@gmail.com>
2025-01-08 17:21:30 -08:00
timothycarambat
487db896c1 patch unnessecary scrollbars
resolves 
2025-01-07 15:53:34 -08:00
timothycarambat
6134c15ca4 Add fallback URL for reranking model 2025-01-07 15:09:54 -08:00
timothycarambat
55e0949e1f patch logo var typo 2025-01-07 14:43:02 -08:00
timothycarambat
e192364d8d Migrate CDN download URL from S3 bucket 2025-01-07 12:09:14 -08:00
Sean Hatfield
c6547ec04d
Update example ENV files ()
update example env files
2025-01-02 20:09:42 -08:00
Timothy Carambat
ad01df8790
Reranker option for RAG ()
* Reranker WIP

* add cacheing and singleton loading

* Add field to workspaces for vectorSearchMode
Add UI for lancedb to change mode
update all search endpoints to pass in reranker prop if provider can use it

* update hint text

* When reranking, swap score to rerank score

* update optchain
2025-01-02 14:27:52 -08:00
Timothy Carambat
bb5c3b7e0d
make similarityResponse object arguments and not positional ()
* make `similarityResponse` object arguments and not positional

* reuse client for qdrant
2025-01-02 12:03:26 -08:00
Shixian Sheng
b39f60abfb
Update README.md () 2025-01-01 15:56:44 -08:00
timothycarambat
f417ffd5e0 resolves
floor ms value
2025-01-01 15:54:44 -08:00
timothycarambat
d52249aff8 support attachments via thread API chat/stream-chat endpoints 2024-12-31 09:52:21 -08:00
Timothy Carambat
ef71b95cf9
Return timestamps in OpenAI compat endpoints in proper format () 2024-12-31 09:35:52 -08:00
Chaiwat Saithongcum
fa3079bbbf
Add support for Google Generative AI (Gemini) embedder ()
* Add support for Google Generative AI (Gemini) embedder

* Add missing example in docker
Fix UI key elements in options
Add Gemini to data handling section
Patch issues with chunk handling during embedding

* remove dupe in env

---------

Co-authored-by: timothycarambat <rambat1010@gmail.com>
2024-12-31 09:29:38 -08:00
Sean Hatfield
8d302c3f67
Patch custom models endpoint ()
* prevent non admin users from changing llm settings via custom-models endpoint

* permission middleware to JSDOC

---------

Co-authored-by: timothycarambat <rambat1010@gmail.com>
2024-12-30 14:58:26 -08:00
Sean Hatfield
dd017c6cbb
Audio file validations ()
* add audio file validations

* patch sharp to support wavfile parsing

---------

Co-authored-by: timothycarambat <rambat1010@gmail.com>
2024-12-30 14:48:28 -08:00
Sean Hatfield
696af19c45
Patch unauthorized access to other user's pfps ()
* patch unauthorized viewing of other user's pfps

* inline return responses

---------

Co-authored-by: Timothy Carambat <rambat1010@gmail.com>
2024-12-30 14:36:51 -08:00
Sean Hatfield
0b7bf68f2c
Normalize paths on files uploaded to prevent arbitrary file writes ()
* normalize paths on files uploaded to prevent arbitrary file writes

* force normalize path in string parse

---------

Co-authored-by: timothycarambat <rambat1010@gmail.com>
2024-12-30 14:29:10 -08:00
Sean Hatfield
99b6dedc8b
Fix typo in frontend for SearXNG agent setup ()
fix typo in frontend for SearXNG agent setup
2024-12-30 14:11:20 -08:00
Sean Hatfield
bbc0bec524
Show scrollbar on rendered tables in chat ()
show scrollbar on rendered tables in chat

Co-authored-by: Timothy Carambat <rambat1010@gmail.com>
2024-12-28 17:55:43 -08:00
timothycarambat
4b2bb529c9 enable leftover mlock setting 2024-12-28 17:48:24 -08:00
timothycarambat
2149fb709a Patch gemini dropdown to model id since names are wrong for the different versions
connect 
2024-12-28 17:27:32 -08:00
Sean Hatfield
dca27e7235
Fix styles of ChangeWarningModal ()
fix styles of ChangeWarningModal
2024-12-18 16:15:33 -08:00
timothycarambat
eb33e0f775 more table styles for lightmode 2024-12-18 13:00:02 -08:00
Sean Hatfield
f894b60bd8
Fix light mode table colors ()
* fix light mode table colors

* fix table styles from being overwritten in other sections that are not chat messages

---------

Co-authored-by: Timothy Carambat <rambat1010@gmail.com>
2024-12-18 11:49:59 -08:00
Timothy Carambat
a51de73aaa
update ollama performance mode () 2024-12-18 11:21:35 -08:00
wolfganghuse
af703427c7
fix wrong metadata assignment in MilvusProvider ()
fixed wrong metadata assignment
2024-12-18 10:33:18 -08:00
Timothy Carambat
d54b5dfc62
Remove fine-tuning flow ()
remove fine-tuning flow
2024-12-18 10:24:02 -08:00
Timothy Carambat
b082c8e441
Add support for gemini authenticated models endpoint ()
* Add support for gemini authenticated models endpoint
add customModels entry
add un-authed fallback to default listing
separate models by expiermental status
resolves 

* add back improved logic for apiVersion decision making
2024-12-17 15:20:26 -08:00
Timothy Carambat
71cd5e5b28
Enable default roles to be able to use attachments but not upload documents ()
* Enable default users to be able to add attachments, but not files to chats
2024-12-16 15:28:22 -08:00
Sean Hatfield
f8885a43e4
Append writable fields to dev API new workspace endpoint ()
* add writible fields to dev api new workspace endpoint

* lint

* implement validations for workspace model

* update swagger comments

* simplify validations for workspace on frontend and API

* cleanup validations

---------

Co-authored-by: Timothy Carambat <rambat1010@gmail.com>
2024-12-16 15:12:20 -08:00
Timothy Carambat
dd7c4675d3
LLM performance metric tracking ()
* WIP performance metric tracking

* fix: patch UI trying to .toFixed() null metric
Anthropic tracking migraiton
cleanup logs

* Apipie implmentation, not tested

* Cleanup Anthropic notes, Add support for AzureOpenAI tracking

* bedrock token metric tracking

* Cohere support

* feat: improve default stream handler to track for provider who are actually OpenAI compliant in usage reporting
add deepseek support

* feat: Add FireworksAI tracking reporting
fix: improve handler when usage:null is reported (why?)

* Add token reporting for GenericOpenAI

* token reporting for koboldcpp + lmstudio

* lint

* support Groq token tracking

* HF token tracking

* token tracking for togetherai

* LiteLLM token tracking

* linting + Mitral token tracking support

* XAI token metric reporting

* native provider runner

* LocalAI token tracking

* Novita token tracking

* OpenRouter token tracking

* Apipie stream metrics

* textwebgenui token tracking

* perplexity token reporting

* ollama token reporting

* lint

* put back comment

* Rip out LC ollama wrapper and use official library

* patch images with new ollama lib

* improve ollama offline message

* fix image handling in ollama llm provider

* lint

* NVIDIA NIM token tracking

* update openai compatbility responses

* UI/UX show/hide metrics on click for user preference

* update bedrock client

---------

Co-authored-by: shatfield4 <seanhatfield5@gmail.com>
2024-12-16 14:31:17 -08:00
timothycarambat
15abc3f803 Merge branch 'master' of github.com:Mintplex-Labs/anything-llm 2024-12-16 13:16:51 -08:00
timothycarambat
55c488d745 remove dependabot 2024-12-16 13:16:39 -08:00
Sean Hatfield
ae510619f0
Purge cached docs and remove docs from all workspaces on vectorDB/embedder changes ()
* wip remove all docs clear vector db on embedder/vector db change

* purge all cached docs and remove docs from workspaces on vectordb/embedder change

* lint

* remove unneeded console log

* remove reset vector stores endpoint and move to server side updateENV with postUpdate check

* reset embed module

* remove unused import

* simplify deletion process
rescoped document deletion to be more general for speed, everything needs to be reset anyway
fixed issue where unembedded docs not in any workspaces, but cached, were not removed

* add back missing readme file
update warning text modals

---------

Co-authored-by: timothycarambat <rambat1010@gmail.com>
2024-12-16 12:16:20 -08:00