Commit Graph

113 Commits

Author SHA1 Message Date
Saket Aryan 9682a0ccd9
feat:Adds new Param in getChatMessages for better context handling (#4273)
* Adds Current Message Param in getChatMessages to use Mem0 more effectively

* Revert "Adds Current Message Param in getChatMessages to use Mem0 more effectively"

This reverts commit 086be60b0a.

* Used the input param for Getting the Input text inside of Mem0 Node

* Update pnpm-lock.yaml

* Update pnpm-lock.yaml

---------

Co-authored-by: Henry <hzj94@hotmail.com>
Co-authored-by: Henry Heng <henryheng@flowiseai.com>
2025-05-28 16:02:52 +01:00
Henry Heng 5a37227d14
Chore/refractor (#4454)
* markdown files and env examples cleanup

* components update

* update jsonlines description

* server refractor

* update telemetry

* add execute custom node

* add ui refractor

* add username and password authenticate

* correctly retrieve past images in agentflowv2

* disable e2e temporarily

* add existing username and password authenticate

* update migration to default workspace

* update todo

* blob storage migrating

* throw error on agent tool call error

* add missing execution import

* add referral

* chore: add error message when importData is undefined

* migrate api keys to db

* fix: data too long for column executionData

* migrate api keys from json to db at init

* add info on account setup

* update docstore missing fields

---------

Co-authored-by: chungyau97 <chungyau97@gmail.com>
2025-05-27 07:29:42 +01:00
nikitas-novatix eadf1b11b3
Fix: Add keep-alive options to Redis clients to prevent idle timeouts and socket closing. (#4377)
* redis keepalive mechanism for all redis

* removed offline queue commands

* Simplified changes for consistency. Added REDIS_KEEP_ALIVE env variable.

* update redis socket alive env variable

* lint fix

---------

Co-authored-by: Henry <hzj94@hotmail.com>
Co-authored-by: Henry Heng <henryheng@flowiseai.com>
2025-05-14 10:29:32 +08:00
Arif Romadhan 416e57380e
add history chat timestamp in mongodb (#4296) 2025-04-15 02:39:37 +08:00
toi500 ca69a39b82
feat(Mem0): Add option to use Flowise Chat ID (#4257)
* feat(Mem0): Add option to use Flowise Chat ID

* refactor(Mem0): Simplify prependMessages handling in getChatMessages
2025-04-07 11:46:32 +08:00
Saket Aryan 13fce45856
Adds Mem0 Memory Node (#4213)
* Adds Mem0 Memory Node

* fix: update pnpm-lock.yaml

---------

Co-authored-by: Ong Chung Yau <33013947+chungyau97@users.noreply.github.com>
Co-authored-by: chungyau97 <chungyau97@gmail.com>
2025-03-31 10:53:01 +08:00
Henry Heng a2a475ba7a
Feature/Add bullmq redis for message queue processing (#3568)
* add bullmq redis for message queue processing

* Update pnpm-lock.yaml

* update queue manager

* remove singleton patterns, add redis to cache pool

* add bull board ui

* update rate limit handler

* update redis configuration

* Merge add rate limit redis prefix

* update rate limit queue events

* update preview loader to queue

* refractor namings to constants

* update env variable for queue

* update worker shutdown gracefully
2025-01-23 14:08:02 +00:00
Ryan Halliday c2c1ca9162
Slight Redis Memory description change to include units (#3824)
Slight message change to include units
2025-01-08 01:05:10 +00:00
Henry Heng 9a417bdc95
Bugfix/update nodevm sandbox options, sanitize tablename (#3818)
* update nodevm sandbox options, sanitize tablename

* sanitize file name when getFileFromStorage
2025-01-07 15:26:25 +00:00
Henry Heng ddca80d4e0
Bugfix/Prevent open connections on typeorm datasource (#3652)
prevent open connections on typeorm datasource
2024-12-08 21:06:07 +00:00
Henry Heng 7d1234a8b4
Bugfix/SQLite agent memory node (#3650)
* add dedicated agent memory nodes

* sqlite agent memory fix

* Update pnpm-lock.yaml
2024-12-06 23:50:43 +00:00
Henry Heng cadc3b8fb3
Feature/Add dedicated agent memory nodes (#3649)
add dedicated agent memory nodes
2024-12-06 22:16:01 +00:00
João Paulo 09d20fa5ad
fix: change data source lifecycle on agent memory mysql saver (#3578)
* fix: change data source lifecycle on agent memory mysql saver

* Update mysqlSaver.ts

* Update pgSaver.ts

* linting fix

---------

Co-authored-by: Henry Heng <henryheng@flowiseai.com>
2024-12-06 19:49:49 +00:00
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 0153735704
Feature/Postgres agent memory (#3495)
* add postgres to agent memory

* add mysql agent memory
2024-11-09 14:15:44 +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
Henry Heng a6a0398074
Bugfix/Buffer Memory for Anthropic (#3242)
fix buffer memory
2024-09-24 15:19:08 +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
Henry Heng 3e54d53692
Feat/update ollama for function calling (#2892)
update ollama for function calling
2024-07-27 01:29:36 +01:00
Henry Heng bca4de0c63
Feature/seq agents (#2798)
* update build functions

* sequential agents

* update langchain to 0.2, added sequential agent nodes

* add marketplace templates

* update howto wordings

* Merge branch 'main' into feature/Seq-Agents

# Conflicts:
#	pnpm-lock.yaml

* update deprecated functions and add new sequential nodes

* add marketplace templates

* update marketplace templates, add structured output to llm node

* add multi agents template

* update llm node with bindmodels

* update cypress version

* update templates sticky note wordings

* update tool node to include human in loop action

* update structured outputs error from models

* update cohere package to resolve google genai pipeThrough bug

* update mistral package version, added message reconstruction before invoke seq agent

* add HITL to agent

* update state messages restructuring

* update load and split methods for s3 directory
2024-07-22 17:46:14 +01:00
Fahreddin Özcan 7706b3484a
Update Upstash Logo for White Background (#2511)
* update: upstash logo for white background

* update: upstash chat memory logo
2024-05-30 22:20:02 +01:00
Daniel D'Abate 912c8f3d5b
Feature: Support role-based authentication for AWS (#2470)
* Storage, DynamoDBChatMemory - Make AWS credentials optional to support role-based authentication

* Lint fix
2024-05-29 23:40:01 +01:00
Henry Heng 8caca472ba
Feature/Add prepend messages to memory (#2410)
add prepend messages to memory
2024-05-20 17:08:34 +01:00
Henry Heng c33642cdf9
Feature/Buffer Memory SessionId (#2111)
* add sessionId to buffer memory, add conversation summary buffer memory

* add fix for conv retrieval qa chain
2024-04-11 11:18:39 +01:00
Henry Heng 057e056257
Bugfix/Add missing TTL implementation for Redis (#2131)
add missing TTL implementation
2024-04-09 14:36:24 +01:00
Octavian FlowiseAI ea255db15d
Bugfix/closing mongodb connections (#2085)
* mongodb connection issue

* updating and pinning mongodb version

* removing pnpm-lock.yaml

* converting to a singleton

* Update pnpm lock file

* Downgrade mongodb

---------

Co-authored-by: vinodkiran <vinodkiran@usa.net>
Co-authored-by: Vinod Paidimarry <vinodkiran@outlook.in>
2024-04-02 14:57:20 +02:00
Vinod Paidimarry 509b2dd36d
bugfix: Dynamo Memory - messageAttributeName (#2011)
* bugfix: Dynamo Memory - messageAttributeName

* bugfix: Dynamo Memory - messageAttributeName
2024-03-23 13:18:15 +05:30
Henry 02735a1f1e add image upload bugfix and import deps 2024-03-03 00:42:04 +08:00
Henry Heng 89307b13c9
Merge pull request #1760 from getzep/zep-cloud-setup
Zep cloud setup
2024-02-26 23:26:17 +08:00
paulpaliychuk 6819d5f66b chore: Revert node names changes + update new node names to correct format 2024-02-24 13:47:53 -05:00
Henry 2f4134a291 upstash singleton 2024-02-22 23:09:58 +08:00
paulpaliychuk aec0645fba chore: Update labels + get rid of dev urls 2024-02-20 00:45:35 -05:00
paulpaliychuk 9da7a1b4de feat: Finalize zep-cloud integration, update naming 2024-02-20 00:31:35 -05:00
paulpaliychuk 76ac97fa50 wip 2024-02-19 22:11:07 -05:00
Henry 5a45a99620 Merge branch 'main' into chore/Upgrade-LC-version 2024-02-19 17:39:32 +08:00
Henry Heng 1f2e58c5d5
Merge pull request #1697 from Jaredude/bugfix/dynamob-memory-store
DynamoDB Chat Memory fix
2024-02-09 01:36:38 +08:00
Jared Tracy dd89af8a09 refactor (this as any) usage 2024-02-08 09:04:46 -06:00
Jared Tracy d0b1980482 Removes prior comment 2024-02-07 22:08:41 -06:00
Jared Tracy d7f9c07381 return tableName, partiionKey, dynamoKey from initalizeDynamoDB 2024-02-07 22:07:12 -06:00
Henry bc054d2fe1 add fix for override session id 2024-02-08 11:55:30 +08:00
Jared Tracy 3f0f0e4d28 DynamoDB Chat Memory fix
Fixes #1624

Please note comment in class BufferMemoryExtended for further discussion, if necessary
2024-02-07 20:18:06 -06:00
Henry 02fe500f21 Merge branch 'main' into chore/Upgrade-LC-version
# Conflicts:
#	packages/components/nodes/cache/RedisCache/RedisCache.ts
#	packages/components/nodes/cache/RedisCache/RedisEmbeddingsCache.ts
#	packages/components/nodes/chains/ConversationChain/ConversationChain.ts
#	packages/components/nodes/tools/RetrieverTool/RetrieverTool.ts
#	packages/components/nodes/vectorstores/Qdrant/Qdrant.ts
#	packages/components/nodes/vectorstores/Redis/Redis.ts
#	packages/components/nodes/vectorstores/Redis/RedisSearchBase.ts
#	packages/components/nodes/vectorstores/Redis/Redis_Existing.ts
#	packages/components/nodes/vectorstores/Redis/Redis_Upsert.ts
#	packages/components/src/agents.ts
2024-01-31 00:25:37 +00:00
Henry Heng aeb036bb47
Merge pull request #1628 from FlowiseAI/bugfix/Redis-Connection-Max-Client
Feature/Singleton Redis Connection
2024-01-28 20:34:50 +00:00
Henry 393f9b57c6 use singleton redis connection 2024-01-28 17:18:18 +00:00
Ashes47 1c108f3599 update 2024-01-28 21:51:27 +05:30
Ashes47 51388d5057 update 2024-01-28 21:48:15 +05:30
Ashes47 36ab1681ac lint 2024-01-28 21:39:22 +05:30
Anuj Verma e154461f1d
Update MongoDBMemory.ts 2024-01-28 21:33:09 +05:30
Anuj Verma e8deeb25cf
Update MongoDBMemory.ts 2024-01-28 19:45:19 +05:30
Henry 0606d2c6dd upgrade langchain version 0.1.0 2024-01-26 23:41:55 +00:00