Hello,
I created this model: NZ Crime Analysis - a Hugging Face Space by GeloBuzz
I provided this model the NZ Crime Count from Jan 2021 to June 2024.
I want my model to broaden the search outside if it cannot find the Area or Suburb in the dataset.
For example: The user asks for the crime count in “Hillcrest” for 2023. Hillcrest is not in the dataset so I need the AI to look under which city HIllcrest is and provide data for that city. In this example Hillcrest is in Auckland.
I added this prompt message but it is not working:
- When a user asks for information about a specific location that isn’t available in the “Territorial Authority” or “Area Unit” columns of your dataset dataset, try to find a broader category or related area.
For example, if the user asks for ‘Glenfield’ and it is not in the dataset, identify that ‘Glenfield’ is a suburb in ‘Auckland’ and provide data for ‘Auckland’.
Always look up the broader location or related category when the specific item isn’t found in your dataset.