Spaces:
Sleeping
Sleeping
File size: 28,640 Bytes
bfa95ad | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 | {
"info": {
"name": "Talk2Map API",
"_postman_id": "a5f3f9f0-9e1e-47aa-9f5c-1f0c1a1e0001",
"description": "Postman collection for Talk2Map (MapMate) API including bbox-only chat flow.",
"schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json"
},
"item": [
{
"name": "Health",
"request": {
"method": "GET",
"header": [],
"url": {
"raw": "{{baseUrl}}/health",
"host": [
"{{baseUrl}}"
],
"path": [
"health"
]
}
},
"response": [
{
"name": "200 OK",
"originalRequest": {
"method": "GET",
"header": [],
"url": {
"raw": "{{baseUrl}}/health",
"host": [
"{{baseUrl}}"
],
"path": [
"health"
]
}
},
"status": "OK",
"code": 200,
"_postman_previewlanguage": "json",
"header": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"body": "{\n \"status\": \"ok\"\n}"
}
]
},
{
"name": "Chat \u2014 With Places (Hotels in Chennai)",
"request": {
"method": "POST",
"header": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"body": {
"mode": "raw",
"raw": "{\n \"user_input\": \"best 2 hotel in chennai\",\n \"conversation_history\": [\n {\n \"human\": \"hello\",\n \"ai\": \"hello sir\"\n }\n ],\n \"bounding_box\": {\n \"north_east\": {\n \"lat\": 13.2,\n \"lon\": 80.4\n },\n \"south_west\": {\n \"lat\": 12.8,\n \"lon\": 80.1\n }\n }\n}"
},
"url": {
"raw": "{{baseUrl}}/chat",
"host": [
"{{baseUrl}}"
],
"path": [
"chat"
]
},
"description": "Calls /chat and expects places array (top 2 hotels in Chennai)."
},
"response": [
{
"name": "200 OK (example)",
"originalRequest": {
"method": "POST",
"header": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"body": {
"mode": "raw",
"raw": "{\n \"user_input\": \"best 2 hotel in chennai\",\n \"conversation_history\": [\n {\n \"human\": \"hello\",\n \"ai\": \"hello sir\"\n }\n ],\n \"bounding_box\": {\n \"north_east\": {\n \"lat\": 13.2,\n \"lon\": 80.4\n },\n \"south_west\": {\n \"lat\": 12.8,\n \"lon\": 80.1\n }\n }\n}"
},
"url": {
"raw": "{{baseUrl}}/chat",
"host": [
"{{baseUrl}}"
],
"path": [
"chat"
]
}
},
"status": "OK",
"code": 200,
"_postman_previewlanguage": "json",
"header": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"body": "{\n \"agent_reply\": {\n \"message\": \"1. ITC Grand Chola, a Luxury Collection Hotel, Chennai \\u2014 63, Mount Rd, Little Mount, Guindy, Chennai, Tamil Nadu 600032 (4.7 \\u2605, 41869 Reviews, Maps URL)\\n lat,lng: 13.010613, 80.2206015\\n SW: (13.009167, 80.219515), NE: (13.011865, 80.222213)\\n\\n2. The Leela Palace Chennai - Seaside Modern Palace Hotel \\u2014 Adyar Sea Face, Leela Palace Rd, MRC Nagar, Raja Annamalai Puram, Chennai, Tamil Nadu 600028 (4.6 \\u2605, 15418 Reviews, Maps URL)\\n lat,lng: 13.017048, 80.2736566\\n SW: (13.016065, 80.271977), NE: (13.018762, 80.274675)\",\n \"places\": [\n {\n \"name\": \"ITC Grand Chola, a Luxury Collection Hotel, Chennai\",\n \"address\": \"63, Mount Rd, Little Mount, Guindy, Chennai, Tamil Nadu 600032\",\n \"latitude\": 13.010613,\n \"longitude\": 80.2206015,\n \"bounding_box\": {\n \"north_east\": {\n \"lat\": 13.011865130291502,\n \"lon\": 80.2222132802915\n },\n \"south_west\": {\n \"lat\": 13.009167169708498,\n \"lon\": 80.21951531970849\n }\n },\n \"rating\": 4.7,\n \"user_rating_count\": 41869,\n \"maps_url\": \"https://maps.google.com/?cid=17494736093121177155&g_mp=Cidnb29nbGUubWFwcy5wbGFjZXMudjEuUGxhY2VzLlNlYXJjaFRleHQQABgEIAA\"\n },\n {\n \"name\": \"The Leela Palace Chennai - Seaside Modern Palace Hotel\",\n \"address\": \"Adyar Sea Face, Leela Palace Rd, MRC Nagar, Raja Annamalai Puram, Chennai, Tamil Nadu 600028\",\n \"latitude\": 13.017048,\n \"longitude\": 80.2736566,\n \"bounding_box\": {\n \"north_east\": {\n \"lat\": 13.018762480291501,\n \"lon\": 80.2746746802915\n },\n \"south_west\": {\n \"lat\": 13.016064519708497,\n \"lon\": 80.27197671970849\n }\n },\n \"rating\": 4.6,\n \"user_rating_count\": 15418,\n \"maps_url\": \"https://maps.google.com/?cid=7374804035710576015&g_mp=Cidnb29nbGUubWFwcy5wbGFjZXMudjEuUGxhY2VzLlNlYXJjaFRleHQQABgEIAA\"\n }\n ]\n },\n \"conversation_history\": [\n {\n \"human\": \"hello\",\n \"ai\": \"hello sir\"\n },\n {\n \"human\": \"best 2 hotel in chennai\",\n \"ai\": {\n \"message\": \"1. ITC Grand Chola, a Luxury Collection Hotel, Chennai \\u2014 63, Mount Rd, Little Mount, Guindy, Chennai, Tamil Nadu 600032 (4.7 \\u2605, 41869 Reviews, Maps URL)\\n lat,lng: 13.010613, 80.2206015\\n SW: (13.009167, 80.219515), NE: (13.011865, 80.222213)\\n\\n2. The Leela Palace Chennai - Seaside Modern Palace Hotel \\u2014 Adyar Sea Face, Leela Palace Rd, MRC Nagar, Raja Annamalai Puram, Chennai, Tamil Nadu 600028 (4.6 \\u2605, 15418 Reviews, Maps URL)\\n lat,lng: 13.017048, 80.2736566\\n SW: (13.016065, 80.271977), NE: (13.018762, 80.274675)\",\n \"places\": [\n {\n \"name\": \"ITC Grand Chola, a Luxury Collection Hotel, Chennai\",\n \"address\": \"63, Mount Rd, Little Mount, Guindy, Chennai, Tamil Nadu 600032\",\n \"latitude\": 13.010613,\n \"longitude\": 80.2206015,\n \"bounding_box\": {\n \"north_east\": {\n \"lat\": 13.011865130291502,\n \"lon\": 80.2222132802915\n },\n \"south_west\": {\n \"lat\": 13.009167169708498,\n \"lon\": 80.21951531970849\n }\n },\n \"rating\": 4.7,\n \"user_rating_count\": 41869,\n \"maps_url\": \"https://maps.google.com/?cid=17494736093121177155&g_mp=Cidnb29nbGUubWFwcy5wbGFjZXMudjEuUGxhY2VzLlNlYXJjaFRleHQQABgEIAA\"\n },\n {\n \"name\": \"The Leela Palace Chennai - Seaside Modern Palace Hotel\",\n \"address\": \"Adyar Sea Face, Leela Palace Rd, MRC Nagar, Raja Annamalai Puram, Chennai, Tamil Nadu 600028\",\n \"latitude\": 13.017048,\n \"longitude\": 80.2736566,\n \"bounding_box\": {\n \"north_east\": {\n \"lat\": 13.018762480291501,\n \"lon\": 80.2746746802915\n },\n \"south_west\": {\n \"lat\": 13.016064519708497,\n \"lon\": 80.27197671970849\n }\n },\n \"rating\": 4.6,\n \"user_rating_count\": 15418,\n \"maps_url\": \"https://maps.google.com/?cid=7374804035710576015&g_mp=Cidnb29nbGUubWFwcy5wbGFjZXMudjEuUGxhY2VzLlNlYXJjaFRleHQQABgEIAA\"\n }\n ]\n }\n }\n ]\n}"
}
]
},
{
"name": "Chat \u2014 No Places (General Knowledge)",
"request": {
"method": "POST",
"header": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"body": {
"mode": "raw",
"raw": "{\n \"user_input\": \"What is the capital of India?\",\n \"conversation_history\": [\n {\n \"human\": \"hello\",\n \"ai\": \"hello sir\"\n }\n ],\n \"bounding_box\": {\n \"north_east\": {\n \"lat\": 28.8,\n \"lon\": 77.5\n },\n \"south_west\": {\n \"lat\": 28.4,\n \"lon\": 77.0\n }\n }\n}"
},
"url": {
"raw": "{{baseUrl}}/chat",
"host": [
"{{baseUrl}}"
],
"path": [
"chat"
]
},
"description": "Calls /chat for a general question where no Places data is expected."
},
"response": [
{
"name": "200 OK (example)",
"originalRequest": {
"method": "POST",
"header": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"body": {
"mode": "raw",
"raw": "{\n \"user_input\": \"What is the capital of India?\",\n \"conversation_history\": [\n {\n \"human\": \"hello\",\n \"ai\": \"hello sir\"\n }\n ],\n \"bounding_box\": {\n \"north_east\": {\n \"lat\": 28.8,\n \"lon\": 77.5\n },\n \"south_west\": {\n \"lat\": 28.4,\n \"lon\": 77.0\n }\n }\n}"
},
"url": {
"raw": "{{baseUrl}}/chat",
"host": [
"{{baseUrl}}"
],
"path": [
"chat"
]
}
},
"status": "OK",
"code": 200,
"_postman_previewlanguage": "json",
"header": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"body": "{\n \"agent_reply\": {\n \"message\": \"The capital of India is New Delhi.\",\n \"places\": []\n },\n \"conversation_history\": [\n {\n \"human\": \"hello\",\n \"ai\": \"hello sir\"\n },\n {\n \"human\": \"What is the capital of India?\",\n \"ai\": {\n \"message\": \"The capital of India is New Delhi.\",\n \"places\": []\n }\n }\n ]\n}"
}
]
},
{
"name": "Chat \u2014 Lat/Lng for ITC Grand Chola (contextual)",
"request": {
"method": "POST",
"header": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"body": {
"mode": "raw",
"raw": "{\n \"user_input\": \"give me the lat and lan of ITC Grand Chola\",\n \"conversation_history\": [\n {\n \"human\": \"hello\",\n \"ai\": \"hello sir\"\n },\n {\n \"human\": \"best 2 hotel in chennai\",\n \"ai\": {\n \"message\": \"1. ITC Grand Chola, a Luxury Collection Hotel, Chennai \\u2014 63, Mount Rd, Little Mount, Guindy, Chennai, Tamil Nadu 600032 (4.7 \\u2605, 41869 Reviews, Maps URL)\\n lat,lng: 13.010613, 80.2206015\\n SW: (13.009167, 80.219515), NE: (13.011865, 80.222213)\\n\\n2. The Leela Palace Chennai - Seaside Modern Palace Hotel \\u2014 Adyar Sea Face, Leela Palace Rd, MRC Nagar, Raja Annamalai Puram, Chennai, Tamil Nadu 600028 (4.6 \\u2605, 15418 Reviews, Maps URL)\\n lat,lng: 13.017048, 80.2736566\\n SW: (13.016065, 80.271977), NE: (13.018762, 80.274675)\",\n \"places\": [\n {\n \"name\": \"ITC Grand Chola, a Luxury Collection Hotel, Chennai\",\n \"address\": \"63, Mount Rd, Little Mount, Guindy, Chennai, Tamil Nadu 600032\",\n \"latitude\": 13.010613,\n \"longitude\": 80.2206015,\n \"bounding_box\": {\n \"north_east\": {\n \"lat\": 13.011865130291502,\n \"lon\": 80.2222132802915\n },\n \"south_west\": {\n \"lat\": 13.009167169708498,\n \"lon\": 80.21951531970849\n }\n },\n \"rating\": 4.7,\n \"user_rating_count\": 41869,\n \"maps_url\": \"https://maps.google.com/?cid=17494736093121177155&g_mp=Cidnb29nbGUubWFwcy5wbGFjZXMudjEuUGxhY2VzLlNlYXJjaFRleHQQABgEIAA\"\n },\n {\n \"name\": \"The Leela Palace Chennai - Seaside Modern Palace Hotel\",\n \"address\": \"Adyar Sea Face, Leela Palace Rd, MRC Nagar, Raja Annamalai Puram, Chennai, Tamil Nadu 600028\",\n \"latitude\": 13.017048,\n \"longitude\": 80.2736566,\n \"bounding_box\": {\n \"north_east\": {\n \"lat\": 13.018762480291501,\n \"lon\": 80.2746746802915\n },\n \"south_west\": {\n \"lat\": 13.016064519708497,\n \"lon\": 80.27197671970849\n }\n },\n \"rating\": 4.6,\n \"user_rating_count\": 15418,\n \"maps_url\": \"https://maps.google.com/?cid=7374804035710576015&g_mp=Cidnb29nbGUubWFwcy5wbGFjZXMudjEuUGxhY2VzLlNlYXJjaFRleHQQABgEIAA\"\n }\n ]\n }\n }\n ],\n \"bounding_box\": {\n \"north_east\": {\n \"lat\": 13.012,\n \"lon\": 80.225\n },\n \"south_west\": {\n \"lat\": 13.009,\n \"lon\": 80.218\n }\n }\n}"
},
"url": {
"raw": "{{baseUrl}}/chat",
"host": [
"{{baseUrl}}"
],
"path": [
"chat"
]
},
"description": "Follow-up asking for latitude/longitude using prior context."
},
"response": [
{
"name": "200 OK (example)",
"originalRequest": {
"method": "POST",
"header": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"body": {
"mode": "raw",
"raw": "{\n \"user_input\": \"give me the lat and lan of ITC Grand Chola\",\n \"conversation_history\": [\n {\n \"human\": \"hello\",\n \"ai\": \"hello sir\"\n },\n {\n \"human\": \"best 2 hotel in chennai\",\n \"ai\": {\n \"message\": \"1. ITC Grand Chola, a Luxury Collection Hotel, Chennai \\u2014 63, Mount Rd, Little Mount, Guindy, Chennai, Tamil Nadu 600032 (4.7 \\u2605, 41869 Reviews, Maps URL)\\n lat,lng: 13.010613, 80.2206015\\n SW: (13.009167, 80.219515), NE: (13.011865, 80.222213)\\n\\n2. The Leela Palace Chennai - Seaside Modern Palace Hotel \\u2014 Adyar Sea Face, Leela Palace Rd, MRC Nagar, Raja Annamalai Puram, Chennai, Tamil Nadu 600028 (4.6 \\u2605, 15418 Reviews, Maps URL)\\n lat,lng: 13.017048, 80.2736566\\n SW: (13.016065, 80.271977), NE: (13.018762, 80.274675)\",\n \"places\": [\n {\n \"name\": \"ITC Grand Chola, a Luxury Collection Hotel, Chennai\",\n \"address\": \"63, Mount Rd, Little Mount, Guindy, Chennai, Tamil Nadu 600032\",\n \"latitude\": 13.010613,\n \"longitude\": 80.2206015,\n \"bounding_box\": {\n \"north_east\": {\n \"lat\": 13.011865130291502,\n \"lon\": 80.2222132802915\n },\n \"south_west\": {\n \"lat\": 13.009167169708498,\n \"lon\": 80.21951531970849\n }\n },\n \"rating\": 4.7,\n \"user_rating_count\": 41869,\n \"maps_url\": \"https://maps.google.com/?cid=17494736093121177155&g_mp=Cidnb29nbGUubWFwcy5wbGFjZXMudjEuUGxhY2VzLlNlYXJjaFRleHQQABgEIAA\"\n },\n {\n \"name\": \"The Leela Palace Chennai - Seaside Modern Palace Hotel\",\n \"address\": \"Adyar Sea Face, Leela Palace Rd, MRC Nagar, Raja Annamalai Puram, Chennai, Tamil Nadu 600028\",\n \"latitude\": 13.017048,\n \"longitude\": 80.2736566,\n \"bounding_box\": {\n \"north_east\": {\n \"lat\": 13.018762480291501,\n \"lon\": 80.2746746802915\n },\n \"south_west\": {\n \"lat\": 13.016064519708497,\n \"lon\": 80.27197671970849\n }\n },\n \"rating\": 4.6,\n \"user_rating_count\": 15418,\n \"maps_url\": \"https://maps.google.com/?cid=7374804035710576015&g_mp=Cidnb29nbGUubWFwcy5wbGFjZXMudjEuUGxhY2VzLlNlYXJjaFRleHQQABgEIAA\"\n }\n ]\n }\n }\n ]\n}"
},
"url": {
"raw": "{{baseUrl}}/chat",
"host": [
"{{baseUrl}}"
],
"path": [
"chat"
]
}
},
"status": "OK",
"code": 200,
"_postman_previewlanguage": "json",
"header": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"body": "{\n \"agent_reply\": {\n \"message\": \"lat,lng: 13.010613, 80.2206015\",\n \"places\": [\n {\n \"name\": \"ITC Grand Chola, a Luxury Collection Hotel, Chennai\",\n \"address\": \"63, Mount Rd, Little Mount, Guindy, Chennai, Tamil Nadu 600032\",\n \"latitude\": 13.010613,\n \"longitude\": 80.2206015,\n \"bounding_box\": {\n \"north_east\": {\n \"lat\": 13.011865130291502,\n \"lon\": 80.2222132802915\n },\n \"south_west\": {\n \"lat\": 13.009167169708498,\n \"lon\": 80.21951531970849\n }\n },\n \"rating\": 4.7,\n \"user_rating_count\": 41869,\n \"maps_url\": \"https://maps.google.com/?cid=17494736093121177155&g_mp=Cidnb29nbGUubWFwcy5wbGFjZXMudjEuUGxhY2VzLlNlYXJjaFRleHQQABgEIAA\"\n }\n ]\n },\n \"conversation_history\": [\n {\n \"human\": \"hello\",\n \"ai\": \"hello sir\"\n },\n {\n \"human\": \"best 2 hotel in chennai\",\n \"ai\": {\n \"message\": \"1. ITC Grand Chola, a Luxury Collection Hotel, Chennai \\u2014 63, Mount Rd, Little Mount, Guindy, Chennai, Tamil Nadu 600032 (4.7 \\u2605, 41868 Reviews, Maps URL)\\nlat,lng: 13.010613, 80.2206015\\nSW: (13.009167, 80.219515), NE: (13.011865, 80.222213)\\n\\n2. The Leela Palace Chennai - Seaside Modern Palace Hotel \\u2014 Adyar Sea Face, Leela Palace Rd, MRC Nagar, Raja Annamalai Puram, Chennai, Tamil Nadu 600028 (4.6 \\u2605, 15413 Reviews, Maps URL)\\nlat,lng: 13.017048, 80.2736566\\nSW: (13.016065, 80.271977), NE: (13.018762, 80.274675)\",\n \"places\": [\n {\n \"name\": \"ITC Grand Chola, a Luxury Collection Hotel, Chennai\",\n \"address\": \"63, Mount Rd, Little Mount, Guindy, Chennai, Tamil Nadu 600032\",\n \"latitude\": 13.010613,\n \"longitude\": 80.2206015,\n \"bounding_box\": {\n \"north_east\": {\n \"lat\": 13.011865130291502,\n \"lon\": 80.2222132802915\n },\n \"south_west\": {\n \"lat\": 13.009167169708498,\n \"lon\": 80.21951531970849\n }\n },\n \"rating\": 4.7,\n \"user_rating_count\": 41868,\n \"maps_url\": \"https://maps.google.com/?cid=17494736093121177155&g_mp=Cidnb29nbGUubWFwcy5wbGFjZXMudjEuUGxhY2VzLlNlYXJjaFRleHQQABgEIAA\"\n },\n {\n \"name\": \"The Leela Palace Chennai - Seaside Modern Palace Hotel\",\n \"address\": \"Adyar Sea Face, Leela Palace Rd, MRC Nagar, Raja Annamalai Puram, Chennai, Tamil Nadu 600028\",\n \"latitude\": 13.017048,\n \"longitude\": 80.2736566,\n \"bounding_box\": {\n \"north_east\": {\n \"lat\": 13.018762480291501,\n \"lon\": 80.2746746802915\n },\n \"south_west\": {\n \"lat\": 13.016064519708497,\n \"lon\": 80.27197671970849\n }\n },\n \"rating\": 4.6,\n \"user_rating_count\": 15413,\n \"maps_url\": \"https://maps.google.com/?cid=7374804035710576015&g_mp=Cidnb29nbGUubWFwcy5wbGFjZXMudjEuUGxhY2VzLlNlYXJjaFRleHQQABgEIAA\"\n }\n ]\n }\n },\n {\n \"human\": \"give me the lat and lan of ITC Grand Chola\",\n \"ai\": {\n \"message\": \"lat,lng: 13.010613, 80.2206015\",\n \"places\": [\n {\n \"name\": \"ITC Grand Chola, a Luxury Collection Hotel, Chennai\",\n \"address\": \"63, Mount Rd, Little Mount, Guindy, Chennai, Tamil Nadu 600032\",\n \"latitude\": 13.010613,\n \"longitude\": 80.2206015,\n \"bounding_box\": {\n \"north_east\": {\n \"lat\": 13.011865130291502,\n \"lon\": 80.2222132802915\n },\n \"south_west\": {\n \"lat\": 13.009167169708498,\n \"lon\": 80.21951531970849\n }\n },\n \"rating\": 4.7,\n \"user_rating_count\": 41869,\n \"maps_url\": \"https://maps.google.com/?cid=17494736093121177155&g_mp=Cidnb29nbGUubWFwcy5wbGFjZXMudjEuUGxhY2VzLlNlYXJjaFRleHQQABgEIAA\"\n }\n ]\n }\n }\n ]\n}"
}
]
},
{
"name": "Chat \u2014 Bounding Box Only (Places via maptool)",
"request": {
"method": "POST",
"header": [
{
"key": "Content-Type",
"value": "application/json"
},
{
"key": "X-Top-N",
"value": "10",
"description": "Optional cap for results"
}
],
"body": {
"mode": "raw",
"raw": "{\n \"user_input\": \"\",\n \"conversation_history\": [],\n \"bounding_box\": {\n \"north_east\": {\n \"lat\": 13.011865130291502,\n \"lon\": 80.2222132802915\n },\n \"south_west\": {\n \"lat\": 13.009167169708498,\n \"lon\": 80.21951531970849\n }\n }\n}"
},
"url": {
"raw": "{{baseUrl}}/chat",
"host": [
"{{baseUrl}}"
],
"path": [
"chat"
]
},
"description": "Calls /chat with empty user_input and a bounding_box object. The backend skips the agent and queries Google Places via maptool only."
},
"response": [
{
"name": "200 OK (example)",
"originalRequest": {
"method": "POST",
"header": [
{
"key": "Content-Type",
"value": "application/json"
},
{
"key": "X-Top-N",
"value": "10",
"description": "Optional cap for results"
}
],
"body": {
"mode": "raw",
"raw": "{\n \"user_input\": \"\",\n \"conversation_history\": [],\n \"bounding_box\": {\n \"north_east\": {\n \"lat\": 13.011865130291502,\n \"lon\": 80.2222132802915\n },\n \"south_west\": {\n \"lat\": 13.009167169708498,\n \"lon\": 80.21951531970849\n }\n }\n}"
},
"url": {
"raw": "{{baseUrl}}/chat",
"host": [
"{{baseUrl}}"
],
"path": [
"chat"
]
}
},
"status": "OK",
"code": 200,
"_postman_previewlanguage": "json",
"header": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"body": "{\n \"agent_reply\": {\n \"message\": \"Here are notable places in the selected area (NE: 13.011865, 80.222213 | SW: 13.009167, 80.219515):\\n1. ITC Grand Chola, a Luxury Collection Hotel, Chennai \\u2014 63, Mount Rd, Little Mount, Guindy, Chennai, Tamil Nadu 600032 \\u2014 \\u2605 4.7 (41869 reviews) \\u2014 Maps: https://maps.google.com/?cid=17494736093121177155&g_mp=Cidnb29nbGUubWFwcy5wbGFjZXMudjEuUGxhY2VzLlNlYXJjaFRleHQQABgEIAA\",\n \"places\": [\n {\n \"name\": \"ITC Grand Chola, a Luxury Collection Hotel, Chennai\",\n \"address\": \"63, Mount Rd, Little Mount, Guindy, Chennai, Tamil Nadu 600032\",\n \"latitude\": 13.010613,\n \"longitude\": 80.2206015,\n \"bounding_box\": {\n \"north_east\": {\n \"lat\": 13.011865130291502,\n \"lon\": 80.2222132802915\n },\n \"south_west\": {\n \"lat\": 13.009167169708498,\n \"lon\": 80.21951531970849\n }\n },\n \"rating\": 4.7,\n \"user_rating_count\": 41869,\n \"maps_url\": \"https://maps.google.com/?cid=17494736093121177155&g_mp=Cidnb29nbGUubWFwcy5wbGFjZXMudjEuUGxhY2VzLlNlYXJjaFRleHQQABgEIAA\"\n },\n {\n \"name\": \"The Leela Palace Chennai - Seaside Modern Palace Hotel\",\n \"address\": \"Adyar Sea Face, Leela Palace Rd, MRC Nagar, Raja Annamalai Puram, Chennai, Tamil Nadu 600028\",\n \"latitude\": 13.017048,\n \"longitude\": 80.2736566,\n \"bounding_box\": {\n \"north_east\": {\n \"lat\": 13.018762480291501,\n \"lon\": 80.2746746802915\n },\n \"south_west\": {\n \"lat\": 13.016064519708497,\n \"lon\": 80.27197671970849\n }\n },\n \"rating\": 4.6,\n \"user_rating_count\": 15418,\n \"maps_url\": \"https://maps.google.com/?cid=7374804035710576015&g_mp=Cidnb29nbGUubWFwcy5wbGFjZXMudjEuUGxhY2VzLlNlYXJjaFRleHQQABgEIAA\"\n }\n ]\n },\n \"conversation_history\": [\n {\n \"human\": \"\",\n \"ai\": {\n \"message\": \"Here are notable places in the selected area (NE: 13.011865, 80.222213 | SW: 13.009167, 80.219515):\\n1. ITC Grand Chola, a Luxury Collection Hotel, Chennai \\u2014 63, Mount Rd, Little Mount, Guindy, Chennai, Tamil Nadu 600032 \\u2014 \\u2605 4.7 (41869 reviews) \\u2014 Maps: https://maps.google.com/?cid=17494736093121177155&g_mp=Cidnb29nbGUubWFwcy5wbGFjZXMudjEuUGxhY2VzLlNlYXJjaFRleHQQABgEIAA\",\n \"places\": [\n {\n \"name\": \"ITC Grand Chola, a Luxury Collection Hotel, Chennai\",\n \"address\": \"63, Mount Rd, Little Mount, Guindy, Chennai, Tamil Nadu 600032\",\n \"latitude\": 13.010613,\n \"longitude\": 80.2206015,\n \"bounding_box\": {\n \"north_east\": {\n \"lat\": 13.011865130291502,\n \"lon\": 80.2222132802915\n },\n \"south_west\": {\n \"lat\": 13.009167169708498,\n \"lon\": 80.21951531970849\n }\n },\n \"rating\": 4.7,\n \"user_rating_count\": 41869,\n \"maps_url\": \"https://maps.google.com/?cid=17494736093121177155&g_mp=Cidnb29nbGUubWFwcy5wbGFjZXMudjEuUGxhY2VzLlNlYXJjaFRleHQQABgEIAA\"\n },\n {\n \"name\": \"The Leela Palace Chennai - Seaside Modern Palace Hotel\",\n \"address\": \"Adyar Sea Face, Leela Palace Rd, MRC Nagar, Raja Annamalai Puram, Chennai, Tamil Nadu 600028\",\n \"latitude\": 13.017048,\n \"longitude\": 80.2736566,\n \"bounding_box\": {\n \"north_east\": {\n \"lat\": 13.018762480291501,\n \"lon\": 80.2746746802915\n },\n \"south_west\": {\n \"lat\": 13.016064519708497,\n \"lon\": 80.27197671970849\n }\n },\n \"rating\": 4.6,\n \"user_rating_count\": 15418,\n \"maps_url\": \"https://maps.google.com/?cid=7374804035710576015&g_mp=Cidnb29nbGUubWFwcy5wbGFjZXMudjEuUGxhY2VzLlNlYXJjaFRleHQQABgEIAA\"\n }\n ]\n }\n }\n ]\n}"
}
]
}
],
"variable": [
{
"key": "baseUrl",
"value": "https://neurostack-in-talk2map-test.hf.space"
}
]
} |