* Enhancement: Introduce prepended chat history handling in Agent and LLM nodes.
- Added support for `prependedChatHistory` in both `Agent` and `LLM` classes to allow for initial message context.
- Implemented validation for history schema in execution flow to ensure proper format.
- Refactored utility functions to include JSON sanitization and validation methods for improved data handling.
* update prediction swagger
* New Feature: Ability to change role for a workspace user.
* reverting some of the changes in workspace-user.service.ts and minor code cleanup in the ui components.
* chore: refactor updateWorkspaceUser function queryRunner handling
---------
Co-authored-by: chungyau97 <chungyau97@gmail.com>
* Enhancement: Update issue templates and add new tools
- Updated bug report template to include a default label of 'bug'.
- Updated feature request template to include a default label of 'enhancement'.
- Added new credential class for Agentflow API.
- Enhanced Agent and HTTP nodes to improve tool management and error handling.
- Added deprecation badges to several agent and chain classes.
- Introduced new tools for handling requests (GET, POST, DELETE, PUT) with improved error handling.
- Added new chatflows and agentflows for various use cases, including document QnA and translation.
- Updated UI components for better handling of agent flows and marketplace interactions.
- Refactored utility functions for improved functionality and clarity.
* Refactor: Remove beta badge and streamline template title assignment
- Removed the 'BETA' badge from the ExtractMetadataRetriever class.
- Simplified the title assignment in the agentflowv2 generator by using a variable instead of inline string manipulation.
* bugfix/Modify the style of the AsyncDropdown component to adjust its width based on the multiple property. #4641
* style: fix linter warning
* style: fix linter warning
* style: fix linter warning
---------
Co-authored-by: 강나훈 <nahoon.kang@mnc.ai>
* New Feature: Evaluations for AgentFlow v2
* New Feature: Evaluations for Assistants and minor tweaks on other evaluations.
* do not store messages during evaluation for agent flows.
* common cost formatting
* moving the category names to description (in create dialog) and adjusting the side drawer label
* lint fixes
* Enhancement: Add auto-refresh toggle for evaluations with 5-second interval and adjust grid item size for metrics display.
* 1) chatflow types are stored in additional config
2) messages are now stored with type "Evaluations"
3) Message Dialog has a new Type in the ChatType Filter Dropdown
4) Chatflow badges on the view page, have the right canvas URL
5) outdated API returns chatflow type along with the stale indicator.
6) UI - Flow Indicator Icons are shown in the Chatflows Used chips & side drawer
* Refactor JWT error handling to return 401 status for expired refresh tokens. Update chat message ID assignment to remove UUID fallback. Enhance ViewMessagesDialog to set default chat type filters and implement a new method for determining chat type sources. Modify EvalsResultDialog to open links in a new tab and adjust icon sizes for better consistency. Clean up unused imports in EvaluationResultSideDrawer.
* handling on Click for deleted flows and minor code cleanup
* evals ui fix
* Refactor evaluation service to improve error handling and data parsing. Update additionalConfig handling to default to an empty object if not present. Enhance type definitions for better clarity. Adjust MetricsItemCard to prevent overflow and improve layout consistency.
---------
Co-authored-by: Henry <hzj94@hotmail.com>
* add teams, gmail, outlook tools
* update docs link
* update credentials for oauth2
* add jira tool
* add google drive, google calendar, google sheets tools, powerpoint, excel, word doc loader
* update jira logo
* Refactor Gmail and Outlook tools to remove maxOutputLength parameter and enhance request handling. Update response formatting to include parameters in the output. Adjust Google Drive tools to simplify success messages by removing unnecessary parameter details.
* feat: add tooltip display on icon hover in chatflows and marketplace page
* update list view, remove sticky note images
---------
Co-authored-by: Henry <hzj94@hotmail.com>
* Chatflow config - rate limit and override config were overwriting changes.
* prevent post processing JS function from escaping as JSON...
* non-streaming follow up prompts need to be escaped twice
* prevent post processing JS function from escaping as JSON...
* Adding file mimetypes for full file upload...
* lint..
* fixing the issue with storing only filtered nodes..
* return doc store processing response without await when queue mode and request is from UI
---------
Co-authored-by: Henry <hzj94@hotmail.com>
feat(ui): show time with date for last modified date for chatflow/agentflow/credentials/variables
Co-authored-by: coolpengwing <coolpengwing@gmail.com>
* feat: add GPT-4.1 series models support to OpenAI Assistant Dialog
* Update models.json
---------
Co-authored-by: Henry Heng <henryheng@flowiseai.com>
This update adds support for Opik tracer in Flowise. It includes new
credential components, analytic nodes, and UI assets for both tracers. The
changes enhance observability by allowing users to integrate Opik for better
model monitoring, analysis and evaluation.
* fix: udpate label to "NVIDIA NIM API Key"
* test: update tag from ":latest" to ":1.8.0-rtx"
* test: add image URL path "nvcr.io/nim/"
* fix/nvidia-nim-2 (#4208)
* fix: update nim-container-manager
* feat: add "DeepSeek R1 Distill Llama 8B"
* fix/nidia-nim-3 (#4209)
* chore: add error message NVIDIA NIM is not installed.
* chore: standardize NVIDIA NGC API Key
* chore: capitalize Nvidia to NVIDIA
* chore: generalize error message for chat models
* fix/nvidia-nim-4-yau (#4212)
* test: nimRelaxMemConstraints and hostPort
* test: add logger for hostPort and nimRelaxMemConstraints
* test: nim-container-manager version 1.0.9
* test: parseInt nimRelaxMemConstraints
* test: update nim-container-manager version to 1.0.10
* chore: update nim-container-manager version to 1.0.11
* Update start container behaviour - show existing containers and give users the choice
* Go back to previous step when clicking start new so user can change port number
* Update condition for showing existing container dialog
* Fix start new in different port not working
* Update get container controller
* Update again
* fix: generalize error message for chat models
* Update getContainer controller
* Fix incorrect image check in getContainer controller
* Update existing container dialog text
* Fix styles in container exists dialog for nvidia nim
---------
Co-authored-by: chungyau97 <chungyau97@gmail.com>
Co-authored-by: Ong Chung Yau <33013947+chungyau97@users.noreply.github.com>
* add nim container setup
* check if image or container exist before pulling
* update NIM dialog
* update chat nvidia api key
* update nim container version
* update nim container version
* New Feature: Add post postprocessing of response from LLM using custom Javascript functions
* Disable Save when there is no content
* add post processing ui changes, disable streaming
---------
Co-authored-by: Henry <hzj94@hotmail.com>
* now user can name each document loader for ease of tracking
* Update LoaderConfigPreviewChunks.jsx
---------
Co-authored-by: Henry Heng <henryheng@flowiseai.com>
Added clarification that data will also be removed from the record manager.
Before:
"Remove data from vector store"
After:
"Remove data from vector store and record manager"
Note: this dialog box only appears when a record manager exists in the doc store. If it's intended to be shown regardless of whether a record manager exists, updates will be needed.
* Get ChatMessage based on startDateTime / endDateTime - supplements existing startDate / endDate fields
* Proper query handling for between case
* Return 0 result rather than error
* lint fix
* update start date and end date query
---------
Co-authored-by: Henry <hzj94@hotmail.com>
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.
* 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>
* 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>