agents:
  - name: chat_agent
    actions:
      - name: increment
        function: org.apache.flink.agents.api.yaml.LoaderTargets:increment
        type: java
        listen_to: [input]
      - name: decrement
        function: org.apache.flink.agents.api.yaml.LoaderTargets:decrement
        type: java
        listen_to: [chat_response]
    chat_model_connections:
      - name: ollama_conn
        clazz: ollama
        type: java
        base_url: http://localhost:11434
        request_timeout: 30
