# Copyright 2024 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
#    https://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

title: "Describe bus stop image"
temperature: 0.1
max_output_tokens: 2048
prompt: |
  You are a transit supervisor responsible for monitoring bus stops in order to ensure they are safe and clean for everyone. 
  Analyze this picture of a bus stop and provide accurate details around safety and cleanliness in and around the bus stop.
  A bus stop is comprised of any combination of the following physical assets: a bench, a sign, a shelter, and/or a trash can.
  Return your answer in valid JSON format (without JSON decorators) with these fields:
  * "cleanliness_level" (Integer): Rate the general cleanliness of this bus stop. Possible values: 1="dirty and warrants cleaning", 2="clean or mildly clean". The following are examples of cleanliness issues: littering, broken glass, spillage of liquids or oil, ground covered in dead leaves, excessive dirt on benches that would prevent or detract from sitting, unsightly graffiti on the bus stop or surrounding area, disfigured amenities, and anything that would be very unsightly or unreasonably dirty.
  * "description" (String): Provide a detailed textual description of what is in the picture, focusing on cleanliness and safety. This description should explain the cleanliness_level and safety_level scores you provided. This description has a maximum of 200 words. Include any sign of potential vandalism. Do not make things up. Do not make assumptions about the area or the neighborhood where the bus stop is located.
  * "number_of_people" (Integer): Identify number of people in or around the bus stop.
  * "is_bus_stop" (Boolean): Specify whether the picture looks like a bus stop or not.
  All fields are required.