Zero Labs
Industry News / AI

Fire Detection Without Training a Model? Edge RAG Does It Better

Source · Towards AI By Pruthil Prajapati

From the publisher’s feed, collected in the ZeroLabs newsroom.

The camera had been running for six months. Mounted 8 meters above a factory floor, pointing down at a hydraulic press bay, recording 1080p at 30 FPS. Connected to nothing. The factory had budgeted lakhs for a custom fire-detection model, dataset curation, GPU training, validation cycles, edge deployment packaging in the full pipeline. Three months in, the trained model was hitting recall on smoke in cluttered industrial scenes. Welding sparks were triggering it. The steam vent from the cooling system was being classified as smoke most of the time. The team was six weeks from shipping a system that would wake up the on-floor security team every few minutes on a false alarm.What replaced it was a retrieval-based pipeline: no gradient updates, no loss functions, no hyperparameter sweeps, no labeled bounding boxes. Just CLIP embeddings, a vector database that runs on-device, and a cosine similarity threshold. The final system runs on any edge device without GPU, processes 5 frames per second, and averages sub-200ms latency per frame.This article walks you through exactly how I built it. By the end of it, you will have a complete mental model of why retrieval beats training for this class of problem along with a working codebase to clone and deploy today.Terminal Logs example of Fire DetectionWhy Training a Fire Detection Model on a Factory Floor Is a TrapThe standard computer vision playbook for fire detection looks completely reasonable on paper. You collect images of fire and smoke, annotate bounding boxes, fine-tune a YOLO variant on a curated dataset, optimize for edge inference speed with quantization or pruning, package the weights, and deploy. Benchmark numbers on test sets look clean. Precision is high. Recall graphs look smooth. You ship it.Then the factory environment dismantles every assumption those benchmarks were built on.The core failure mode is called domain shift at inference time, and factory floors produce it aggressively. A model trained on fire images sourced from Kaggle or ImageNet has never seen the specific orange glow of a foundry furnace at 1,200°C. It has never encountered the white steam plume from a hydraulic press cooling jacket. It has no concept of the way arc-welding light at 6,000 Kelvin bounces off a corrugated metal ceiling. Each of those real industrial scenarios produces a visual pattern that is statistically similar to fire or smoke in the embedding space of a model that was only trained on fire and smoke. The result is false positives, continuously, until you retrain.And retraining is not a quick fix in an industrial context. It means labeling more images from your specific environment, scheduling GPU time, revalidating the new model against your edge hardware, and redeploying. This cycle takes 3–6 weeks per iteration in most production settings. Every time your factory adds a new furnace, changes its lighting configuration, or runs a different kind of welding operation, the model drifts.The Core Idea: Visual RAG Is Not a New Concept; It Just Fits Here PerfectlyRetrieval-Augmented Generation (RAG) became mainstream in NLP because it solved a fundamental problem: encoding all knowledge into model weights is expensive to update, opaque in its reasoning, and prone to hallucination when queried outside its training distribution. The fix was to separate knowledge storage from reasoning, put the knowledge in an index that you can update minus much expense, and let the model retrieve relevant context at inference time rather than memorizing it during training.The exact same logic applies to vision-based classification.CLIP (Contrastive Language-Image Pretraining), developed by OpenAI, encodes images into 512-dimensional semantic vectors using a vision transformer trained on 400 million image-text pairs. Critically, it was trained to understand what is in a scene, not just match pixel patterns. Images of fire in completely different environments, one in daylight, one at night, one from above, one from the side — will produce embedding vectors that are close together in CLIP’s 512-dimensional space because they share semantic content. A welding spark, which is visually different from a sustained fire even though it shares the orange color, will land somewhere else in that space.CLIP maps images into semantic space. Similar scenes cluster together. Your query frame’s nearest neighbor tells you what class it belongs to without requirement of any model training.A 2D scatter plot diagram showing CLIP embedding clusters for fire, smoke, and none classes, with query frame positions demonstrating cosine similarity-based classification.You store your reference images as 50 fire images, 50 smoke images and 50 normal factory floor images as vectors in Qdrant Edge, an embedded vector database that runs directly on your edge device with no server process or network dependency. At inference time, you embed the query frame with CLIP and ask Qdrant Edge: “What is the closest stored vector to this one, and what label does it carry?” If the answer is “smoke” with a similarity above your threshold, you send an alert.Because we are utilizing zero-shot visual embeddings, there is no gradient descent, no loss function, and no retraining cycle. The accuracy of the pipeline relies entirely on the diversity of our vector space. To achieve this, our knowledge base is populated with 100 instances of fire and 100 instances of smoke, explicitly curated to cover a wide spectrum of environmental variance. This includes diverse lighting conditions, varying combustion scales, and high-angle CCTV perspectives. Most importantly, we anchor the latent space with 170 ‘hard negative’ examples capturing heavy machinery, reflective surfaces, and controlled thermal events like welding arcs and grinder sparks. This ensures the system explicitly understands the boundary between normal industrial operations and an actual emergency.The System ArchitectureBefore diving into the three pipeline scripts, it is worth understanding how the components connect. Most pipeline failures happen at the seams between components, not inside them, so having a clear picture of the data flow upfront will make every code section easier to follow.Architecture DiagramThe folder structure of the repository mirrors this architecture exactly:fire-detection/├── data/│ └── curated_edge_dataset/│ ├── fire/ # ~100 reference images — flames, combustion, ignition events│ ├── smoke/ # ~100 reference images — plumes, haze, industrial smoke│ └── none/ # ~170 negative examples — sparks, steam, normal factory scenes├── models/│ └── local_clip_model/ # CLIP weights saved here by 01_setup_model.py├── src/│ ├── 01_setup_model.py # Downloads and freezes CLIP offline│ ├── 02_build_vectordb.py # Embeds reference images → Qdrant Edge shard│ └── 03_run_inference.py # Live detection loop├── qdrant_edge_db/ # Vector database shard (created by step 2)├── videos/ # Test video files├── video_source.mp4 # Active video input — copy here from videos/├── alerts.log # Runtime detection log└── requirements.txtThe design principle behind three separate scripts rather than one monolithic file is operational: setup runs once per machine, database build runs whenever you update your reference images, and inference runs continuously. Keeping them separate lets you rebuild the database without touching the inference process and update the model without re-ingesting your entire image library.With the architecture mapped out, let’s look at the actual code required to get this running locally.ImplementationScript 1 — Download and Freeze CLIP Locally (01_setup_model.py)# Script: 01_setup_model.py# Purpose: One-time download of CLIP model for offline operation# Prerequisites: internet connection (this script only), sentence-transformers>=3.0.0# Input: MODEL_NAME string (the SentenceTransformers hub identifier)# Output: Full model saved to /models/local_clip_model/ — all subsequent scripts# load from here, with zero network callsfrom sentence_transformers import SentenceTransformerimport osMODEL_NAME = "clip-ViT-B-32"SAVE_PATH = os.path.join(os.path.dirname(__file__), "..", "models", "local_clip_model")def download_and_save_model(): print(f"[SETUP] Downloading model: {MODEL_NAME}") # This pulls ~500MB from the Hugging Face Hub — only happens once model = SentenceTransformer(MODEL_NAME) os.makedirs(SAVE_PATH, exist_ok=True) # model.save() serializes the FULL model directory, not just the weights. model.save(SAVE_PATH) print(f"[SETUP] Model saved to: {os.path.abspath(SAVE_PATH)}") print("[SETUP] All subsequent scripts will run fully offline.")if __name__ == "__main__": download_and_save_model()Run this once:python src/01_setup_model.pyExpected output:[SETUP] Downloading model: clip-ViT-B-32[SETUP] Model saved to: /your/path/models/local_clip_model[SETUP] All subsequent scripts will run fully offline.The single biggest operational constraint of an edge deployment is the absence of internet access. You cannot have a factory-floor PC making Hugging Face Hub requests in the middle of a night shift. This script solves that by downloading the CLIP ViT-B/32 model once on a machine with internet access — and then saving the full model directory weights, tokenizer config, pooling layers, and the modules.json that the SentenceTransformer wrapper requires to a local path that the rest of the pipeline will read from.Why ViT-B/32 specifically? CLIP comes in multiple sizes: ViT-B/32, ViT-B/16, ViT-L/14. ViT-B/32 is the smallest, producing 512-dimensional vectors. It runs at 260–400ms per image on a mid-range CPU, which is fast enough for our 5 FPS target. ViT-L/14 would produce richer embeddings but takes 800ms+ per frame on a CPU, which is too slow for real-time use. ViT-B/32 is the right trade-off for edge hardware.Script 2 — Build the Vector Index (02_build_vectordb.py)The 02_build_vectordb.py script is responsible for the critical data ingestion phase of the Retrieval-Augmented Generation (RAG) pipeline. It orchestrates the process of transforming reference images into a searchable vector index. First, it loads the pre-trained, offline CLIP model and scans the curated dataset folders (fire/, smoke/, none/) for all image files. The core function, embed_and_upsert, iterates through these images, uses the CLIP model to encode each one into a 512-dimensional vector, and packages this vector along with its class label and file path into a Point object. These Point objects are then batch-upserted into the Qdrant Edge vector shard.The script utilizes several key Qdrant Edge components and methods:EdgeShard: The core object representing the on-disk, embedded vector index, loaded via EdgeShard.load or created via EdgeShard.create.EdgeConfig & EdgeVectorParams: Define the vector space configuration, including the 512-dimensional size and the Distance.Cosine metric.Point: The fundamental data structure for a single vector entry, containing a unique id, the CLIP vector, and a payload for metadata (label, file path).UpdateOperation.upsert_points: The method used for batch ingestion of Point objects into the shard.shard.optimize(): The essential call that builds the HNSW index, guaranteeing fast Approximate Nearest-Neighbor (ANN) search performance.# Script: 02_build_vectordb.py# Purpose: Embed reference images and build the Qdrant Edge vector index# Prerequisites: 01_setup_model.py must have run; images in data/curated_edge_dataset/# Input: Image files organized into fire/, smoke/, none/ subfolders# Output: Qdrant Edge shard on disk at /qdrant_edge_db/shard/import uuidfrom pathlib import Pathfrom PIL import Imagefrom sentence_transformers import SentenceTransformerfrom qdrant_edge import (EdgeShard, EdgeConfig, EdgeVectorParams, Distance, UpdateOperation, Point)BASE_DIR = Path(__file__).resolve().parent.parentMODEL_PATH = BASE_DIR / "models" / "local_clip_model"DATASET_PATH = BASE_DIR / "data" / "curated_edge_dataset"DB_PATH = BASE_DIR / "qdrant_edge_db"LABELS = ["fire", "smoke", "none"]VECTOR_DIM = 512 # Fixed by CLIP ViT-B/32 — not configurable without changing the modelBATCH_SIZE = 32 # Reduce to 8 on machines with less than 4GB RAMdef load_model() -> SentenceTransformer: print(f"[DB] Loading offline CLIP model from: {MODEL_PATH}") # Load from the local path — no internet connection required return SentenceTransformer(str(MODEL_PATH))def get_image_paths() -> list[tuple[str, str]]: """Scan all three class folders and return (filepath, label) tuples.""" items = [] for label in LABELS: folder = DATASET_PATH / label if not folder.exists(): print(f"[DB] Warning: folder not found — {folder}") continue for ext in ("*.jpg", "*.jpeg", "*.png", "*.bmp", "*.webp"): for img_path in folder.glob(ext): items.append((str(img_path), label)) print(f"[DB] Total images found: {len(items)}") return itemsdef embed_and_upsert(model: SentenceTransformer, shard: EdgeShard, items: list): points = [] for idx, (img_path, label) in enumerate(items): try: image = Image.open(img_path).convert("RGB") # .encode() returns a numpy array — .tolist() converts it to a Python list # for JSON serialization into the Qdrant Edge payload format vector = model.encode(image).tolist() point = Point( id=str(uuid.uuid4()), # Unique ID for each vector vector=vector, payload={"label": label, "file_path": img_path}, ) points.append(point) except Exception as e: # Corrupt or unreadable images fail silently — log and continue print(f"[DB] Skipping {img_path}: {e}") continue if len(points) >= BATCH_SIZE: shard.update(UpdateOperation.upsert_points(points)) print(f"[DB] Upserted batch — total processed: {idx + 1}") points = [] if points: # Flush the remaining points after the loop ends shard.update(UpdateOperation.upsert_points(points)) print("[DB] Upserted final batch.") print("[DB] Ingestion complete.") shard.optimize() # ← THIS IS NOT OPTIONAL. See the Gotcha note below. print("[DB] Optimization complete.")def main(): DB_PATH.mkdir(parents=True, exist_ok=True) # Configure the vector space: 512 dimensions, cosine distance metric vector_params = EdgeVectorParams(size=VECTOR_DIM, distance=Distance.Cosine) config = EdgeConfig(vectors=vector_params) shard_path = DB_PATH / "shard" shard_path.mkdir(parents=True, exist_ok=True) # Load existing shard if it exists, otherwise create a fresh one if list(shard_path.iterdir()): print("[DB] Loading existing shard...") shard = EdgeShard.load(str(shard_path)) else: print("[DB] Creating new shard...") shard = EdgeShard.create(str(shard_path), config) model = load_model() items = get_image_paths() if items: embed_and_upsert(model, shard, items) else: print("[DB] No images found to process.") shard.flush() shard.close() print(f"[DB] Database ready at: {DB_PATH}")if __name__ == "__main__": main()Reference: https://qdrant.tech/documentation/edge/shard.optimize() is not optional. Without this call, Qdrant Edge performs a brute-force linear scan across all stored vectors for every query. On 150 vectors the difference is invisible ~ 0.3ms either way. If you ever scale this to 5,000 reference images (adding new classes, more negative examples, environment-specific images), the unoptimized scan jumps to 40ms+ per query, which blows your per-frame latency budget entirely. optimize() builds the HNSW (Hierarchical Navigable Small World) index structure that makes approximate nearest-neighbor search sub-millisecond at any reasonable scale.The optimize() call builds the HNSW index structure. This structure is a highly efficient graph that enables approximate nearest-neighbor search (ANN).HNSW is the primary indexing algorithm to enable fast and efficient vector searches. At its core, HNSW builds a multi-layered graph structure where the top layers contain fewer points with longer-range shortcuts and the bottom layer contains all data points with short-range connections. When a query is made, the search starts at the top layer to quickly navigate to the general vicinity of the target vector and then zooms in through the layers to find the exact nearest neighbors. This approach effectively balances the trade-off between search speed (latency) and accuracy (recall), making it ideal for high-dimensional production environments.Terminal output from 02_build_vectordb.py showing CLIP embedding and Qdrant Edge upsert progress across 370 reference imagesScript 3 — The Live Inference Loop (03_run_inference.py)This is the operational heart of the system. It does four things in a tight loop: extract frames from the video source via an ffmpeg subprocess, embed each frame with CLIP, query Qdrant Edge for the nearest neighbor, and apply temporal smoothing before deciding whether to fire an alert. Each of these four responsibilities is worth understanding individually.Why is ffmpeg piped to stdout instead of OpenCV’s VideoCapture? OpenCV’s VideoCapture decodes frames into BGR numpy arrays, which then need a BGR→RGB conversion before CLIP can process them. Piping raw RGB24 bytes from ffmpeg skips that conversion entirely and removes the OpenCV dependency from the hot inference path. The imageio_ffmpeg library bundles the ffmpeg binary itself, so there is no system-level install required which matters enormously for cross-platform deployment on Windows factory PCs.# Script: 03_run_inference.py# Purpose: Live fire/smoke detection loop# Prerequisites: 01 and 02 must have run; video_source.mp4 present in project root# Input: Video file (any container ffmpeg supports: mp4, avi, rtsp stream URL)# Output: Per-frame log lines + WARNING alerts when temporal threshold is crossedimport loggingimport timefrom collections import dequefrom pathlib import Pathimport ffmpegimport imageio_ffmpegfrom PIL import Imagefrom sentence_transformers import SentenceTransformerfrom qdrant_edge import EdgeShard, SearchRequest, QueryBASE_DIR = Path(__file__).resolve().parent.parentMODEL_PATH = BASE_DIR / "models" / "local_clip_model"DB_PATH = BASE_DIR / "qdrant_edge_db"VIDEO_SOURCE = BASE_DIR / "video_source.mp4"LOG_PATH = BASE_DIR / "alerts.log"FFMPEG_BIN = imageio_ffmpeg.get_ffmpeg_exe() # Bundled binary — no system install neededSIMILARITY_THRESHOLD = 0.75 # Tune this per environment (see tuning section below)ALERT_LABELS = {"fire", "smoke"}FRAME_WIDTH = 640FRAME_HEIGHT = 480FPS = 5FRAME_BYTES = FRAME_WIDTH * FRAME_HEIGHT * 3 # rgb24 = 921,600 bytes/frame# Temporal smoothing: only alert when SMOOTH_HITS of last SMOOTH_WINDOW frames agreeSMOOTH_WINDOW = 5 # At 5 FPS, this is a 1-second rolling windowSMOOTH_HITS = 3 # 3 out of 5 frames must agree — 60% consensus requireddef start_ffmpeg(video_path: str): """ Build the ffmpeg subprocess pipeline. The fps=5 filter normalizes any source FPS to exactly 5 frames per second, which means a 30 FPS source discards 25 of every 30 frames before they reach Python — negligible CPU cost, no detection impact for slow-moving events like fire. """ return ( ffmpeg .input(video_path) .filter("fps", fps=FPS) # Normalize to 5 FPS .filter("scale", FRAME_WIDTH, FRAME_HEIGHT) # Resize to 640×480 .output("pipe:", format="rawvideo", pix_fmt="rgb24") # Raw bytes, no encoding overhead .run_async(cmd=FFMPEG_BIN, pipe_stdout=True, quiet=True) )def read_frame(proc) -> Image.Image | None: """Read exactly one frame's worth of raw bytes from the ffmpeg pipe.""" raw = proc.stdout.read(FRAME_BYTES) if len(raw) return None # Stream ended or pipe closed return Image.frombytes("RGB", (FRAME_WIDTH, FRAME_HEIGHT), raw)def detect_one(frame, model, shard): """ Core detection function: embed one frame, find nearest neighbor, return results. Returns: (label, cosine_score, embed_latency_ms, search_latency_ms) """ t0 = time.perf_counter() vec = model.encode(frame).tolist() # CLIP encode: ~260–400ms on CPU t1 = time.perf_counter() res = shard.search(SearchRequest( query=Query.Nearest(vec), limit=1, # We only need the single closest match with_payload=True, # Include the label and file_path in the response )) t2 = time.perf_counter() if not res: return "unknown", 0.0, (t1 - t0) * 1000, (t2 - t1) * 1000 top = res[0] label = (top.payload or {}).get("label", "unknown") return label, top.score, (t1 - t0) * 1000, (t2 - t1) * 1000def main(): logger = setup_logger() # Logs to both terminal and alerts.log simultaneously model = SentenceTransformer(str(MODEL_PATH)) # Load from local path — offline shard = EdgeShard.load(str(DB_PATH / "shard")) # Load the pre-built vector index proc = start_ffmpeg(str(VIDEO_SOURCE)) recent = deque(maxlen=SMOOTH_WINDOW) # Rolling buffer of (label, score) tuples last_alert = None # Tracks last alert — prevents duplicate spam frame_idx = 0 try: while True: frame = read_frame(proc) if frame is None: logger.info("Stream ended.") break label, score, e_ms, s_ms = detect_one(frame, model, shard) recent.append((label, score)) logger.info( f"Frame {frame_idx:05d} | {label: f"embed {e_ms:5.1f}ms | search {s_ms:5.1f}ms" ) # Count how many of the last SMOOTH_WINDOW frames crossed # the similarity threshold for each alert label hits = {} for lbl, sc in recent: if lbl in ALERT_LABELS and sc >= SIMILARITY_THRESHOLD: hits[lbl] = hits.get(lbl, 0) + 1 firing = next((l for l, c in hits.items() if c >= SMOOTH_HITS), None) if firing and firing != last_alert: logger.warning( f"ALERT | Frame {frame_idx:05d} | {firing.upper()} confirmed " f"({hits[firing]}/{len(recent)} frames ≥ {SIMILARITY_THRESHOLD})" ) last_alert = firing elif not firing: last_alert = None # Reset when the window goes quiet frame_idx += 1 except KeyboardInterrupt: logger.info("Stopped by user.") finally: proc.terminate() shard.close()if __name__ == "__main__": main()This code block, 03_run_inference.py, is the operational core of the retrieval-augmented computer vision system, executing the live fire and smoke detection loop. It continuously processes video from a source (like a video file or RTSP stream) by performing four key, low-latency actions per frame: extracting frames via an efficient ffmpeg subprocess, embedding the frame with the locally-loaded CLIP model, querying the pre-built Qdrant Edge vector index for the nearest neighbor, and applying temporal smoothing to confirm an alert.The script is heavily configured to ensure sub-200ms per-frame latency. It uses a fixed FPS of 5 to normalize any video source, and resizes frames to 640x480 to minimize embedding time. Detection is based on the SIMILARITY_THRESHOLD (default 0.75), comparing the frame’s CLIP vector to reference vectors in the database. To prevent false alarms from transient noise, it implements a temporal smoothing mechanism defined by two parameters:SMOOTH_WINDOW (default 5): A rolling buffer of the last 5 frame predictions (representing a 1-second window at 5 FPS).SMOOTH_HITS (default 3): Requires 3 out of 5 frames (60% consensus) to cross the similarity threshold for an alert to be fired.The detect_one function handles the core logic, measuring and logging the embedding latency (around 260–400ms on CPU) and the sub-millisecond search latency against the Qdrant Edge index. The main loop uses a deque to manage the rolling window and only logs a WARNING alert when the smoothing criteria are met for one of the ALERT_LABELS (set to {“fire”, “smoke”}).Timeline diagram showing temporal smoothing logic: 5-frame rolling window requiring 3 above-threshold detections to trigger a fire/smoke alert.Tuning the System for Your EnvironmentTemporal smoothing is a technique used to reduce false positives in real-time video detection systems. Instead of triggering an alert based on a single frame, the system maintains a rolling window of the most recent predictions (for example, the last 5 frames). An alert is only triggered if a certain number of frames within this window (such as 3 out of 5) consistently detect the target event (like fire or smoke) with high confidence.This approach ensures that brief glitches, noise, or momentary misclassifications do not cause unnecessary alarms. Only sustained, consistent evidence across multiple frames will trigger a detection alert, making the system more robust and reliable for real-world industrial environments.The four parameters that govern detection behavior have specific, non-obvious interactions that are worth understanding before you touch them.Parameter tuning guide diagram showing SIMILARITY_THRESHOLD, SMOOTH_WINDOW, SMOOTH_HITS, and FPS with directional effects.SIMILARITY_THRESHOLD = 0.75 is the most environment-sensitive parameter. In a factory with furnaces that glow orange continuously, 0.75 will generate false positives because furnace glow lands in the 0.72–0.78 similarity range for fire reference images. In that environment, raise the threshold to 0.82 and add 10–15 images of the specific furnace glow to your none/ class. Rebuild the index (8 minutes) and re-test before adjusting anything else.SMOOTH_WINDOW = 5 at FPS = 5 gives you a 1-second decision window. If your application needs faster alerts, say an automated suppression system rather than a human notification system, then reduce to SMOOTH_WINDOW = 3, SMOOTH_HITS = 2. You will get 400ms alerts at the cost of slightly higher sensitivity to transient noise.ConclusionThe interesting part of this project is not that it detects fire.Hundreds of systems already do that.The interesting part is that the pipeline avoids the entire retraining loop that usually dominates industrial computer vision deployments. No dataset annotation cycles. No GPU fine-tuning sessions. No shipping new model weights every time the factory environment changes slightly.Instead, the system treats fire detection as a retrieval problem.A frame enters the pipeline. CLIP converts it into semantic space. Qdrant Edge searches for the closest known visual pattern. The nearest neighbor determines the decision.That architectural shift changes the operational economics completely.The final system runs fully offline, requires no GPU, processes live video on low-end hardware, and adapts to new environments simply by updating reference images instead of retraining models. For using the same system, the repository already contains the prepared dataset structure and the local Qdrant Edge shard workflow, making deployment possible on almost any system ranging from low-end factory PCs to portable edge devices with minimal setup.For edge AI workloads where reliability, portability, and deployment simplicity matter more than benchmark perfection, retrieval-based vision pipelines are no longer an experiment.They are becoming the practical alternative.Repository and Full ImplementationThe complete implementation, dataset structure and deployment, the scripts are available here:Fire Detection Qdrant Edge RepositoryThe repository includes:Offline CLIP model setupQdrant Edge vector index creationLive inference pipelineTemporal smoothing logicffmpeg-based frame streamingFully local deployment workflowClone it, replace the reference dataset with your own industrial environment, and rebuild the vector index — and the system is ready to run fully offline on edge hardware.ReferencesQdrant Edge DocumentationQdrant Vector Search ConceptsQdrant on-device EmbeddingsLet’s Connect!LinkedIn: pruthil-prajapatiEmail: GmailGitHub: Pruthil-2910Fire Detection Without Training a Model? Edge RAG Does It Better was originally published in Towards AI on Medium, where people are continuing the conversation by highlighting and responding to this story.