-
-
Notifications
You must be signed in to change notification settings - Fork 19.6k
FEATURE: Add Multi Modal Capabilities to Flowise #1419
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from 27 commits
Commits
Show all changes
76 commits
Select commit
Hold shift + click to select a range
c96572e
GPT Vision - OpenAIVisionChain
vinodkiran 73f7046
GPT Vision: Initial implementation of the OpenAI Vision API
vinodkiran dc265eb
Merge branch 'main' into FEATURE/Vision
vinodkiran b492153
GPT Vision: Storing filenames only in chat message
vinodkiran 68fbe0e
GPT Vision: Vision Chain Node update along with addition of chatid fo…
vinodkiran 3257582
GPT Vision: Converting vision into Multi Modal. Base Changes.
vinodkiran 1b308a8
making the chain multi-modal. now we accept audio and image uploads a…
vinodkiran 1bd1fd5
MultiModal: Minor adjustments to layout and categorization of node
vinodkiran c609c63
MultiModal: start integration of audio input (live recording) for Mul…
vinodkiran 826de70
MultiModal: addition of live recording...
vinodkiran 60800db
Merge branch 'main' into FEATURE/Vision
vinodkiran c6ae3be
Merge branch 'main' into FEATURE/Vision
vinodkiran d3ce6f8
Merge branch 'main' into FEATURE/Vision
vinodkiran 7f15494
Merge branch 'main' into FEATURE/Vision
HenryHengZJ f57daea
Merge branch 'main' into FEATURE/Vision
HenryHengZJ 398a31f
UI touchup
HenryHengZJ 8a14a52
GPT Vision: Renaming to OpenAIMultiModalChain and merging the functio…
vinodkiran 1883111
GPT Vision: Fix for error when only speech input is sent.
vinodkiran 9222aaf
GPT Vision: Updated behaviour to submit voice recording directly with…
vinodkiran f87d849
GPT Vision: lint fixes
vinodkiran e774bd3
GPT Vision: Added multi model capabilities to ChatOpenAI and Conversa…
vinodkiran 7e5d8e7
Fix image uploads appear on top of chat messages. Now image uploads w…
0xi4o 59643b6
Fix the flickering issue when dragging files over the chat window
0xi4o 7d0ae52
Fix chat popup styles and remove console statements
0xi4o f384ad9
Update audio recording ui in internal chat
0xi4o 318686e
Fix issue where audio recording is not sent on stopping recording
0xi4o 3ce22d0
MultiModal : Adding functionality to base OpenAI Chat Model
vinodkiran d61e3d5
SpeechToText: Adding SpeechToText at the Chatflow level.
vinodkiran 517c2f2
Fix error message when audio recording is not available
0xi4o 1d12208
Fix auto scroll on audio messages
0xi4o 4604594
SpeechToText: Adding SpeechToText at the Chatflow level.
vinodkiran e81927e
SpeechToText: Adding SpeechToText at the Chatflow level.
vinodkiran 5c8f48c
Multimodal: Image Uploads.
vinodkiran aa5d141
Multimodal: deleting uploads on delete of all chatmessages
vinodkiran eab8c19
Multimodal: deleting uploads on delete of all chatmessages or chatflow
vinodkiran 9cd0362
Merge branch 'main' into FEATURE/Vision
HenryHengZJ a219efc
Rename MultiModalUtils.ts to multiModalUtils.ts
HenryHengZJ c5bd4d4
address configuration fix and add BLOB_STORAGE_PATH env variable
HenryHengZJ a4131dc
add fixes for chaining
HenryHengZJ 041bfea
add more params
HenryHengZJ c504f91
Multimodal: guard to check for nodeData before image message insertion.
vinodkiran 8c494cf
Fix UI issues - chat window height, image & audio styling, and image …
0xi4o 9072e69
Return uploads config in public chatbot config endpoint
0xi4o 0a54db7
Update how uploads config is sent
0xi4o 11219c6
Fix audio recording not sending when recording stops
0xi4o 2056703
Check if uploads are enabled/changed on chatflow save and update chat…
0xi4o 56b2186
Send uploads config if available, even when chatbot config is not ava…
0xi4o dcb1ad1
Merge branch 'main' into FEATURE/Vision
HenryHengZJ 86da67f
add missing human text when image presents
HenryHengZJ 44c1f54
Showing image/audio files in the View Messages Dialog
vinodkiran a71c5a1
fix for concurrent requests for media handling
vinodkiran 85809a9
fix for concurrency
HenryHengZJ 6acc921
ViewMessages->Export Messages. Add Fullpath of the image/audio file.
vinodkiran 9c874bb
Concurrency fixes - correcting wrong id
vinodkiran 52ffa17
Multimodal Fixes...removing all static methods/variables.
vinodkiran 10fc1bf
Multimodal Fixes for cyclic (circular) dependencies during langsmith …
vinodkiran 81c07dc
Update UI of speech to text dialog
0xi4o 5aa991a
Update how uploads are shown in view messages dialog
0xi4o 46c4701
Merge branch 'main' into FEATURE/Vision
HenryHengZJ d313dc6
Show transcribed audio inputs as message along with audio clip in int…
0xi4o 8bad360
Remove status indicator in speech to text configuration
0xi4o b31e871
reverting all image upload logic to individual chains/agents
vinodkiran 97a376d
Fix local state sync issue, STT auth issue, and add none option for s…
0xi4o 51c2a93
Merge remote-tracking branch 'origin/FEATURE/Vision' into FEATURE/Vision
vinodkiran 0bc8559
Merge branch 'main' into FEATURE/Vision
vinodkiran 4cee518
image uploads for mrkl agent
vinodkiran d172802
Merge branch 'main' into feature/Vision
HenryHengZJ a48edcd
touchup fixes
HenryHengZJ 4071fe5
add default none option
HenryHengZJ 35d3b93
Merge branch 'main' into feature/Vision
HenryHengZJ e86550a
update marketplace templates
HenryHengZJ 7e84268
Add content-disposition package for handling content disposition resp…
0xi4o e55975e
Revert useEffect in async dropdown and input components
0xi4o b884e93
fix speech to text dialog credential, fix url changed when clicked se…
HenryHengZJ bca7e82
Merge branch 'main' into FEATURE/Vision
HenryHengZJ 68ac61c
fix speech to dialog state
HenryHengZJ File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,6 +8,7 @@ import { formatResponse, injectOutputParser } from '../../outputparsers/OutputPa | |
import { BaseLLMOutputParser } from 'langchain/schema/output_parser' | ||
import { OutputFixingParser } from 'langchain/output_parsers' | ||
import { checkInputs, Moderation, streamResponse } from '../../moderation/Moderation' | ||
import { injectChainNodeData } from '../../../src/MultiModalUtils' | ||
|
||
class LLMChain_Chains implements INode { | ||
label: string | ||
|
@@ -129,6 +130,7 @@ class LLMChain_Chains implements INode { | |
if (!this.outputParser && outputParser) { | ||
this.outputParser = outputParser | ||
} | ||
injectChainNodeData(nodeData, options) | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. @HenryHengZJ review critically |
||
promptValues = injectOutputParser(this.outputParser, chain, promptValues) | ||
const res = await runPrediction(inputVariables, chain, input, promptValues, options, nodeData) | ||
// eslint-disable-next-line no-console | ||
|
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
interface should be
BasesMessage[]
?