Can't set up alerts for video through the interface

Please provide the following information when creating a topic:

  • Hardware Platform (GPU model and numbers)
    8 * H20
  • System Memory
    1TB
  • Ubuntu Version
    rhel9.4
  • NVIDIA GPU Driver Version (valid for GPU only)
    gpu operator→25.3.0, driver→570.124.06
  • Issue Type( questions, new requirements, bugs)
    questions

The API documentation only provides instructions for adding alerts to video streams and does not support inputting the ID of a video file.

We’ll analize this issue. Could you try to use our python_client to add the alert event?

I used the python_client to make the call, but still encountered the same issue as when calling through the API.

We can only support the alert event though the summarize API currently.

python3 via_client_cli.py summarize --id de0e04bc-b007-4967-9cad-28f48a02c126 --model vila-1.5 \
   --chunk-duration 10 --summary-duration 60 \
   --prompt "You are a warehouse monitoring system. Describe the events in this warehouse and look for any anomalies. Start and end each sentence with a time stamp." \
   --caption-summarization-prompt "Summarize similar captions that are sequential to one another, while maintaining the details of each caption, in the format start_time:end_time:caption. The output should be bullet points in the format start_time:end_time: detailed_event_description." \
   --summary-aggregation-prompt "Aggregate captions in the format start_time:end_time:caption based on whether captions are related to one another or create a continuous scene. The output should only be bullet points in the format start_time:end_time: detailed_event_description. " \
   --alert "safety-issues:workers not wearing safety equipment" \
   --enable-chat --stream

I tested with the command above, but I got an error.
Here is the command:

  python via_client_cli.py summarize --id c16e5a96-0e2c-4927-b42e-43838109b38e --model nvila --chunk-duration 10 --summary-duration 60 --prompt "Identify the behavior of vehicles changing from one lane to another in the traffic video, driving over white or yellow solid lines during the process. Focus on the lane-changing process, including the periods before, during, and after the lane change. Please provide the vehicle's characteristic information (including the vehicle's color, license plate number, and other features) and the time when the event occurred." --alert "A vehicle changes from one lane to another, driving over a white or yellow solid line during the process" --enable-chat --stream

Here is the error:

Failed to parse alert 'A vehicle changes from one lane to another, driving over a white or yellow solid line during the process'

Calls through APIs will also result in errors :

Please correctly set the format of the alert like below. “<alert name>:<event>”

--alert "safety-issues:workers not wearing safety equipment"

It’s okay to use it by command, but how do I use it through an API?

You can only use that through the summarize API like below.

I need to set up an alert, but the summarize interface provided by the API does not provide the relevant parameters of alart.

Currently, we only support the method of adding alert events through the python_client.
We will release some alert-related APIs in the next version. Please stay tuned for our updates. Thanks.