Partner Solution Hub
DEMO
FactoryPulse — Continuous RAG on Confluent Cloud Streamhouse
FactoryPulse shows Continuous RAG as a live Streamhouse workload on Confluent Cloud — factory exceptions trigger AI-grounded answers that refresh the moment a technician closes a work order, with no nightly index rebuild.
Building Blocks used: data.pipelines data.lakehouse
1 Review use case

Manufacturing operators and maintenance engineers are increasingly reliant on AI assistants to diagnose machine faults, recommend corrective actions, and surface the right procedure at the right moment. The critical limitation of today's RAG deployments is staleness: AI retrieval is only as current as the last scheduled index rebuild, which means a technician's resolution note from this morning is invisible to the model until tonight's batch run. In a fast-moving factory environment — where CNC machines degrade in hours and work-order knowledge must flow immediately to the next shift — that lag creates operational risk.

FactoryPulse solves this by treating enterprise knowledge as a continuous event stream on Confluent Cloud. Machine telemetry, production exceptions, quality events, maintenance work orders, and SOPs all flow through the same Kafka event backbone. Confluent Cloud Flink continuously chunks new documents with ML_RECURSIVE_TEXT_SPLITTER and embeds them with AI_EMBEDDING, writing durable chunk-and-vector records back to a compacted Kafka topic. The FastAPI service rebuilds its retrieval index by replaying that topic, so the moment a technician closes work order WO-11023, the resolution is retrievable without a rebuild. watsonx.ai synthesizes a grounded natural-language answer and the UI returns every evidence chunk so the operator can inspect the grounding path.

The demo targets manufacturing operations managers, maintenance engineers, and IT architects evaluating real-time AI in industrial environments. Confluent Cloud Tableflow optionally materializes factory state and exception topics as Apache Iceberg or Delta Lake tables, connecting the live operational story to the analytical lakehouse for shift comparison, MTTR trending, and predictive model training — all governed by the same Schema Registry that enforces data contracts at every Kafka topic boundary.

Start Here
Watch this short overview
Preview the application
Explore key screens from the demo
2 Try the interactive application
Experience the interactive demo and explore its features. A demo script is provided to help when presenting the application to partners.
Try the demo

Have questions, want a walkthrough or found a bug?

Contact the demo owner for assistance.

Submit a request →
3 Explore how it was built
FactoryPulse is built on Confluent Cloud as the shared event backbone. Machine telemetry, production events, quality results, and maintenance work orders flow into Kafka topics. Two Confluent Cloud Flink jobs run continuously: the operational pipeline (factory_operations.sql) aggregates telemetry into 30-second windows, detects threshold breaches, emits factory.exceptions, and joins telemetry + quality + production into factory.state; the Continuous RAG pipeline (continuous_rag.sql) chunks new knowledge documents with ML_RECURSIVE_TEXT_SPLITTER and embeds them with AI_EMBEDDING, writing durable chunk-and-vector records to rag.knowledge.embeddings. A Python 3.12 / FastAPI service deployed on IBM Cloud Code Engine consumes the embedding topic and maintains a Kafka-replayed retrieval index; when a question arrives it performs cosine-similarity retrieval, optionally calls watsonx.ai for answer synthesis, and returns the answer with evidence chunks to the dependency-free web UI. Schema Registry enforces data contracts at every topic boundary. Tableflow materializes factory.state and factory.exceptions as Apache Iceberg or Delta Lake tables for historical analytics, shift comparison, and model development — without touching the low-latency RAG request path.
Architecture
4 Download and modify with IBM Bob
Download the source code and specifications for this application to set up and run it locally. Once downloaded, open the code in IBM Bob to modify and adapt it to your own use case.