đŧī¸â¨ Media Node: Supercharge Your ChainForge Workflows with Images!
Welcome to Media Node! đ A powerful addition to ChainForge's visual programming environment. This guide will show you how to use Media Node to add images đŧī¸, boost your LLM evaluation, and prompt engineering workflows â still no coding required! đ
đ¤ What is the Media Node?
Media Node lets you:
- đ¤ Upload and manage images in ChainForge
- đī¸âđ¨ī¸ Add visual context to prompts for multimodal LLMs (a.k.a. Vision-Language Models)
- đ¤ Share visual prompts with your team
đ ī¸ How to Use Media Node in ChainForge
1ī¸âŖâ Add the Media Node to Your Flow
- Click the top-left
Add Node âbutton - Select đē Media Node from the Input Data section

2ī¸âŖđŧī¸ Add Images to Your Media Node
đī¸ Option 1: Upload local Image Files đŧī¸ from your computer đģ
- Click the â Add button of the Media Node
- Click on the Drag & Drop button to select local files
- You can Drag & Drop files
- Or you can select one or several files via the pop-up

đ Option 2: Use Remote Images
- Click the â Add button of the Media Node
- Enter a public image
httpURL đ or HitCtrl+Vto paste an image (you need to focus the text field). - The image is fetched, if the link is valid.

đ Option 3: Import from Spreadsheet
- Click Import data đ
- Select a TSV file đĨ (Click the âšī¸ info button to know what structure is expected regarding those files)

3ī¸âŖđī¸ Inspect Image & Text Field associations
- Click on the
Inspect Images đŧī¸button at the bottom of the Media Node. - Click on the image thumbnail to trigger a preview window đ opens with the full image and some useful metadata.

4ī¸âŖđ Connect Images to Your Prompt Chain
- Connect the Media Node's
output variablesđ to a Prompt Node'sinput variables. - In the Prompt Node, create a template variable đˇī¸, the same way you would for text input.

5ī¸âŖđ Inspect Responses on the Prompt Node
- After executing the Prompt Node, Click the Inspect Responses tab or section within the Prompt Node interface.
- Browse the list of responses generated by the LLM for each input (including images and text).

đĄ Tutorial
See this tutorial for a step-by-step example of using Media Node in a ChainForge flow.
â FAQ
Is there a file size limit?
Yes! đĢ Each image file should be under 50MB for best performance.
Can I delete images from the Media Node?
Yes! đī¸ Select any image and click Delete to remove it from your flow.