import SwiftUI
import FoundationModels

@Generable
struct CityResponse: Equatable, Hashable {
   @Guide(description: "The name of the city")
   let city: String
   @Guide(description: "The name of the country the city belongs to")
   let country: String
   @Guide(description: "The main language spoken in the city")
   let language: String
   @Guide(description: "The currency used in the city")
   let currency: String
   @Guide(description: "A list of attractions in the city")
   let attractions: [Attractions]
}
@Generable(description: "Attractions returned by the AttractionsTool")
struct Attractions: Equatable, Hashable {
   @Guide(description: "The name of the attraction returned by AttractionsTool")
   let name: String
   @Guide(description: "The latitude of the attraction returned by AttractionsTool")
   let latitude: Double
   @Guide(description: "The longitude of the attraction returned by AttractionsTool")
   let longitude: Double
}