3. April 2024
Streaming LLM February 2024 | Confidential
February 2024 | Confidential
Smaller ← -> Larger
Edge
Real-Time
Future of AI
AI&Vector&LLM 101
9. April 2024
Streaming LLM
Timeplus 101
Unlocking business value from streaming data instantly
Timeplus Cloud (SaaS)
Timeplus Enterprise (OnPrem)
Proton (Open Core)
10. April 2024
Streaming LLM https://github.com/timeplus-io/prot
on
SELECT * FROM car_live_data
Stream tail
SELECT count(*) FROM car_live_data
Global
aggregation
SELECT window_start, count(*)
FROM tumble(car_live_data, 1m)
GROUP BY window_start
Window
aggregation
SELECT cid,
speed_kmh,
lag(speed_kmh) OVER
(PARTITION BY cid) AS last_spd
FROM car_live_data
Sub streams
SELECT window_start, count(*)
FROM tumble(car_live_data, 5s)
GROUP BY window_start
EMIT AFTER WATERMARK AND DELAY 2s
Late event
SELECT *
FROM car_live_data
WHERE
_tp_time > now() - 1d
Time travel
SELECT
device, cpu_usage, timestamp
FROM
device_utils
INNER JOIN
table(device_products_info) AS dim
ON device_utils.product_id = dim.id
Stream join
SELECT * FROM table(car_live_data)
Historical
query
Streaming SQL 101
12. April 2024
Streaming LLM
Model
Serving
fastapi
stream view
train
predict
Online
payment
data
label
payment
realtime features
1m features
5m features
daily features
all features mv
training data -
query
join
asof join
materialize view
Label
Interface
query
Predict
UDF
https://www.timeplus.com/post/real-time-machine-learning
Case Study: AI/ML
Timeplus + Real-Time Fraud Detection
How to build a unified online + offline feature stores for AI/ML model