Spaces:
Sleeping
Sleeping
Download Talk2Map.postman_collection.json from neurostack-in/talk2map-test: direct link, hf CLI and curl.
- Browser
- Download file 28.6 kB
-
https://huggingface.co/spaces/neurostack-in/talk2map-test/resolve/main/Talk2Map.postman_collection.json
- Command line
-
hf download hf://spaces/neurostack-in/talk2map-test/Talk2Map.postman_collection.json
-
curl -L -o Talk2Map.postman_collection.json https://huggingface.co/spaces/neurostack-in/talk2map-test/resolve/main/Talk2Map.postman_collection.json
28.6 kB
| { | |
| "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" | |
| } | |
| ] | |
| } |