Hi! How do I create my own node if I can’t find what I’m looking for?
I’m in need of a node that would let chat gpt or google vision receive two images and compare them for me based on a prompt.
Thank you for the help in advance!
Hi! How do I create my own node if I can’t find what I’m looking for?
I’m in need of a node that would let chat gpt or google vision receive two images and compare them for me based on a prompt.
Thank you for the help in advance!
Hello,
You don’t need a custom node. Just follow these steps.
To set up your flow as needed:
Start Node: Add two file input fields labeled for example “Image 1” and “Image 2”. Upload your images. Then start this node only by pressing play button on top right corner.
ChatGPT Node: Add a ChatGPT node. Add system message, configure it saying that user will send two images and what needs to be done. Add user message, change the message type to expression, and add the successfully processed images from the start node in the left menu to the right to ensure the uploaded images are used in the comparison.
Example:
Image 1 - {{context[“axi1-start”][“success”][“Image1”]}}
Image 2 - {{context[“axi1-start”][“success”][“Image2”]}}
• Connect the success dot from the Start Node to the ChatGPT node.
• Then, connect the success dot of the ChatGPT node to the input field of the End Node.
This will ensure that the flow processes the images correctly and compares them via the ChatGPT node.
Please visit our ChatGPT guide and don’t hesitate to ask more questions.
Hello!
I managed to solve it thanks to your detailed explanation.
The service of this site is truly amazing. The sites capabilities as well. I’m recommending it to everyone.
Have a good day!