Documentation

Everything you need to build real-time applications with Fluxtalai.

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)
  }
})
Get Started

Resources

Additional resources to help you succeed.

Need Help?

Can't find what you're looking for? Our team is here to help.

Contact Support