* fix: Preserve port in normalizeURL function
The normalizeURL function was previously ignoring the port in the URL.
This fix explicitly includes the port if present (e.g., `:3000`).
* fix lint problem
fix lint problem
* Expose dimensions parameter on Jina Embeddings
* fix linting issue
* update description text to refer to dimensions
* Update JinaAIEmbedding.ts
---------
Co-authored-by: Henry Heng <henryheng@flowiseai.com>
The previous code incorrectly assigned `toolInput` to an empty string when `customInput` was non-empty. Corrected the logic to ensure that `toolInput` is assigned `customInput` when `useQuestionFromChat` is false and `customInput` is non-empty.
* 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>
* 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
* 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>
* 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