Cache Set¶
Stores a value in a cache entry for later retrieval.
Use the Cache Get
block to fetch values from the cache.
Type identifier¶
Use the following identifier in step "type"
field: roboflow_core/cache_set@v1
to add the block as
as step in your workflow.
Properties¶
Name | Type | Description | Refs |
---|---|---|---|
name |
str |
Enter a unique identifier for this step.. | ❌ |
key |
str |
The key of the cache entry to set.. | ✅ |
The Refs column marks possibility to parametrise the property with dynamic values available
in workflow
runtime. See Bindings for more info.
Available Connections¶
Check what blocks you can connect to Cache Set
in version v1
.
- inputs:
Multi-Label Classification Model
,Line Counter
,Data Aggregator
,OpenAI
,LMM For Classification
,OCR Model
,Roboflow Dataset Upload
,Trace Visualization
,Path Deviation
,Byte Tracker
,Instance Segmentation Model
,Email Notification
,Anthropic Claude
,Path Deviation
,Mask Visualization
,JSON Parser
,Gaze Detection
,Byte Tracker
,Image Threshold
,Roboflow Custom Metadata
,Keypoint Detection Model
,Cache Set
,YOLO-World Model
,CogVLM
,Size Measurement
,Roboflow Dataset Upload
,Camera Focus
,Identify Changes
,Continue If
,Cache Get
,Model Monitoring Inference Aggregator
,Polygon Zone Visualization
,Object Detection Model
,Triangle Visualization
,Barcode Detection
,Clip Comparison
,Ellipse Visualization
,Identify Outliers
,First Non Empty Or Default
,Slack Notification
,Clip Comparison
,Image Blur
,Twilio SMS Notification
,Dot Visualization
,Model Comparison Visualization
,VLM as Detector
,Dynamic Crop
,Rate Limiter
,Cosine Similarity
,Environment Secrets Store
,VLM as Classifier
,Perspective Correction
,Line Counter Visualization
,Time in Zone
,Google Vision OCR
,Blur Visualization
,CSV Formatter
,Keypoint Detection Model
,Color Visualization
,Image Preprocessing
,Dimension Collapse
,Polygon Visualization
,Segment Anything 2 Model
,Detection Offset
,Circle Visualization
,Line Counter
,Bounding Box Visualization
,Corner Visualization
,Reference Path Visualization
,Single-Label Classification Model
,Stability AI Inpainting
,Absolute Static Crop
,Halo Visualization
,SIFT
,SIFT Comparison
,Pixelate Visualization
,Classification Label Visualization
,Background Color Visualization
,VLM as Classifier
,Crop Visualization
,Relative Static Crop
,Google Gemini
,Image Contours
,Detections Filter
,Multi-Label Classification Model
,Template Matching
,Byte Tracker
,Instance Segmentation Model
,Florence-2 Model
,LMM
,Stitch OCR Detections
,Distance Measurement
,Object Detection Model
,Keypoint Visualization
,Pixel Color Count
,Dynamic Zone
,Local File Sink
,Single-Label Classification Model
,Detections Stitch
,Detections Classes Replacement
,Detections Transformation
,SIFT Comparison
,Property Definition
,Image Slicer
,Grid Visualization
,Detections Consensus
,Webhook Sink
,Buffer
,Image Convert Grayscale
,Time in Zone
,Stitch Images
,Bounding Rectangle
,Florence-2 Model
,Delta Filter
,Dominant Color
,QR Code Detection
,CLIP Embedding Model
,Expression
,VLM as Detector
,Detections Stabilizer
,OpenAI
,Label Visualization
- outputs:
Multi-Label Classification Model
,Line Counter
,Reference Path Visualization
,Data Aggregator
,OpenAI
,Single-Label Classification Model
,OCR Model
,LMM For Classification
,Roboflow Dataset Upload
,Stability AI Inpainting
,Absolute Static Crop
,Trace Visualization
,Path Deviation
,Byte Tracker
,Halo Visualization
,Instance Segmentation Model
,SIFT Comparison
,SIFT
,Email Notification
,Anthropic Claude
,Pixelate Visualization
,Path Deviation
,Classification Label Visualization
,Mask Visualization
,Background Color Visualization
,Crop Visualization
,Relative Static Crop
,VLM as Classifier
,Google Gemini
,Image Contours
,JSON Parser
,Detections Filter
,Gaze Detection
,Byte Tracker
,Image Threshold
,Roboflow Custom Metadata
,Cache Set
,Keypoint Detection Model
,Multi-Label Classification Model
,YOLO-World Model
,Template Matching
,Byte Tracker
,Instance Segmentation Model
,Florence-2 Model
,Object Detection Model
,CogVLM
,Distance Measurement
,Size Measurement
,Stitch OCR Detections
,LMM
,Roboflow Dataset Upload
,Camera Focus
,Identify Changes
,Continue If
,Keypoint Visualization
,Label Visualization
,Cache Get
,Model Monitoring Inference Aggregator
,Polygon Zone Visualization
,Pixel Color Count
,Dynamic Zone
,Object Detection Model
,Triangle Visualization
,Local File Sink
,Barcode Detection
,Single-Label Classification Model
,Clip Comparison
,Ellipse Visualization
,Detections Stitch
,Identify Outliers
,First Non Empty Or Default
,Detections Classes Replacement
,Slack Notification
,Clip Comparison
,Image Blur
,Twilio SMS Notification
,Detections Transformation
,Dot Visualization
,VLM as Detector
,Model Comparison Visualization
,SIFT Comparison
,Dynamic Crop
,Rate Limiter
,Cosine Similarity
,Property Definition
,Image Slicer
,VLM as Classifier
,Perspective Correction
,Line Counter Visualization
,Grid Visualization
,Detections Consensus
,Time in Zone
,Webhook Sink
,Google Vision OCR
,Time in Zone
,Image Convert Grayscale
,Buffer
,Stitch Images
,Blur Visualization
,Bounding Rectangle
,Florence-2 Model
,CSV Formatter
,Keypoint Detection Model
,Color Visualization
,Delta Filter
,Image Preprocessing
,Dominant Color
,QR Code Detection
,CLIP Embedding Model
,Expression
,Dimension Collapse
,VLM as Detector
,Polygon Visualization
,Detections Stabilizer
,Segment Anything 2 Model
,Detection Offset
,OpenAI
,Circle Visualization
,Line Counter
,Bounding Box Visualization
,Corner Visualization
Input and Output Bindings¶
The available connections depend on its binding kinds. Check what binding kinds
Cache Set
in version v1
has.
Bindings
-
input
image
(image
): The image data to use as a reference for the cache namespace..key
(string
): The key of the cache entry to set..value
(Union[list_of_values
,*
]): The value to store in the cache..
-
output
output
(*
): Equivalent of any element.
Example JSON definition of step Cache Set
in version v1
{
"name": "<your_step_name_here>",
"type": "roboflow_core/cache_set@v1",
"image": "$inputs.image",
"key": "my_cache_key",
"value": "any_value"
}