Commit Graph

1209 Commits

Author SHA1 Message Date
vijaykammili 2df129f91b
Vertex Gemini Custom Model Changes (#3737) 2024-12-19 11:40:14 +00:00
Jean Ibarz c809f4165a
feat: Add conversation history selection options to ConditionAgent node (#3719)
* feat: Enhance ConditionAgent with conversation history selection options

- Added a new parameter `conversationHistorySelection` to allow users to choose which messages from the conversation history to include in prompts.
- Options include: User Question, Last Conversation Message, All Conversation Messages, and Empty.
- Default selection is set to 'All Conversation Messages' for improved context management in sequential LLM and Agent nodes.

* Bump version from 2.0 to 3.0
2024-12-18 23:27:01 +00:00
Eduard-Constantin Ibinceanu 1b48d564f9
Add missing inputs (#3726)
* Add missing inputs

* Change version
2024-12-18 22:55:02 +00:00
Jean Ibarz d5498858ec
Chore/Enhancement: Improve 'Require Approval' Description to Indicate MemoryAgent Dependency (#3680)
* Update 'Require Approval' button description to clarify dependency on MemoryAgent

* Refine RequiredApproval message description

* Fix message description by removing unscaped character ('\')

* Break line

* docs: clarify and enhance the "Require Approval" description for Agent node

* chore: slight update of the description
2024-12-17 19:39:49 +00:00
Henry Heng 85abd157a2
Bugfix/Get value with nested metadata filter (#3695)
add ability to get value with nested metadata filter
2024-12-12 14:57:38 +00:00
Ajay Satish bfd677059e
feat. add epub support #3629 (#3668)
* feat. add epub support

* Add dependencies
2024-12-12 13:30:31 +00:00
Jean Ibarz 26b78ad55a
feat: Add options to filter conversation history messages used in sequential LLM and Agent nodes (#3653)
* feat: Add option to disable conversation history

- Add new `disableConversationHistory` boolean parameter in LLMNodes.ts and Agent.ts to optionally skip including conversation history in prompts
- Fix potential error in Agent.ts when messages array is empty by adding null safety checks
- Improve memory efficiency by allowing stateless interactions when history isn't needed

* feat: add conversation history filtering options

Replace the disable conversation history feature with a more flexible filtering system that allows selecting:
- User question only
- Last message only
- All messages (default)
- No messages

This provides more granular control over conversation context management.

* chore: break lines

* chore: removed ending semi columns

* chore: fix eslint errors

* fix(sequentialagents): improve conversation history filtering logic

- Remove unnecessary state.messages check for user_question case
- Add proper null handling for last_message and all_messages cases
- Remove @ts-ignore comments with proper typing

* Update LLMNode.ts

* Update Agent.ts

---------

Co-authored-by: Henry Heng <henryheng@flowiseai.com>
2024-12-12 13:29:28 +00:00
Eduard-Constantin Ibinceanu 99d4bacd8a
IBM Watsonx LLM node (#3674)
* Add node icon

* Add node
2024-12-11 10:42:49 +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
Henry Heng fe2ed26999
Feature/Custom Assistant Builder (#3631)
* add custom assistant builder

* add tools to custom assistant

* add save assistant button
2024-12-06 22:11:17 +00:00
Eduard-Constantin Ibinceanu e773181b61
IBM Watsonx embeddings node (#3648)
* Add icon image

* Add embeddings node

* Fix typo
2024-12-06 22:10:46 +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
Eduard-Constantin Ibinceanu ba8a462bf8
[Bugfix] Milvus search error (#3623)
Fix milvus search error
2024-12-03 23:41:39 +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 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