Commit Graph

3227 Commits

Author SHA1 Message Date
Tomoki Yokoyama 22801591da
fix: artifacts key in object does not have messages property, which g… (#3812)
fix: artifacts key in object does not have messages property, which gives 'Cannot read properties of undefined (reading reverse) error. So, do not add it to obj variable. Instead, add it to msg object.
2025-01-06 18:46:12 +00:00
Henry Heng 7aead83d61
Feature/update json loader to have dynamic metadata (#3811)
update json loader to have dynamic metadata
2025-01-06 16:18:49 +00:00
Henry Heng 4c400301f2
Bugfix/update doc store naming convention (#3814)
update doc store naming convention
2025-01-06 03:13:53 +00:00
Sunny Modi 3b13e8345a
Feature/Add Groq for followup prompts (#3806)
Feature/Add-Groq-for-followup-prompts
2025-01-04 16:52:01 +00:00
Henry Heng 1111101cff
Bugfix/Anthropic messages in agentflow (#3801)
fix anthropic messages in agentflow
2025-01-03 22:47:46 +00:00
Ahmed Rowaihi e22c60115e
clean(components): is debug boolean syntax shorthand (#3770)
🧹 CLEAN(components): is debug boolean syntax shorthand
2025-01-03 14:20:59 +00:00
Aaron 7af5815fa9
fix(ui): fix typo (#3799)
fix: shortcut typo
2025-01-03 14:14:27 +00:00
Danila b6165e3578
fix: getting docId, storeId parameters (#3761)
* fix: getting docId, storeId parameters

* useparams to get path params

---------

Co-authored-by: Henry <hzj94@hotmail.com>
2025-01-03 12:33:50 +00:00
Elon Zito d71ad22e27
[BUGFIX] Fix value.startsWith is not a function error (#3747)
* Fix value.startsWith is not a function error

* Check for empty array
2025-01-02 17:07:43 +00:00
Henry Heng 50475f1fe5
Feature/add disabled nodes env variable (#3797)
* add disabled nodes env variable

* add bugfix to speech to text
2025-01-02 16:49:41 +00:00
Nguyễn Đức Hùng b34a82335d
bugfix: Add nil check in escapeAllStrings to prevent TypeError when upsert vectors (#3789) 2025-01-02 16:41:40 +00:00
Hans 9cceba2240
Add `rerank-2` and `rerank-2-lite` for Voyage AI Rerank Retriever (#3776)
Add `rerank-2`
2025-01-02 13:51:59 +00:00
Henry Heng 5ba0ded4cc
Feature/add nvdia nim (#3749)
* add nvdia nim

* add base path
2024-12-31 18:16:58 +00:00
Henry Heng 4e434fd725
Release/2.2.3 (#3756)
release @2.2.3
2024-12-23 12:03:03 +00:00
Anthony Bryan Gavilan Vinces a7c1ab881c
Feature/Add Neo4j GraphRag support (#3686)
* added: Neo4j database connectivity, Neo4j credentials, supports the usage of the GraphCypherQaChain node and modifies the FewShotPromptTemplate node to handle variables from the prefix field.

* Merge branch 'main' of github.com:FlowiseAI/Flowise into feature/graphragsupport

* revert pnpm-lock.yaml

* add: neo4j package

* Refactor GraphCypherQAChain: Update version to 1.0, remove memory input, and enhance prompt handling

- Changed version from 2.0 to 1.0.
- Removed the 'Memory' input parameter from the GraphCypherQAChain.
- Made 'cypherPrompt' optional and improved error handling for prompt validation.
- Updated the 'init' and 'run' methods to streamline input processing and response handling.
- Enhanced streaming response logic based on the 'returnDirect' flag.

* Refactor GraphCypherQAChain: Simplify imports and update init method signature

- Consolidated import statements for better readability.
- Removed the 'input' and 'options' parameters from the 'init' method, streamlining its signature to only accept 'nodeData'.

* add output, format final response, fix optional inputs

---------

Co-authored-by: Henry <hzj94@hotmail.com>
2024-12-23 01:35:53 +00:00
Nguyễn Đức Hùng 93f3a5d98a
Feat/deepseek chat node (#3732)
* Feat: Add deepseek models to components configuration

* Feat: Implement Deepseek API integration with chat models and add SVG icon

* Refactor: Remove image input options and add missing baseOptions in deepseek chat node
2024-12-21 12:54:39 +00:00
Jérémy JOURDIN 0381a99c4d
[Feature] Repair JSON from LLM in StructuredOutputParserAdvanced (#3723)
Repair JSON from LLM in StructuredOutputParserAdvanced

Co-authored-by: Henry <hzj94@hotmail.com>
2024-12-21 12:51:56 +00:00
Kenny Yap 94f67c0212
Feature/Add Print or Export Text Document Tool (#3743)
* Add print_or_export_text_document tool

* Indentation fix

* Increase timeout to 10mins

* Typo fix on json file
2024-12-21 12:49:43 +00:00
Karlo Benčić e8a33e4d4d
fix: Error Cannot read properties of undefined (reading 'sendTelemetry') (#3734)
fix Error: Cannot read properties of undefined (reading 'sendTelemetry')
2024-12-21 01:09:45 +00:00
Pavel Nasovich bbe0203f4e
[Feature] Update Exa category filter with new values (#3746)
Added `financial report` and `linkedin profile` categories.
2024-12-20 18:43:25 +00:00
Abhishek Patil b29523d093
Feature/add composio tool (#3722)
* feat: add composio tool

* fix: improve error handling & field description

* update composio tools for refresh and sorting

---------

Co-authored-by: Henry <hzj94@hotmail.com>
2024-12-19 13:36:56 +00:00
Henry Heng d6b35465e5
Bugfix/Share Chatbot Config (#3742)
fix chatbot config
2024-12-19 13:36:32 +00:00
vijaykammili 2df129f91b
Vertex Gemini Custom Model Changes (#3737) 2024-12-19 11:40:14 +00:00
Henry Heng e8903a5719
Bugfix/custom assistant tools description (#3739)
* add tool description to custom assistant

* update custom assistant knowledge tooltip
2024-12-19 11:07:47 +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
richersoon bb15e5c2c0
Bugfix/Hide agent response for chatflow (#3729)
fix: hide agent response for chatflow
2024-12-18 22:38:40 +00:00
Anthony Bryan Gavilan Vinces 2360f5fdeb
Feature/Add Azure Cognitive speech-to-text functionality (#3718)
* feat: Add Azure Cognitive Services integration for speech-to-text functionality

- Introduced a new credential class for Azure Cognitive Services.
- Updated speech-to-text processing to support Azure Cognitive Services as a provider.
- Enhanced UI components to include Azure Cognitive Services options and inputs for configuration.
- Added necessary imports and error handling for Azure API requests.

* Update SpeechToText.jsx linting

* refactor: Update audio file handling in SpeechToText component

- Removed the dependency on 'form-data' and replaced it with a Blob for audio file uploads.
- Simplified the audio file appending process to the form data.
- Cleaned up the headers in the Axios request by removing unnecessary form data headers.

This change enhances the efficiency of audio file processing in the speech-to-text functionality.

---------

Co-authored-by: Henry Heng <henryheng@flowiseai.com>
Co-authored-by: Henry <hzj94@hotmail.com>
2024-12-18 01:35:16 +00:00
Henry fff6319f5d lint fix sharechatbot jsx 2024-12-17 23:51:28 +00:00
Henry Heng 4044febfd9
Bugfix/Add tool description to custom assistant (#3727)
add tool description to custom assistant
2024-12-17 23:39:32 +00:00
Danilo Ferreira 6511fb3fe1
fix: mapping full file upload configuration (#3713) 2024-12-17 23:28:29 +00:00
Anthony Bryan Gavilan Vinces 4c29b2390c
Feature/Add Groq Whisper support (#3706)
* feat: Add Groq Whisper support to SpeechToText component

- Introduced a new speech-to-text provider, Groq Whisper, in both the backend and UI components.
- Updated SpeechToTextType to include GROQ_WHISPER.
- Implemented Groq client integration for audio transcription with customizable model, language, and temperature options.
- Added UI elements for Groq Whisper configuration, including input fields for model, language, and temperature settings.

* turn speech to text none status to false when other was selected

---------

Co-authored-by: Henry <hzj94@hotmail.com>
2024-12-17 23:11:07 +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
Henry Heng d974564ba5
Chore/swagger update (#3692)
* update swagger spec

* update api docs to include doc store file chunks
2024-12-12 13:29:01 +00:00
Karlo Benčić 13fb0f1384
fix: followUpPrompts migration for MariaDB (#3677) 2024-12-11 17:54:16 +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 b087f4c4a1
Release/2.2.2 (#3673)
flowise@2.2.2 release
2024-12-10 16:14:22 +00:00
Henry Heng 5c5416240b
Chore/remove app server functions from utils file (#3671)
* remove app server functions from utils file

* hide override config variables if its empty
2024-12-10 14:11:29 +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
Jean Ibarz 680fe8dee1
feat(models): add Llama 3.3 70B models to groqChat (#3651)
* feat(models): add Llama 3.3 70B models to groqChat

Add Meta's latest Llama 3.3 70B models to groqChat options:
- llama-3.3-70b-versatile: New versatile model for general tasks
- llama-3.3-70b-specdec: Specialized model for specific tasks

These models offer comparable quality to Llama 3.1 405B at 1/5th the size,
with improvements in:
- Reasoning and math capabilities
- General knowledge tasks
- Instruction following
- Tool use and JSON outputs
- Code generation and feedback

* Revert minor version bump
2024-12-08 01:24:29 +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
Henry Heng e02045285f
Chore/Bump Pinecone Dep to V4 (#3646)
* bump dep

* Update pnpm-lock.yaml

* update pinecone to v4
2024-12-06 22:10:57 +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
Henry Heng 371da23986
Bugfix/Node ID Replacing Existing One (#3643)
fix node is replacing
2024-12-05 21:42:45 +00:00