Commit Graph

1194 Commits

Author SHA1 Message Date
Maicon Matsubara d20a970a7b Bugfix/redis connection is closed (#3591)
* Added redis open connection if it is closed

* Removed unecessary modification

* Added check connection in all methods

* Renamed method

* added await on method call

* Refactor Redis connection handling: remove singleton pattern, ensure connections are opened and closed per operation.

---------

Co-authored-by: Maicon Matsubara <maicon@fullwise.com.br>
2024-12-03 16:14:40 +00:00
Henry Heng 940c8fd3b0 Chore/LC v0.3 (#3517)
* bump langchain version to 0.3, upgrades on all chat models

* update all docs loader to have documents and text output options

* fix pnpm lock file
2024-11-28 11:06:12 +00:00
Henry Heng 4c1951d5b6 Feature/Extract Metadata Retriever (#3579)
add extract metadata retriever
2024-11-26 21:06:17 +00:00
Henry Heng 76ae921240 Feature/add ability to show variable output (#3580)
add ability to show variable output
2024-11-26 21:06:03 +00:00
Henry Heng a2c36b4447 Feature/Add new doc store upsert and refresh API (#3556)
add new doc store upsert and refresh API
2024-11-25 15:47:13 +00:00
saatchi-david 36496b1611 Added new gpt4o model and set "gpt 4o (latest)" as default model for ChatOpenAI node. (#3543)
* Chore/Add gpt-4o-2024-11-20

* add the latest gpt4o model.

* Update models.json - fix linting

* Update models.json - fix linting issue 2

* Updated default model in ChatOpenAI node from gpt 3.5 turbo gpt4o

* Update ChatOpenAI.ts

---------

Co-authored-by: Henry Heng <henryheng@flowiseai.com>
2024-11-21 19:28:54 +00:00
serhiy-matoffo 16ceed1bda Feature/Add support for state-based metadata filter to Retriever Tool (#3501)
* Added support for state-based metadata filter to Retriever Tool

* Update RetrieverTool.ts

---------

Co-authored-by: Henry Heng <henryheng@flowiseai.com>
2024-11-16 13:59:42 +00:00
Henry Heng 38ddbd8283 Feature/Add stripe toolkit (#3522)
add stripe toolkit
2024-11-15 20:28:07 +00:00
Henry Heng 51e5591bbb Feature/Add multi modal to chat ollama (#3499)
* add multi modal to chat ollama

* update JSON mode description
2024-11-10 20:45:46 +00:00
Henry Heng 0153735704 Feature/Postgres agent memory (#3495)
* add postgres to agent memory

* add mysql agent memory
2024-11-09 14:15:44 +00:00
ZacharyQin b01772302e feat: Add Custom Api Url Param for Self-hosted FireCrawl endpoint (#3480)
* feat: Add Custom api url for Self-hoseted FireCrawl endpoint

* Update FireCrawlApi.credential.ts

---------

Co-authored-by: Henry Heng <henryheng@flowiseai.com>
2024-11-09 00:44:17 +00:00
Ryno ccc0088d0d feat: Add BraveSearchAPI document loader (#3486) 2024-11-08 12:59:22 +00:00
Vinod Kiran fe03683f0c FEATURE:: Support for metrics collection - Prometheus and Open Telemetry (#3420)
* adding support for prometheus and grafana

* open telemetry

* lint fixes

* missing counter and telemetry standardization

---------

Co-authored-by: Henry <hzj94@hotmail.com>
2024-11-08 00:00:43 +00:00
Henry Heng eeb1d17f50 Chore/MongoDB Connection (#3469)
getting rid of singleton design and properly close connection after every interaction
2024-11-07 19:05:00 +00:00
akoo24 a6183aba7a Azure OpenAI Embeddings ignores env variable AZURE_OPENAI_BASE_PATH (#3452)
* Set azureOpenAIBasePath to undefined if empty to enforce usage of env variable AZURE_OPENAI_BASE_PATH in @langchain+openai@0.0.30_encoding@0.1.13_langchain@0.2.11/node_modules/@langchain/openai/dist/embeddings.cjs
2024-11-07 19:04:37 +00:00
serhiy-matoffo 99f28a2dff Update commonUtils.ts (#3470)
Fixed a bug in `restructureMessages` leading to blowing up of the message content with escape characters and eventually crashing the flow with "repetitive patterns" error
2024-11-06 16:30:45 +00:00
Jérémy JOURDIN 012eabc996 [Azure OpenAI] Make credentials optional when env variables are set (#3418)
* Make Azure OpenAI credentials optional when env variables are set

* Add documentation for env vars
2024-11-01 22:09:13 +00:00
Jérémy JOURDIN a159da5bfe [Usntructured loaders] Make Unstructured API URL optional when environment variable is present (#3414)
* Make Unstructured API URL optional when environment variable is present

* Fix empty apiUrl option in Unsctructured flowise loader

* Add focumentation for env vars
2024-11-01 22:03:53 +00:00
Jérémy JOURDIN 15d59a9052 [Prostgres Vector Store] Add PGVector Driver option + Fix null character issue w/ TypeORM Driver (#3367)
* Add PGVector Driver option + Fix null character issue w/ TypeORM Driver

* Handle file upload case with PGVector

* Cleanup

* Fix data filtering for chatflow uploaded files

* Add distanceStrategy parameter

* Fix query to improve chatflow uploaded files filtering

* Ensure PGVector release connections

* Await client connected

* Make Postgres credentials optionnal when set on env variables

* Document env variables in nodes directories

* Prevent reuse client

* Fix empty metadataFilter

* Update CONTRIBUTING.md

* Update Postgres.ts

---------

Co-authored-by: Henry Heng <henryheng@flowiseai.com>
2024-11-01 18:13:45 +00:00
Henry Heng ebc4641a60 Bugfix/Openai assistant thread not found (#3426)
fix openai assistant thread not found by exponential backoff retries
2024-10-29 15:26:59 +00:00
Prajwal Pai 884dd8949a Add couchbase vectore store support (#3093)
* Add couchbase vectore store support

* Uncomment couchbase code

* lint fix

---------

Co-authored-by: Henry <hzj94@hotmail.com>
2024-10-26 02:36:38 +01:00
Tyler f2d2f59630 Add Cerebras Node and Credential (#3377) 2024-10-23 22:09:52 +01:00
Henry Heng 53e504c32f Feature/Full File Uploads & Message Delete API (#3314)
* add functionality for full file uploads, add remove messages from view dialog and API

* add attachments swagger

* update question to include uploadedFilesContent

* make config dialog modal lg size
2024-10-23 11:00:46 +01:00
Chirag 35ce647a38 Refactor ChatOpenAI_ChatModels to include stopSequence parameter (#3388)
* Refactor ChatOpenAI_ChatModels to include stopSequence parameter

* lint fix

* Stop Sequence String will now be split by comma

* Update ChatOpenAI.ts

---------

Co-authored-by: Henry Heng <henryheng@flowiseai.com>
2024-10-21 16:02:31 +01:00
Rob Hitt de6d675e55 Fix duplicate words in Airtable Agent description (#3368) 2024-10-17 02:00:01 +01:00
patrickreinan 5117948ccf Added NeMo Guardrails Chat component (#3331)
* added: nemoguardrails chat component

* fix: removed options argument from init

fix: generation text has been updated with content string

* fix: lint error fixed

* fix: error when get content

* fix: lint errors

* updated: added handleLLMNewToken for ChatNemoGuardrails

---------

Co-authored-by: patrick <patrick.alves@br.experian.com>
2024-10-17 01:59:10 +01:00
Chirag d1adc4fb1c feat: Add Alibaba API credential and ChatAlibabaTongyi node (#3360)
* feat: Add Alibaba API credential and ChatAlibabaTongyi node

* lint fix

* Add chatAlibabaTongyi model to models.json
and chat models

---------

Co-authored-by: Henry Heng <henryheng@flowiseai.com>
2024-10-17 01:54:50 +01:00
Chirag 1d193b4dbc [Feature] added Jina AI Embedding support (#3355)
* added Jina AI Embedding support

* Update JinaAIEmbedding.ts

Change model name to string type

* removed jina embeddings

* lint fix

---------

Co-authored-by: Henry Heng <henryheng@flowiseai.com>
2024-10-17 01:49:46 +01:00
Anthony Bryan Gavilan Vinces 235fcfeb40 Enable Filters in MongoDB Vector Search Retriever (#3333)
* added: support to metadata filter using mongodb vector search retriever

* fix: format lint
2024-10-16 16:35:37 +01:00
Ortes d002096759 fix: Fix [object Object] sent to milvus on search (#3336) 2024-10-12 20:36:32 +01:00
Henry Heng 14b714824b Feature/add endpoints for realtime api (#3318)
add endpoints for realtime api
2024-10-07 13:30:57 +01:00
Henry Heng f5cedb2460 Feature/Revamp of OpenAPI Toolkit (#3312)
Revamp of OpenAPI Toolkit
2024-10-05 13:33:44 +01:00
Tyler 490855729b Update placeholder port to match Postgres default (#3307) 2024-10-03 22:50:09 +01:00
Vincelwt 18f916a7e1 LunaryAI automatic Thread and User tracking (#3233)
* Lunary Thread/User tracking

* Clean console logs

* Clean

* Remove commented lines

* Remove commented line
2024-09-26 12:01:33 +01:00
Henry Heng 8690c43ef5 Bugfix/Searxng tool not working (#3263)
fix searxng tool not working
2024-09-26 11:52:08 +01:00
Henry Heng b7cb8be7c3 Bugfix/Prevent streaming of chatflow tool and chain tool (#3257)
prevent streaming of chatflow tool and chain tool
2024-09-26 00:34:19 +01:00
Henry Heng a6a0398074 Bugfix/Buffer Memory for Anthropic (#3242)
fix buffer memory
2024-09-24 15:19:08 +01:00
Henry Heng 7d88183eca Feature/add ability to specify dynamic metadata to jsonlines (#3238)
* add ability to specify dynamic metadata to jsonlines

* fix additional metadata
2024-09-23 20:45:48 +01:00
cragwolfe 7bdc274e93 chore: update unstructured API url and doc reference (#3224)
chore: udpate unstructured API url and doc reference
2024-09-20 17:17:05 +01:00
Henry Heng 1219c2ff12 Bugfix/remove invalid markdown (#3219)
remove invalid markdown
2024-09-19 14:56:13 +01:00
Henry Heng b02f279e9d Feature/Code Interpreter (#3183)
* Base changes for ServerSide Events (instead of socket.io)

* lint fixes

* adding of interface and separate methods for streaming events

* lint

* first draft, handles both internal and external prediction end points.

* lint fixes

* additional internal end point for streaming and associated changes

* return streamresponse as true to build agent flow

* 1) JSON formatting for internal events
2) other fixes

* 1) convert internal event to metadata to maintain consistency with external response

* fix action and metadata streaming

* fix for error when agent flow is aborted

* prevent subflows from streaming and other code cleanup

* prevent streaming from enclosed tools

* add fix for preventing chaintool streaming

* update lock file

* add open when hidden to sse

* Streaming errors

* Streaming errors

* add fix for showing error message

* add code interpreter

* add artifacts to view message dialog

* Update pnpm-lock.yaml

---------

Co-authored-by: Vinod Paidimarry <vinodkiran@outlook.in>
2024-09-17 08:44:56 +01:00
Vinod Kiran 26444ac3ae Feature/sse (#3125)
* Base changes for ServerSide Events (instead of socket.io)

* lint fixes

* adding of interface and separate methods for streaming events

* lint

* first draft, handles both internal and external prediction end points.

* lint fixes

* additional internal end point for streaming and associated changes

* return streamresponse as true to build agent flow

* 1) JSON formatting for internal events
2) other fixes

* 1) convert internal event to metadata to maintain consistency with external response

* fix action and metadata streaming

* fix for error when agent flow is aborted

* prevent subflows from streaming and other code cleanup

* prevent streaming from enclosed tools

* add fix for preventing chaintool streaming

* update lock file

* add open when hidden to sse

* Streaming errors

* Streaming errors

* add fix for showing error message

---------

Co-authored-by: Henry <hzj94@hotmail.com>
2024-09-17 08:01:25 +01:00
Henry Heng 7a4c7efcab Chore/changed vm2 to @flowiseai/nodevm (#3200)
* changed vm2 to @flowiseai/nodevm

* update set-value and lunary version
2024-09-17 01:57:02 +01:00
Henry Heng 1ceea81100 Bugfix/Update mysql record manager update (#3199)
update mysql record manager update
2024-09-16 16:53:53 +01:00
YISH 0420ff2af3 feat: add support for custom overrideConfig for ChatflowTool (#3168)
* feat: add support for custom overrideConfig for ChatflowTool

* fix(ChatflowTool):  fix JSON parsing  error of OverrideConfig

* chore: Remove unneccessary acceptVariable

* Update ChatflowTool.ts

* fix linting

---------

Co-authored-by: Henry Heng <henryheng@flowiseai.com>
2024-09-14 03:10:23 +01:00
Henry Heng 07059182af Bugfix/implement missing delete method on pgvector (#3180)
implement missing delete method on pgvector
2024-09-12 02:28:45 +01:00
Trần Thanh Tùng 40a1064a8f Add chat model open ai proxy url params (#3153)
* Add chat model open api proxy url param

* Refactor add proxy url to chat model open ai

* Update ChatOpenAI.ts

---------

Co-authored-by: Henry Heng <henryheng@flowiseai.com>
2024-09-09 23:10:39 +01:00
YISH 1e8839e21b feat: add support for calling tools in CustomFunction (#3143) 2024-09-05 17:47:47 +01:00
Henry Heng e6918381a5 Bugfix/Pass state to tool node for agents (#3139)
pass state to tool node for agents
2024-09-03 22:26:37 +01:00
Henry Heng 4c1378c670 Feature/Append uploaded images to message history (#3105)
append uploaded images to message history
2024-09-02 11:27:45 +01:00