* 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
* 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>
* 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
* 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>
* update flowise-embed version on lock file
* add agent messages to share chatbot
* Update pnpm-lock.yaml
* update flowise-embed version
* update flowise-embed to 1.3.9
* update embed version to 2.0
* update flowise embed version
* update flowise-embed version
* update flowise embed version in pnpm lock file