Initialization

Parameters

The DenseCaptioningAgent is initialized with 1 optional argument:
DenseCaptioningAgent(model(Optional))
model
MultimodalLLM
required
The selected model. All supported MultimodalLLM models can be found below:

Example

Here is an example of the DenseCaptioningAgent designed for a Workflow to detect if workers are wearing personal protective equipment (PPE).
example.py
DenseCaptioningAgent(model=Gemini())