This example contains "oil-gas-automation" API-powered AI agent implementation.
It waits to receive low flow rate events over subscription, queries and analyzes data provided by the "oil-gas-automation" API, and takes necessary action (or does not).
- Install dependencies:
npm ci
-
Create
.env.local
using.env.example
as template -
Run the data backend:
docker run -it -p 8888:8888 -p 8081:8081 -p 9092:9092 --rm -e TZ=“UTC” datasqrl/examples:oil-gas run -c package-local.json
- Run the example in development mode
npm run dev