Documentation
Everything you need to build real-time applications with Fluxtalai.
Quick Start
Get up and running with Fluxtalai in under 5 minutes.
API Reference
Complete API documentation with examples and SDKs.
Guides
Step-by-step tutorials for common use cases.
Concepts
Learn the core concepts behind real-time streaming.
Quick Example
Here is how easy it is to get started with real-time predictions:
app.ts
import { Fluxtalai } from '@fluxtalai/sdk'
const client = new Fluxtalai({
apiKey: process.env.FLUXTALAI_API_KEY
})
// Create a real-time stream
const stream = client.createStream('user-events')
// Process events as they arrive
stream.on('event', async (event) => {
const prediction = await client.predict({
model: 'churn-predictor',
data: event.payload
})
if (prediction.score > 0.8) {
await client.alert('high-churn-risk', event)
}
})Resources
Additional resources to help you succeed.