Spaces:
Runtime error
Runtime error
DylanonWic
commited on
Commit
•
3a6ff6b
1
Parent(s):
a2109a5
Upload 18 files
Browse files- chatbot_multiagent.ipynb +483 -259
- chatbot_multiagent.py +1 -1
- prompt.py +9 -14
- tools.py +8 -9
chatbot_multiagent.ipynb
CHANGED
@@ -274,466 +274,690 @@
|
|
274 |
"==================================\u001b[1m Ai Message \u001b[0m==================================\n",
|
275 |
"Name: analyst\n",
|
276 |
"Tool Calls:\n",
|
277 |
-
"
|
278 |
-
" Call ID:
|
279 |
" Args:\n",
|
280 |
-
"
|
281 |
-
"
|
282 |
-
" Call ID:
|
283 |
" Args:\n",
|
284 |
-
"
|
285 |
"=================================\u001b[1m Tool Message \u001b[0m=================================\n",
|
286 |
-
"Name:
|
287 |
"\n",
|
288 |
-
"
|
|
|
|
|
|
|
|
|
289 |
"\n",
|
290 |
-
" address: 163, 25 Soi Phetchaburi 5, Thung Phaya Thai, Ratchathewi\n",
|
291 |
"\n",
|
292 |
-
"
|
|
|
|
|
|
|
|
|
293 |
"\n",
|
294 |
-
" lacation_name: ร้านค้า พรรณี\n",
|
295 |
"\n",
|
296 |
-
"
|
|
|
|
|
|
|
|
|
297 |
"\n",
|
298 |
-
" rating: 5\n",
|
299 |
"\n",
|
300 |
-
"
|
|
|
|
|
|
|
|
|
301 |
"\n",
|
302 |
"\n",
|
303 |
-
"
|
304 |
-
"
|
|
|
|
|
|
|
305 |
"\n",
|
306 |
-
" location: {'lat': 13.7642431, 'lng': 100.539397}\n",
|
307 |
"\n",
|
308 |
-
"
|
|
|
|
|
|
|
|
|
309 |
"\n",
|
310 |
-
" opening hours: {'open_now': True}\n",
|
311 |
"\n",
|
312 |
-
"
|
|
|
|
|
|
|
|
|
313 |
"\n",
|
314 |
-
" plus code: 7P52QG7Q+MQ\n",
|
315 |
"\n",
|
|
|
|
|
|
|
|
|
|
|
316 |
"\n",
|
317 |
-
" \n",
|
318 |
-
" address: สมใจอพาร์ทเม้นท์ 184/4 Soi Phahon Yothin 1, Phaya Thai\n",
|
319 |
"\n",
|
320 |
-
"
|
|
|
|
|
|
|
|
|
321 |
"\n",
|
322 |
-
" lacation_name: ขายของ\n",
|
323 |
"\n",
|
324 |
-
"
|
|
|
|
|
|
|
|
|
325 |
"\n",
|
326 |
-
" rating: 4.5\n",
|
327 |
"\n",
|
328 |
-
"
|
|
|
|
|
|
|
|
|
329 |
"\n",
|
330 |
"\n",
|
331 |
-
"
|
332 |
-
"
|
|
|
|
|
|
|
333 |
"\n",
|
334 |
-
" location: {'lat': 13.7631408, 'lng': 100.5455863}\n",
|
335 |
"\n",
|
336 |
-
"
|
|
|
|
|
|
|
|
|
337 |
"\n",
|
338 |
-
" opening hours: {'open_now': True}\n",
|
339 |
"\n",
|
340 |
-
"
|
|
|
|
|
|
|
|
|
341 |
"\n",
|
342 |
-
" plus code: 7P52QG7W+76\n",
|
343 |
"\n",
|
|
|
|
|
|
|
|
|
|
|
344 |
"\n",
|
345 |
-
" \n",
|
346 |
-
" address: 140/6 Ratchawithi Rd, Phaya Thai\n",
|
347 |
"\n",
|
348 |
-
"
|
|
|
|
|
|
|
|
|
349 |
"\n",
|
350 |
-
" lacation_name: ร้านแอมโชห่วย\n",
|
351 |
"\n",
|
352 |
-
"
|
|
|
|
|
|
|
|
|
353 |
"\n",
|
354 |
-
" rating: 5\n",
|
355 |
"\n",
|
356 |
-
"
|
|
|
|
|
|
|
|
|
357 |
"\n",
|
358 |
"\n",
|
359 |
-
"
|
360 |
-
"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
361 |
"\n",
|
362 |
-
"
|
|
|
|
|
|
|
|
|
363 |
"\n",
|
364 |
-
" lacation_name: ร้านชำคุณภาวิมล\n",
|
365 |
"\n",
|
366 |
-
"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
367 |
"\n",
|
368 |
-
"
|
369 |
"\n",
|
370 |
-
"
|
371 |
"\n",
|
|
|
372 |
"\n",
|
373 |
-
" \n",
|
374 |
-
" address: 292 Takhe Alley, Din Daeng\n",
|
375 |
"\n",
|
376 |
-
"
|
377 |
"\n",
|
378 |
-
" lacation_name: ร้านนุสรา\n",
|
379 |
"\n",
|
380 |
-
"
|
|
|
381 |
"\n",
|
382 |
-
"
|
383 |
"\n",
|
384 |
-
"
|
385 |
"\n",
|
|
|
386 |
"\n",
|
387 |
-
" \n",
|
388 |
-
" address: เลขที่ 475 Phaya Thai Rd, Khwaeng Thanon Phaya Thai, Ratchathewi\n",
|
389 |
"\n",
|
390 |
-
"
|
|
|
391 |
"\n",
|
392 |
-
" lacation_name:
|
393 |
"\n",
|
394 |
" opening hours: {'open_now': True}\n",
|
395 |
"\n",
|
396 |
-
" rating:
|
397 |
-
"\n",
|
398 |
-
" plus code: 7P52QG5P+87\n",
|
399 |
"\n",
|
400 |
"\n",
|
401 |
" \n",
|
402 |
-
" address:
|
403 |
"\n",
|
404 |
-
"
|
405 |
"\n",
|
406 |
-
"
|
407 |
"\n",
|
408 |
-
"
|
409 |
"\n",
|
410 |
-
" rating: 0\n",
|
411 |
"\n",
|
412 |
-
"
|
|
|
|
|
|
|
413 |
"\n",
|
|
|
414 |
"\n",
|
415 |
-
" \n",
|
416 |
-
" address: Satsana Alley, Phaya Thai\n",
|
417 |
"\n",
|
418 |
-
" location: {'lat': 13.7752298, 'lng': 100.5344783}\n",
|
419 |
"\n",
|
420 |
-
"
|
|
|
421 |
"\n",
|
422 |
-
"
|
423 |
"\n",
|
424 |
-
"
|
425 |
"\n",
|
426 |
-
"
|
427 |
"\n",
|
428 |
"\n",
|
429 |
" \n",
|
430 |
-
" address:
|
431 |
"\n",
|
432 |
-
"
|
433 |
-
"\n",
|
434 |
-
" lacation_name: โชคดีพานิช\n",
|
435 |
"\n",
|
436 |
" opening hours: {'open_now': True}\n",
|
437 |
"\n",
|
438 |
-
" rating: 3\n",
|
439 |
-
"\n",
|
440 |
-
" plus code: N/A\n",
|
441 |
"\n",
|
442 |
"\n",
|
443 |
" \n",
|
444 |
-
" address:
|
|
|
|
|
|
|
|
|
|
|
|
|
445 |
"\n",
|
446 |
-
" location: {'lat': 13.7622819, 'lng': 100.5456102}\n",
|
447 |
"\n",
|
448 |
-
"
|
|
|
|
|
|
|
449 |
"\n",
|
450 |
" opening hours: {'open_now': True}\n",
|
451 |
"\n",
|
452 |
" rating: 0\n",
|
453 |
"\n",
|
454 |
-
"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
455 |
"\n",
|
456 |
"\n",
|
457 |
" \n",
|
458 |
-
" address:
|
459 |
"\n",
|
460 |
-
"
|
461 |
"\n",
|
462 |
-
"
|
463 |
"\n",
|
464 |
-
"
|
465 |
"\n",
|
466 |
-
" rating: 4.1\n",
|
467 |
"\n",
|
468 |
-
"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
469 |
"\n",
|
470 |
"\n",
|
471 |
" \n",
|
472 |
-
" address:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
473 |
"\n",
|
474 |
-
"
|
|
|
475 |
"\n",
|
476 |
-
" lacation_name:
|
477 |
"\n",
|
478 |
" opening hours: {'open_now': True}\n",
|
479 |
"\n",
|
480 |
" rating: 0\n",
|
481 |
"\n",
|
482 |
-
" plus code: 7P52QG3J+XG\n",
|
483 |
-
"\n",
|
484 |
"\n",
|
485 |
" \n",
|
486 |
-
" address:
|
487 |
-
"\n",
|
488 |
-
" location: {'lat': 13.7564122, 'lng': 100.5303184}\n",
|
489 |
"\n",
|
490 |
-
" lacation_name:
|
491 |
"\n",
|
492 |
" opening hours: N/A\n",
|
493 |
"\n",
|
494 |
" rating: 0\n",
|
495 |
"\n",
|
496 |
-
" plus code: 7P52QG4J+H4\n",
|
497 |
-
"\n",
|
498 |
"\n",
|
499 |
" \n",
|
500 |
-
" address:
|
501 |
-
"\n",
|
502 |
-
" location: {'lat': 13.7607492, 'lng': 100.5437717}\n",
|
503 |
"\n",
|
504 |
-
" lacation_name:
|
505 |
"\n",
|
506 |
" opening hours: {'open_now': True}\n",
|
507 |
"\n",
|
508 |
-
" rating:
|
509 |
-
"\n",
|
510 |
-
" plus code: N/A\n",
|
511 |
"\n",
|
512 |
"\n",
|
513 |
" \n",
|
514 |
-
" address:
|
515 |
"\n",
|
516 |
-
"
|
517 |
-
"\n",
|
518 |
-
" lacation_name: อนิรุช มินิมาร์ท\n",
|
519 |
"\n",
|
520 |
" opening hours: {'open_now': True}\n",
|
521 |
"\n",
|
522 |
-
" rating:
|
|
|
|
|
|
|
|
|
|
|
|
|
523 |
"\n",
|
524 |
-
"
|
|
|
|
|
525 |
"\n",
|
526 |
"\n",
|
527 |
" \n",
|
528 |
-
" address:
|
529 |
"\n",
|
530 |
-
"
|
531 |
"\n",
|
532 |
-
"
|
533 |
"\n",
|
534 |
-
"
|
535 |
"\n",
|
536 |
-
" rating: 0\n",
|
537 |
"\n",
|
538 |
-
"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
539 |
"\n",
|
540 |
"\n",
|
541 |
" \n",
|
542 |
"==================================\u001b[1m Ai Message \u001b[0m==================================\n",
|
543 |
-
"Name:
|
544 |
-
"\n",
|
545 |
-
"I have gathered information about grocery stores (ร้านของชำ) near the Victory Monument (อนุสาวรีย์ชัยสมรภูมิ). Here are some of the notable results:\n",
|
546 |
-
"\n",
|
547 |
-
"1. **ร้านของชำ 1**\n",
|
548 |
-
" - **Address:** 163, 25 Soi Phetchaburi 5, Thung Phaya Thai, Ratchathewi\n",
|
549 |
-
" - **Location:** Latitude 13.7575211, Longitude 100.5284703\n",
|
550 |
-
" - **Rating:** 5\n",
|
551 |
-
" - **Open Now:** Yes\n",
|
552 |
-
"\n",
|
553 |
-
"2. **ร้านของชำ 2**\n",
|
554 |
-
" - **Address:** 467 1 Ratchawithi Rd, Thanon Phaya Thai, Ratchathewi\n",
|
555 |
-
" - **Location:** Latitude 13.7642431, Longitude 100.539397\n",
|
556 |
-
" - **Rating:** 4\n",
|
557 |
-
" - **Open Now:** Yes\n",
|
558 |
-
"\n",
|
559 |
-
"3. **ร้านของชำ 3**\n",
|
560 |
-
" - **Address:** 184/4 Soi Phahon Yothin 1, Phaya Thai\n",
|
561 |
-
" - **Location:** Latitude 13.7698885, Longitude 100.5358358\n",
|
562 |
-
" - **Rating:** 4.5\n",
|
563 |
-
" - **Open Now:** Yes\n",
|
564 |
-
"\n",
|
565 |
-
"4. **ร้านของชำ 4**\n",
|
566 |
-
" - **Address:** 476 Thanon Asok - Din Daeng, Din Daeng\n",
|
567 |
-
" - **Location:** Latitude 13.7631408, Longitude 100.5455863\n",
|
568 |
-
" - **Rating:** 4.4\n",
|
569 |
-
" - **Open Now:** Yes\n",
|
570 |
-
"\n",
|
571 |
-
"5. **ร้านของชำ 5**\n",
|
572 |
-
" - **Address:** 140/6 Ratchawithi Rd, Phaya Thai\n",
|
573 |
-
" - **Location:** Latitude 13.7708078, Longitude 100.5345492\n",
|
574 |
-
" - **Rating:** 5\n",
|
575 |
-
" - **Open Now:** Yes\n",
|
576 |
-
"\n",
|
577 |
-
"There are a total of 18 grocery stores found in the vicinity.\n",
|
578 |
-
"\n",
|
579 |
-
"Next, I will need to gather demographic data regarding the population in the area surrounding the Victory Monument to analyze the business opportunity further. Please hold on while I collect that information.\n",
|
580 |
"Tool Calls:\n",
|
581 |
-
" google_places (
|
582 |
-
" Call ID:
|
583 |
" Args:\n",
|
584 |
-
" query:
|
585 |
"=================================\u001b[1m Tool Message \u001b[0m=================================\n",
|
586 |
"Name: google_places\n",
|
587 |
"\n",
|
588 |
-
"1.
|
589 |
-
"Address:
|
590 |
-
"Google place ID:
|
591 |
"Phone: Unknown\n",
|
592 |
-
"Website:
|
593 |
"\n",
|
594 |
"\n",
|
595 |
-
"2.
|
596 |
-
"Address:
|
597 |
-
"Google place ID:
|
598 |
"Phone: Unknown\n",
|
599 |
-
"Website:
|
600 |
"\n",
|
601 |
"\n",
|
602 |
-
"3.
|
603 |
-
"Address:
|
604 |
-
"Google place ID:
|
605 |
"Phone: Unknown\n",
|
606 |
"Website: Unknown\n",
|
607 |
"\n",
|
608 |
"\n",
|
609 |
-
"4.
|
610 |
-
"Address:
|
611 |
-
"Google place ID:
|
612 |
"Phone: Unknown\n",
|
613 |
"Website: Unknown\n",
|
614 |
"\n",
|
615 |
"\n",
|
616 |
-
"5.
|
617 |
-
"Address:
|
618 |
-
"Google place ID:
|
619 |
"Phone: Unknown\n",
|
620 |
"Website: Unknown\n",
|
621 |
"\n",
|
622 |
"\n",
|
623 |
-
"6.
|
624 |
-
"Address:
|
625 |
-
"Google place ID:
|
626 |
-
"Phone:
|
627 |
-
"Website:
|
628 |
"\n",
|
629 |
"\n",
|
630 |
-
"7.
|
631 |
-
"Address:
|
632 |
-
"Google place ID:
|
633 |
-
"Phone:
|
634 |
"Website: Unknown\n",
|
635 |
"\n",
|
636 |
"\n",
|
637 |
-
"8.
|
638 |
-
"Address:
|
639 |
-
"Google place ID:
|
640 |
"Phone: Unknown\n",
|
641 |
"Website: Unknown\n",
|
642 |
"\n",
|
643 |
"\n",
|
644 |
-
"9.
|
645 |
-
"Address:
|
646 |
-
"Google place ID:
|
647 |
-
"Phone:
|
648 |
-
"Website:
|
649 |
"\n",
|
650 |
"\n",
|
651 |
-
"10.
|
652 |
-
"Address:
|
653 |
-
"Google place ID:
|
654 |
"Phone: Unknown\n",
|
655 |
-
"Website:
|
656 |
"\n",
|
657 |
"\n",
|
658 |
-
"
|
659 |
-
"
|
660 |
-
"Google place ID: ChIJ8825fLKe4jAR4OhUee1Kyfc\n",
|
661 |
-
"Phone: Unknown\n",
|
662 |
-
"Website: Unknown\n",
|
663 |
-
"\n",
|
664 |
"\n",
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
665 |
"==================================\u001b[1m Ai Message \u001b[0m==================================\n",
|
666 |
-
"Name:
|
667 |
"\n",
|
668 |
-
"
|
669 |
"\n",
|
670 |
-
"###
|
671 |
-
"1. **ร้านของชำ 1**\n",
|
672 |
-
" - **Address:** 163, 25 Soi Phetchaburi 5, Thung Phaya Thai, Ratchathewi\n",
|
673 |
-
" - **Rating:** 5\n",
|
674 |
-
" - **Open Now:** Yes\n",
|
675 |
"\n",
|
676 |
-
"
|
677 |
-
"
|
678 |
-
" - **Rating:** 4\n",
|
679 |
-
" - **Open Now:** Yes\n",
|
680 |
"\n",
|
681 |
-
"
|
682 |
-
"
|
683 |
-
" - **Rating
|
684 |
-
" - **Open Now
|
685 |
"\n",
|
686 |
-
"
|
687 |
-
" - **
|
688 |
-
" - **
|
689 |
-
" - **Open Now:** Yes\n",
|
690 |
"\n",
|
691 |
-
"
|
692 |
-
" - **
|
693 |
-
" - **
|
694 |
-
" - **Open Now:** Yes\n",
|
695 |
"\n",
|
696 |
-
"
|
697 |
-
"
|
|
|
698 |
"\n",
|
699 |
-
"
|
700 |
-
"
|
701 |
-
"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
702 |
"\n",
|
703 |
-
"
|
|
|
|
|
704 |
"\n",
|
705 |
-
"
|
706 |
-
"
|
707 |
-
"
|
708 |
-
" - **Rating:** 5\n",
|
709 |
-
" - **Open Now:** Yes\n",
|
710 |
"\n",
|
711 |
-
"
|
712 |
-
"
|
713 |
-
"
|
714 |
-
" - **Open Now:** Yes\n",
|
715 |
"\n",
|
716 |
-
"
|
717 |
-
"
|
718 |
-
"
|
719 |
-
" - **Open Now:** Yes\n",
|
720 |
"\n",
|
721 |
-
"
|
722 |
-
"
|
723 |
-
"
|
724 |
-
" - **Open Now:** Yes\n",
|
725 |
"\n",
|
726 |
-
"
|
727 |
-
"
|
728 |
-
"
|
729 |
-
"
|
730 |
"\n",
|
731 |
-
"
|
732 |
]
|
733 |
}
|
734 |
],
|
735 |
"source": [
|
736 |
-
"# question = \"
|
737 |
"\n",
|
738 |
"# graph = workflow.compile()\n",
|
739 |
"\n",
|
|
|
274 |
"==================================\u001b[1m Ai Message \u001b[0m==================================\n",
|
275 |
"Name: analyst\n",
|
276 |
"Tool Calls:\n",
|
277 |
+
" google_places (call_81AeKm81mGnKIVPQMqY6B3os)\n",
|
278 |
+
" Call ID: call_81AeKm81mGnKIVPQMqY6B3os\n",
|
279 |
" Args:\n",
|
280 |
+
" query: ตลาดจตุจักร\n",
|
281 |
+
" nearby_search (call_xofWhjOlNKMDTm4DM70iBM0X)\n",
|
282 |
+
" Call ID: call_xofWhjOlNKMDTm4DM70iBM0X\n",
|
283 |
" Args:\n",
|
284 |
+
" input_dict: {'keyword': 'bakery', 'location_name': 'ตลาดจตุจักร', 'radius': 500, 'place_type': 'bakery'}\n",
|
285 |
"=================================\u001b[1m Tool Message \u001b[0m=================================\n",
|
286 |
+
"Name: google_places\n",
|
287 |
"\n",
|
288 |
+
"1. Chatuchak Weekend Market\n",
|
289 |
+
"Address: 587, 10 Kamphaeng Phet 2 Rd, Khwaeng Chatuchak, Khet Chatuchak, Krung Thep Maha Nakhon 10900, Thailand\n",
|
290 |
+
"Google place ID: ChIJ3fiD6BSc4jARS324hNeR8ZE\n",
|
291 |
+
"Phone: Unknown\n",
|
292 |
+
"Website: https://www.chatuchakmarket.org/\n",
|
293 |
"\n",
|
|
|
294 |
"\n",
|
295 |
+
"2. Chatuchak Market 2 (Mueang Min)\n",
|
296 |
+
"Address: Min Buri, Bangkok 10510, Thailand\n",
|
297 |
+
"Google place ID: ChIJc0wng_hlHTER4F1VFEBu9R0\n",
|
298 |
+
"Phone: 02 518 2062\n",
|
299 |
+
"Website: https://m.facebook.com/pg/%E0%B8%95%E0%B8%A5%E0%B8%B2%E0%B8%94%E0%B8%99%E0%B8%B1%E0%B8%94%E0%B8%88%E0%B8%95%E0%B8%B8%E0%B8%88%E0%B8%B1%E0%B8%81%E0%B8%A3-%E0%B9%92-%E0%B9%80%E0%B8%A1%E0%B8%B7%E0%B8%AD%E0%B8%87%E0%B8%A1%E0%B8%B5%E0%B8%99-679468482225340/posts/\n",
|
300 |
"\n",
|
|
|
301 |
"\n",
|
302 |
+
"3. Jatujak Plaza\n",
|
303 |
+
"Address: 599 Kamphaeng Phet 2 Rd, Khwaeng Chatuchak, Khet Chatuchak, Krung Thep Maha Nakhon 10900, Thailand\n",
|
304 |
+
"Google place ID: ChIJz9JH_RSc4jARPvh8LMgxS5Q\n",
|
305 |
+
"Phone: 02 265 9684\n",
|
306 |
+
"Website: Unknown\n",
|
307 |
"\n",
|
|
|
308 |
"\n",
|
309 |
+
"4. ตลาดปลาจตุจักร\n",
|
310 |
+
"Address: ติดกับ เจเจ มอลล์ ออกประตู 2, ถ. กำแพงเพชร 2 แขวงจตุจักร เขตจตุจักร กรุงเทพมหานคร 10900, Thailand\n",
|
311 |
+
"Google place ID: ChIJyVzuMWuc4jARCWF_uACiWe4\n",
|
312 |
+
"Phone: 02 265 9888\n",
|
313 |
+
"Website: https://ตลาดปลาจตุจักร.com/\n",
|
314 |
"\n",
|
315 |
"\n",
|
316 |
+
"5. Chatuchak Weekend Market (Minburi)\n",
|
317 |
+
"Address: มีนบุรี จตุจักร มีนบุรี Khwaeng Min Buri, Khet Min Buri, Krung Thep Maha Nakhon 10510, Thailand\n",
|
318 |
+
"Google place ID: ChIJ0TcXlz1lHTERCZL-6Nw6WBU\n",
|
319 |
+
"Phone: 098 446 3597\n",
|
320 |
+
"Website: Unknown\n",
|
321 |
"\n",
|
|
|
322 |
"\n",
|
323 |
+
"6. Or Tor Kor Market\n",
|
324 |
+
"Address: 101 Thanon Kamphaeng Phet, Khwaeng Chatuchak, Khet Chatuchak, Krung Thep Maha Nakhon 10900, Thailand\n",
|
325 |
+
"Google place ID: ChIJw4KnHhSc4jARdq9pN389cO8\n",
|
326 |
+
"Phone: 02 279 2080\n",
|
327 |
+
"Website: http://www.mof.or.th/\n",
|
328 |
"\n",
|
|
|
329 |
"\n",
|
330 |
+
"7. JJ Mall Chatuchak\n",
|
331 |
+
"Address: 588 Kamphaeng Phet 2 Rd, Khwaeng Chatuchak, Khet Chatuchak, Krung Thep Maha Nakhon 10900, Thailand\n",
|
332 |
+
"Google place ID: ChIJQ2IA1xSc4jARPUC_qVZP9U4\n",
|
333 |
+
"Phone: 02 265 9999\n",
|
334 |
+
"Website: http://www.jjmall.co.th/\n",
|
335 |
"\n",
|
|
|
336 |
"\n",
|
337 |
+
"8. Chatuchak Flower Market\n",
|
338 |
+
"Address: RH22+956, Thanon Kamphaeng Phet, Khwaeng Chatuchak, Khet Chatuchak, Krung Thep Maha Nakhon 10900, Thailand\n",
|
339 |
+
"Google place ID: ChIJ5a5ULRKc4jARW0oKzuTyMcQ\n",
|
340 |
+
"Phone: Unknown\n",
|
341 |
+
"Website: Unknown\n",
|
342 |
"\n",
|
|
|
|
|
343 |
"\n",
|
344 |
+
"9. Chatuchak Night Market\n",
|
345 |
+
"Address: เลขที่ โครงการ 9 ซอย 13/1 เลขที่ 015 จตุจักร, แขวงจตุจักร เขตจตุจักร กรุงเทพมหานคร 10900, Thailand\n",
|
346 |
+
"Google place ID: ChIJj2r5qFqd4jARN8g-HGfi0U0\n",
|
347 |
+
"Phone: Unknown\n",
|
348 |
+
"Website: https://www.chatuchakmarket.org/\n",
|
349 |
"\n",
|
|
|
350 |
"\n",
|
351 |
+
"10. Mixt Chatuchak\n",
|
352 |
+
"Address: 8 Kamphaeng Phet 3 Rd, Khwaeng Chatuchak, Khet Chatuchak, Krung Thep Maha Nakhon 10900, Thailand\n",
|
353 |
+
"Google place ID: ChIJdZYPAOid4jARV2-4R9rzO-A\n",
|
354 |
+
"Phone: 02 079 4888\n",
|
355 |
+
"Website: http://www.mixtchatuchak.com/\n",
|
356 |
"\n",
|
|
|
357 |
"\n",
|
358 |
+
"11. Chatuchak\n",
|
359 |
+
"Address: Chatuchak, Bangkok 10900, Thailand\n",
|
360 |
+
"Google place ID: ChIJL1rMWl2c4jARQI7iXbIAAQQ\n",
|
361 |
+
"Phone: Unknown\n",
|
362 |
+
"Website: Unknown\n",
|
363 |
"\n",
|
364 |
"\n",
|
365 |
+
"12. Punk Berry Chatuchak Weekend Market\n",
|
366 |
+
"Address: โครงการ3 ซอย44/1 ห้อง180 Khwaeng Chatuchak, จตุจักร Krung Thep Maha Nakhon 10900, Thailand\n",
|
367 |
+
"Google place ID: ChIJyZniAgGd4jARUhi78LZrHEM\n",
|
368 |
+
"Phone: 091 795 4956\n",
|
369 |
+
"Website: https://www.punkberryth.com/\n",
|
370 |
"\n",
|
|
|
371 |
"\n",
|
372 |
+
"13. J. Market\n",
|
373 |
+
"Address: อาคาร J.Market 2137/27 ซอย อมรพันธุ์ แขวง ลาดยาว Khet Chatuchak, Krung Thep Maha Nakhon 10900, Thailand\n",
|
374 |
+
"Google place ID: ChIJdTehduKc4jARbXLUV6mm5kw\n",
|
375 |
+
"Phone: Unknown\n",
|
376 |
+
"Website: Unknown\n",
|
377 |
"\n",
|
|
|
378 |
"\n",
|
379 |
+
"14. Chatuchak Park\n",
|
380 |
+
"Address: Kamphaeng Phet 3 Rd, Khwaeng Chatuchak, Khet Chatuchak, Krung Thep Maha Nakhon 10900, Thailand\n",
|
381 |
+
"Google place ID: ChIJnZuu10Oc4jAR0DkLPbMAAQ8\n",
|
382 |
+
"Phone: Unknown\n",
|
383 |
+
"Website: Unknown\n",
|
384 |
"\n",
|
|
|
385 |
"\n",
|
386 |
+
"15. Train Night Market DanNeramit\n",
|
387 |
+
"Address: Phahon Yothin Rd, Khwaeng Chom Phon, Khet Chatuchak, Krung Thep Maha Nakhon 10900, Thailand\n",
|
388 |
+
"Google place ID: ChIJN6wMZrmd4jARlUCRUDLj41Y\n",
|
389 |
+
"Phone: 098 709 8779\n",
|
390 |
+
"Website: http://www.facebook.com/TrainNightMarket.danneramit\n",
|
391 |
"\n",
|
|
|
|
|
392 |
"\n",
|
393 |
+
"16. JJ Pet Market\n",
|
394 |
+
"Address: Chatuchak, Bangkok 10900, Thailand\n",
|
395 |
+
"Google place ID: ChIJzajYMhWc4jARn4c8OYVuxDg\n",
|
396 |
+
"Phone: Unknown\n",
|
397 |
+
"Website: Unknown\n",
|
398 |
"\n",
|
|
|
399 |
"\n",
|
400 |
+
"17. PTT Farmers' Market\n",
|
401 |
+
"Address: 3 ซอย นิคมรถไฟสาย 1 Khwaeng Chatuchak, Khet Chatuchak, Krung Thep Maha Nakhon 10900, Thailand\n",
|
402 |
+
"Google place ID: ChIJoao4bVyc4jARcIN3FSHqfME\n",
|
403 |
+
"Phone: Unknown\n",
|
404 |
+
"Website: Unknown\n",
|
405 |
"\n",
|
|
|
406 |
"\n",
|
407 |
+
"18. JAPARA @Jatujak Market\n",
|
408 |
+
"Address: Chatuchak Weekend Market (Section 2) Soi 41/1 Room.281-282, ถนน กำแพงเพชร 3 แขวงลาดยาว เขตจตุจักร กรุงเทพมหานคร 10900, Thailand\n",
|
409 |
+
"Google place ID: ChIJBRQuqNyd4jARgvHqttIaTvY\n",
|
410 |
+
"Phone: 089 759 9882\n",
|
411 |
+
"Website: Unknown\n",
|
412 |
"\n",
|
413 |
"\n",
|
414 |
+
"==================================\u001b[1m Ai Message \u001b[0m==================================\n",
|
415 |
+
"Name: analyst\n",
|
416 |
+
"\n",
|
417 |
+
"I have gathered information about bakeries near Chatuchak Market. Here are some of the competitors:\n",
|
418 |
+
"\n",
|
419 |
+
"1. **Sanan Bakery**\n",
|
420 |
+
" - Address: 101 Phahonyothin Rd, Lat Yao, Chatuchak\n",
|
421 |
+
" - Rating: 4.4\n",
|
422 |
+
" - Open Now: Yes\n",
|
423 |
+
"\n",
|
424 |
+
"2. **The Croissant Corner**\n",
|
425 |
+
" - Address: Phahon Yothin 15 Alley, Samsen Nai, Phaya Thai, Chatuchak\n",
|
426 |
+
" - Rating: 4.7\n",
|
427 |
+
" - Open Now: Yes\n",
|
428 |
+
"\n",
|
429 |
+
"3. **Baked With Hearts**\n",
|
430 |
+
" - Address: 485 Phahon Yothin 18/1 Alley, Lane 1, Chom Phon, Chatuchak\n",
|
431 |
+
" - Rating: 4.6\n",
|
432 |
+
" - Open Now: Yes\n",
|
433 |
+
"\n",
|
434 |
+
"4. **JJ Mall One More Bite Japanese Bakery**\n",
|
435 |
+
" - Address: 588 Kamphaeng Phet 2 Rd, Chatuchak\n",
|
436 |
+
" - Rating: 4.9\n",
|
437 |
+
" - Open Now: Yes\n",
|
438 |
+
"\n",
|
439 |
+
"5. **Triple D Bakery @ Chatuchak Market**\n",
|
440 |
+
" - Address: 47 Section 4, Khwaeng Chatuchak, Khet Chatuchak\n",
|
441 |
+
" - Rating: 4.9\n",
|
442 |
+
" - Open Now: No\n",
|
443 |
+
"\n",
|
444 |
+
"6. **Bellinee's Bake & Brew**\n",
|
445 |
+
" - Address: Chatuchak Weekend Market, Khwaeng Chatuchak, Khet Chatuchak\n",
|
446 |
+
" - Rating: 3.9\n",
|
447 |
+
" - Open Now: Yes\n",
|
448 |
+
"\n",
|
449 |
+
"7. **Mom’s FF Cafe & Bakery**\n",
|
450 |
+
" - Address: 356-357, Chatuchak\n",
|
451 |
+
" - Rating: 5\n",
|
452 |
+
" - Open Now: N/A\n",
|
453 |
+
"\n",
|
454 |
+
"8. **Makarong**\n",
|
455 |
+
" - Address: 4 Soi 49/2, Chatuchak\n",
|
456 |
+
" - Rating: 4.9\n",
|
457 |
+
" - Open Now: No\n",
|
458 |
+
"\n",
|
459 |
+
"9. **Wipada Herb Coffee and Bakery**\n",
|
460 |
+
" - Address: 2 Kamphaeng Phet Rd, Chatuchak\n",
|
461 |
+
" - Rating: 0\n",
|
462 |
+
" - Open Now: Yes\n",
|
463 |
+
"\n",
|
464 |
+
"These bakeries vary in their offerings and ratings, which can help you analyze the competitive landscape around Chatuchak Market. If you need more specific insights or additional data, please let me know!\n",
|
465 |
+
"==================================\u001b[1m Ai Message \u001b[0m==================================\n",
|
466 |
+
"Name: data_collector\n",
|
467 |
+
"Tool Calls:\n",
|
468 |
+
" google_places (call_SntxTMhUqEyn5s6gdkAOkGMK)\n",
|
469 |
+
" Call ID: call_SntxTMhUqEyn5s6gdkAOkGMK\n",
|
470 |
+
" Args:\n",
|
471 |
+
" query: Chatuchak Market\n",
|
472 |
+
"=================================\u001b[1m Tool Message \u001b[0m=================================\n",
|
473 |
+
"Name: google_places\n",
|
474 |
"\n",
|
475 |
+
"1. Chatuchak Weekend Market\n",
|
476 |
+
"Address: 587, 10 Kamphaeng Phet 2 Rd, Khwaeng Chatuchak, Khet Chatuchak, Krung Thep Maha Nakhon 10900, Thailand\n",
|
477 |
+
"Google place ID: ChIJ3fiD6BSc4jARS324hNeR8ZE\n",
|
478 |
+
"Phone: Unknown\n",
|
479 |
+
"Website: https://www.chatuchakmarket.org/\n",
|
480 |
"\n",
|
|
|
481 |
"\n",
|
482 |
+
"==================================\u001b[1m Ai Message \u001b[0m==================================\n",
|
483 |
+
"Name: data_collector\n",
|
484 |
+
"Tool Calls:\n",
|
485 |
+
" nearby_search (call_GSWnIwn8QHAalzIJi9Z3Ljhv)\n",
|
486 |
+
" Call ID: call_GSWnIwn8QHAalzIJi9Z3Ljhv\n",
|
487 |
+
" Args:\n",
|
488 |
+
" input_dict: {'keyword': 'bakery', 'location_name': 'Chatuchak Weekend Market', 'radius': 1000, 'place_type': 'bakery'}\n",
|
489 |
+
"=================================\u001b[1m Tool Message \u001b[0m=================================\n",
|
490 |
+
"Name: nearby_search\n",
|
491 |
"\n",
|
492 |
+
"number of results more than 20\n",
|
493 |
"\n",
|
494 |
+
" address: 47 Section 4, Khwaeng Chatuchak, Khet Chatuchak\n",
|
495 |
"\n",
|
496 |
+
" lacation_name: Triple D Bakery @ Chatuchak Market\n",
|
497 |
"\n",
|
498 |
+
" opening hours: {'open_now': False}\n",
|
|
|
499 |
"\n",
|
500 |
+
" rating: 4.9\n",
|
501 |
"\n",
|
|
|
502 |
"\n",
|
503 |
+
" \n",
|
504 |
+
" address: 12/6 Vibhavadi Rangsit Rd, Chom Phon, Chatuchak\n",
|
505 |
"\n",
|
506 |
+
" lacation_name: Bakery by AU\n",
|
507 |
"\n",
|
508 |
+
" opening hours: {'open_now': True}\n",
|
509 |
"\n",
|
510 |
+
" rating: 5\n",
|
511 |
"\n",
|
|
|
|
|
512 |
"\n",
|
513 |
+
" \n",
|
514 |
+
" address: 101 Phahonyothin Rd, Lat Yao, Chatuchak\n",
|
515 |
"\n",
|
516 |
+
" lacation_name: Sanan Bakery\n",
|
517 |
"\n",
|
518 |
" opening hours: {'open_now': True}\n",
|
519 |
"\n",
|
520 |
+
" rating: 4.4\n",
|
|
|
|
|
521 |
"\n",
|
522 |
"\n",
|
523 |
" \n",
|
524 |
+
" address: 485 Phahon Yothin 18/1 Alley, Lane 1, Chom Phon, Chatuchak\n",
|
525 |
"\n",
|
526 |
+
" lacation_name: Baked With Hearts\n",
|
527 |
"\n",
|
528 |
+
" opening hours: {'open_now': True}\n",
|
529 |
"\n",
|
530 |
+
" rating: 4.6\n",
|
531 |
"\n",
|
|
|
532 |
"\n",
|
533 |
+
" \n",
|
534 |
+
" address: อ ตก สามเสน ใน, Phahon Yothin 15 Alley, Samsen Nai, Phaya Thai, Chatuchak\n",
|
535 |
+
"\n",
|
536 |
+
" lacation_name: The Croissant Corner\n",
|
537 |
"\n",
|
538 |
+
" opening hours: {'open_now': True}\n",
|
539 |
"\n",
|
540 |
+
" rating: 4.7\n",
|
|
|
541 |
"\n",
|
|
|
542 |
"\n",
|
543 |
+
" \n",
|
544 |
+
" address: 1493 Phahonyothin Rd, Phaya Thai\n",
|
545 |
"\n",
|
546 |
+
" lacation_name: Morn Loh Hiang Bakery\n",
|
547 |
"\n",
|
548 |
+
" opening hours: {'open_now': True}\n",
|
549 |
"\n",
|
550 |
+
" rating: 4.6\n",
|
551 |
"\n",
|
552 |
"\n",
|
553 |
" \n",
|
554 |
+
" address: 618, 1 Phahonyothin Rd, Samsen Nai, Phaya Thai\n",
|
555 |
"\n",
|
556 |
+
" lacation_name: S&P Big C SaphanKwai\n",
|
|
|
|
|
557 |
"\n",
|
558 |
" opening hours: {'open_now': True}\n",
|
559 |
"\n",
|
560 |
+
" rating: 3.7\n",
|
|
|
|
|
561 |
"\n",
|
562 |
"\n",
|
563 |
" \n",
|
564 |
+
" address: โครงการ 4 ซอย 48/3 Chatuchak\n",
|
565 |
+
"\n",
|
566 |
+
" lacation_name: 3meebakery\n",
|
567 |
+
"\n",
|
568 |
+
" opening hours: {'open_now': False}\n",
|
569 |
+
"\n",
|
570 |
+
" rating: 5\n",
|
571 |
"\n",
|
|
|
572 |
"\n",
|
573 |
+
" \n",
|
574 |
+
" address: เลขที่ 3029\n",
|
575 |
+
"\n",
|
576 |
+
" lacation_name: HUB bakery&souvenirs\n",
|
577 |
"\n",
|
578 |
" opening hours: {'open_now': True}\n",
|
579 |
"\n",
|
580 |
" rating: 0\n",
|
581 |
"\n",
|
582 |
+
"\n",
|
583 |
+
" \n",
|
584 |
+
" address: 1058/104 Phahonyothin Rd, Chom Phon, Chatuchak\n",
|
585 |
+
"\n",
|
586 |
+
" lacation_name: Neighbourhood Toast Shop\n",
|
587 |
+
"\n",
|
588 |
+
" opening hours: {'open_now': True}\n",
|
589 |
+
"\n",
|
590 |
+
" rating: 4\n",
|
591 |
"\n",
|
592 |
"\n",
|
593 |
" \n",
|
594 |
+
" address: 343a Phahonyothin Soi 15, Phaya Thai\n",
|
595 |
"\n",
|
596 |
+
" lacation_name: กล้วยฉาบเตาถ่าน ทำสดๆใหม่ๆ\n",
|
597 |
"\n",
|
598 |
+
" opening hours: {}\n",
|
599 |
"\n",
|
600 |
+
" rating: 5\n",
|
601 |
"\n",
|
|
|
602 |
"\n",
|
603 |
+
" \n",
|
604 |
+
" address: 197/8 Soi Pradipat, Phaya Thai\n",
|
605 |
+
"\n",
|
606 |
+
" lacation_name: Twentyseven Bakery\n",
|
607 |
+
"\n",
|
608 |
+
" opening hours: {'open_now': True}\n",
|
609 |
+
"\n",
|
610 |
+
" rating: 5\n",
|
611 |
"\n",
|
612 |
"\n",
|
613 |
" \n",
|
614 |
+
" address: 170/8-10 ถ.ประดิพัทธ์ แขวงสามเสนใน, Phaya Thai\n",
|
615 |
+
"\n",
|
616 |
+
" lacation_name: Kudsan Bakery & Coffee\n",
|
617 |
+
"\n",
|
618 |
+
" opening hours: {'open_now': False}\n",
|
619 |
+
"\n",
|
620 |
+
" rating: 0\n",
|
621 |
+
"\n",
|
622 |
"\n",
|
623 |
+
" \n",
|
624 |
+
" address: 63/1 Vibhavadi Rangsit 5 Alley, Lane 1-2-2, Chom Phon, Chatuchak\n",
|
625 |
"\n",
|
626 |
+
" lacation_name: Cherpang Bakery Homemade\n",
|
627 |
"\n",
|
628 |
" opening hours: {'open_now': True}\n",
|
629 |
"\n",
|
630 |
" rating: 0\n",
|
631 |
"\n",
|
|
|
|
|
632 |
"\n",
|
633 |
" \n",
|
634 |
+
" address: 311, Chatuchak Weekend Market Zone 23 (Soi 31/3), Kamphaeng Phet 2 Road, Khwaeng Lat Yao, Chatuchak\n",
|
|
|
|
|
635 |
"\n",
|
636 |
+
" lacation_name: กะหรี่ปั๊ป\n",
|
637 |
"\n",
|
638 |
" opening hours: N/A\n",
|
639 |
"\n",
|
640 |
" rating: 0\n",
|
641 |
"\n",
|
|
|
|
|
642 |
"\n",
|
643 |
" \n",
|
644 |
+
" address: เจเจมอลล์ ชั้น 2 588 Kamphaeng Phet 2 Rd, Chatuchak\n",
|
|
|
|
|
645 |
"\n",
|
646 |
+
" lacation_name: JJ Mall One More bite Japanese bakery\n",
|
647 |
"\n",
|
648 |
" opening hours: {'open_now': True}\n",
|
649 |
"\n",
|
650 |
+
" rating: 4.9\n",
|
|
|
|
|
651 |
"\n",
|
652 |
"\n",
|
653 |
" \n",
|
654 |
+
" address: Rd, Khwaeng Chatuchak, แขวง จตุจักร เขต จตุจักร 35 Phahonyothin Rd, Chatuchak\n",
|
655 |
"\n",
|
656 |
+
" lacation_name: S&P BTS หมอชิต\n",
|
|
|
|
|
657 |
"\n",
|
658 |
" opening hours: {'open_now': True}\n",
|
659 |
"\n",
|
660 |
+
" rating: 3\n",
|
661 |
+
"\n",
|
662 |
+
"\n",
|
663 |
+
" \n",
|
664 |
+
" address: องค์การตลาดเพื่อเกษตร แผงที่10/17,10/24 ตลาด อตก Kamphaeng Phet Rd, Chatuchak\n",
|
665 |
+
"\n",
|
666 |
+
" lacation_name: Miss Muay Bakery สาขา ตลาดอ.ต.ก.\n",
|
667 |
"\n",
|
668 |
+
" opening hours: {'open_now': True}\n",
|
669 |
+
"\n",
|
670 |
+
" rating: 3.8\n",
|
671 |
"\n",
|
672 |
"\n",
|
673 |
" \n",
|
674 |
+
" address: Makarong @ตลาดนัดจตุจักร, โครงการ 4 ซอย 49/2 แผง 151, Chatuchak\n",
|
675 |
"\n",
|
676 |
+
" lacation_name: Makarong\n",
|
677 |
"\n",
|
678 |
+
" opening hours: {'open_now': False}\n",
|
679 |
"\n",
|
680 |
+
" rating: 4.9\n",
|
681 |
"\n",
|
|
|
682 |
"\n",
|
683 |
+
" \n",
|
684 |
+
" address: Chatuchak Weekend Market, Khwaeng Chatuchak, Khet Chatuchak\n",
|
685 |
+
"\n",
|
686 |
+
" lacation_name: Bellinee's Bake & Brew ตลาดนัดสวนจตุจักร\n",
|
687 |
+
"\n",
|
688 |
+
" opening hours: {'open_now': True}\n",
|
689 |
+
"\n",
|
690 |
+
" rating: 3.9\n",
|
691 |
"\n",
|
692 |
"\n",
|
693 |
" \n",
|
694 |
"==================================\u001b[1m Ai Message \u001b[0m==================================\n",
|
695 |
+
"Name: data_collector\n",
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
696 |
"Tool Calls:\n",
|
697 |
+
" google_places (call_gAsWvrxC5ir6m7pEva5FUnYh)\n",
|
698 |
+
" Call ID: call_gAsWvrxC5ir6m7pEva5FUnYh\n",
|
699 |
" Args:\n",
|
700 |
+
" query: Chatuchak\n",
|
701 |
"=================================\u001b[1m Tool Message \u001b[0m=================================\n",
|
702 |
"Name: google_places\n",
|
703 |
"\n",
|
704 |
+
"1. Chatuchak Weekend Market\n",
|
705 |
+
"Address: 587, 10 Kamphaeng Phet 2 Rd, Khwaeng Chatuchak, Khet Chatuchak, Krung Thep Maha Nakhon 10900, Thailand\n",
|
706 |
+
"Google place ID: ChIJ3fiD6BSc4jARS324hNeR8ZE\n",
|
707 |
"Phone: Unknown\n",
|
708 |
+
"Website: https://www.chatuchakmarket.org/\n",
|
709 |
"\n",
|
710 |
"\n",
|
711 |
+
"2. Chatuchak\n",
|
712 |
+
"Address: Chatuchak, Bangkok 10900, Thailand\n",
|
713 |
+
"Google place ID: ChIJL1rMWl2c4jARQI7iXbIAAQQ\n",
|
714 |
"Phone: Unknown\n",
|
715 |
+
"Website: Unknown\n",
|
716 |
"\n",
|
717 |
"\n",
|
718 |
+
"3. Chatuchak\n",
|
719 |
+
"Address: Chatuchak, Bangkok 10900, Thailand\n",
|
720 |
+
"Google place ID: ChIJLaxrJfic4jARYE_iXbIAAQM\n",
|
721 |
"Phone: Unknown\n",
|
722 |
"Website: Unknown\n",
|
723 |
"\n",
|
724 |
"\n",
|
725 |
+
"4. Chatuchak\n",
|
726 |
+
"Address: Chatuchak, Bangkok 10900, Thailand\n",
|
727 |
+
"Google place ID: ChIJwU6_rUKc4jARDmkpMHyN3ng\n",
|
728 |
"Phone: Unknown\n",
|
729 |
"Website: Unknown\n",
|
730 |
"\n",
|
731 |
"\n",
|
732 |
+
"5. Chatuchak Park\n",
|
733 |
+
"Address: Kamphaeng Phet 3 Rd, Khwaeng Chatuchak, Khet Chatuchak, Krung Thep Maha Nakhon 10900, Thailand\n",
|
734 |
+
"Google place ID: ChIJnZuu10Oc4jAR0DkLPbMAAQ8\n",
|
735 |
"Phone: Unknown\n",
|
736 |
"Website: Unknown\n",
|
737 |
"\n",
|
738 |
"\n",
|
739 |
+
"6. Mixt Chatuchak\n",
|
740 |
+
"Address: 8 Kamphaeng Phet 3 Rd, Khwaeng Chatuchak, Khet Chatuchak, Krung Thep Maha Nakhon 10900, Thailand\n",
|
741 |
+
"Google place ID: ChIJdZYPAOid4jARV2-4R9rzO-A\n",
|
742 |
+
"Phone: 02 079 4888\n",
|
743 |
+
"Website: http://www.mixtchatuchak.com/\n",
|
744 |
"\n",
|
745 |
"\n",
|
746 |
+
"7. Jatujak Plaza\n",
|
747 |
+
"Address: 599 Kamphaeng Phet 2 Rd, Khwaeng Chatuchak, Khet Chatuchak, Krung Thep Maha Nakhon 10900, Thailand\n",
|
748 |
+
"Google place ID: ChIJz9JH_RSc4jARPvh8LMgxS5Q\n",
|
749 |
+
"Phone: 02 265 9684\n",
|
750 |
"Website: Unknown\n",
|
751 |
"\n",
|
752 |
"\n",
|
753 |
+
"8. Chatuchak\n",
|
754 |
+
"Address: Chatuchak, Bangkok 10900, Thailand\n",
|
755 |
+
"Google place ID: ChIJS4W6Ovic4jAR_UaLaBgO-ws\n",
|
756 |
"Phone: Unknown\n",
|
757 |
"Website: Unknown\n",
|
758 |
"\n",
|
759 |
"\n",
|
760 |
+
"9. JJ Mall Chatuchak\n",
|
761 |
+
"Address: 588 Kamphaeng Phet 2 Rd, Khwaeng Chatuchak, Khet Chatuchak, Krung Thep Maha Nakhon 10900, Thailand\n",
|
762 |
+
"Google place ID: ChIJQ2IA1xSc4jARPUC_qVZP9U4\n",
|
763 |
+
"Phone: 02 265 9999\n",
|
764 |
+
"Website: http://www.jjmall.co.th/\n",
|
765 |
"\n",
|
766 |
"\n",
|
767 |
+
"10. Chatuchak Night Market\n",
|
768 |
+
"Address: เลขที่ โครงการ 9 ซอย 13/1 เลขที่ 015 จตุจักร, แขวงจตุจักร เขตจตุจักร กรุงเทพมหานคร 10900, Thailand\n",
|
769 |
+
"Google place ID: ChIJj2r5qFqd4jARN8g-HGfi0U0\n",
|
770 |
"Phone: Unknown\n",
|
771 |
+
"Website: https://www.chatuchakmarket.org/\n",
|
772 |
"\n",
|
773 |
"\n",
|
774 |
+
"==================================\u001b[1m Ai Message \u001b[0m==================================\n",
|
775 |
+
"Name: data_collector\n",
|
|
|
|
|
|
|
|
|
776 |
"\n",
|
777 |
+
"Here is the analysis of the bakery competitors near Chatuchak Market:\n",
|
778 |
+
"\n",
|
779 |
+
"### Competitors Overview\n",
|
780 |
+
"1. **Triple D Bakery @ Chatuchak Market**\n",
|
781 |
+
" - Address: 47 Section 4, Khwaeng Chatuchak, Khet Chatuchak\n",
|
782 |
+
" - Rating: 4.9\n",
|
783 |
+
" - Open Now: No\n",
|
784 |
+
"\n",
|
785 |
+
"2. **Bakery by AU**\n",
|
786 |
+
" - Address: 12/6 Vibhavadi Rangsit Rd, Chom Phon, Chatuchak\n",
|
787 |
+
" - Rating: 5\n",
|
788 |
+
" - Open Now: Yes\n",
|
789 |
+
"\n",
|
790 |
+
"3. **Sanan Bakery**\n",
|
791 |
+
" - Address: 101 Phahonyothin Rd, Lat Yao, Chatuchak\n",
|
792 |
+
" - Rating: 4.4\n",
|
793 |
+
" - Open Now: Yes\n",
|
794 |
+
"\n",
|
795 |
+
"4. **Baked With Hearts**\n",
|
796 |
+
" - Address: 485 Phahon Yothin 18/1 Alley, Lane 1, Chom Phon, Chatuchak\n",
|
797 |
+
" - Rating: 4.6\n",
|
798 |
+
" - Open Now: Yes\n",
|
799 |
+
"\n",
|
800 |
+
"5. **The Croissant Corner**\n",
|
801 |
+
" - Address: Phahon Yothin 15 Alley, Samsen Nai, Phaya Thai, Chatuchak\n",
|
802 |
+
" - Rating: 4.7\n",
|
803 |
+
" - Open Now: Yes\n",
|
804 |
+
"\n",
|
805 |
+
"6. **Morn Loh Hiang Bakery**\n",
|
806 |
+
" - Address: 1493 Phahonyothin Rd, Phaya Thai\n",
|
807 |
+
" - Rating: 4.6\n",
|
808 |
+
" - Open Now: Yes\n",
|
809 |
+
"\n",
|
810 |
+
"7. **S&P Big C SaphanKwai**\n",
|
811 |
+
" - Address: 618, 1 Phahonyothin Rd, Samsen Nai, Phaya Thai\n",
|
812 |
+
" - Rating: 3.7\n",
|
813 |
+
" - Open Now: Yes\n",
|
814 |
+
"\n",
|
815 |
+
"8. **3meebakery**\n",
|
816 |
+
" - Address: Project 4 Soi 48/3 Chatuchak\n",
|
817 |
+
" - Rating: 5\n",
|
818 |
+
" - Open Now: No\n",
|
819 |
+
"\n",
|
820 |
+
"9. **HUB bakery & souvenirs**\n",
|
821 |
+
" - Address: 3029\n",
|
822 |
+
" - Rating: 0\n",
|
823 |
+
" - Open Now: Yes\n",
|
824 |
+
"\n",
|
825 |
+
"10. **Neighbourhood Toast Shop**\n",
|
826 |
+
" - Address: 1058/104 Phahonyothin Rd, Chom Phon, Chatuchak\n",
|
827 |
+
" - Rating: 4\n",
|
828 |
+
" - Open Now: Yes\n",
|
829 |
+
"\n",
|
830 |
+
"11. **Twentyseven Bakery**\n",
|
831 |
+
" - Address: 197/8 Soi Pradipat, Phaya Thai\n",
|
832 |
+
" - Rating: 5\n",
|
833 |
+
" - Open Now: Yes\n",
|
834 |
+
"\n",
|
835 |
+
"12. **Kudsan Bakery & Coffee**\n",
|
836 |
+
" - Address: 170/8-10 ถ.ประดิพัทธ์ แขวงสามเสนใน, Phaya Thai\n",
|
837 |
+
" - Rating: 0\n",
|
838 |
+
" - Open Now: No\n",
|
839 |
+
"\n",
|
840 |
+
"13. **Cherpang Bakery Homemade**\n",
|
841 |
+
" - Address: 63/1 Vibhavadi Rangsit 5 Alley, Lane 1-2-2, Chom Phon, Chatuchak\n",
|
842 |
+
" - Rating: 0\n",
|
843 |
+
" - Open Now: Yes\n",
|
844 |
+
"\n",
|
845 |
+
"14. **JJ Mall One More Bite Japanese Bakery**\n",
|
846 |
+
" - Address: 588 Kamphaeng Phet 2 Rd, Chatuchak\n",
|
847 |
+
" - Rating: 4.9\n",
|
848 |
+
" - Open Now: Yes\n",
|
849 |
+
"\n",
|
850 |
+
"15. **Miss Muay Bakery**\n",
|
851 |
+
" - Address: Kamphaeng Phet Rd, Chatuchak\n",
|
852 |
+
" - Rating: 3.8\n",
|
853 |
+
" - Open Now: Yes\n",
|
854 |
+
"\n",
|
855 |
+
"16. **Makarong**\n",
|
856 |
+
" - Address: Project 4 Soi 49/2, Chatuchak\n",
|
857 |
+
" - Rating: 4.9\n",
|
858 |
+
" - Open Now: No\n",
|
859 |
+
"\n",
|
860 |
+
"17. **Bellinee's Bake & Brew**\n",
|
861 |
+
" - Address: Chatuchak Weekend Market, Khwaeng Chatuchak, Khet Chatuchak\n",
|
862 |
+
" - Rating: 3.9\n",
|
863 |
+
" - Open Now: Yes\n",
|
864 |
+
"\n",
|
865 |
+
"### Summary\n",
|
866 |
+
"- **Total Competitors**: 17 bakeries found within a 1 km radius of Chatuchak Market.\n",
|
867 |
+
"- **Average Rating**: The ratings of these bakeries range from 0 to 5, with several highly rated options (4.5 and above).\n",
|
868 |
+
"- **Open Status**: Most bakeries are currently open, providing a competitive advantage for customer footfall.\n",
|
869 |
+
"\n",
|
870 |
+
"If you need further analysis or specific data points, please let me know!\n",
|
871 |
"==================================\u001b[1m Ai Message \u001b[0m==================================\n",
|
872 |
+
"Name: reporter\n",
|
873 |
"\n",
|
874 |
+
"FINAL ANSWER\n",
|
875 |
"\n",
|
876 |
+
"### Competitor Analysis of Bakeries Near Chatuchak Market\n",
|
|
|
|
|
|
|
|
|
877 |
"\n",
|
878 |
+
"#### Overview\n",
|
879 |
+
"The analysis of bakeries near Chatuchak Market reveals a competitive landscape with a variety of options for consumers. Here are the key insights:\n",
|
|
|
|
|
880 |
"\n",
|
881 |
+
"#### Competitors\n",
|
882 |
+
"1. **Triple D Bakery @ Chatuchak Market**\n",
|
883 |
+
" - **Rating**: 4.9\n",
|
884 |
+
" - **Open Now**: No\n",
|
885 |
"\n",
|
886 |
+
"2. **Bakery by AU**\n",
|
887 |
+
" - **Rating**: 5\n",
|
888 |
+
" - **Open Now**: Yes\n",
|
|
|
889 |
"\n",
|
890 |
+
"3. **Sanan Bakery**\n",
|
891 |
+
" - **Rating**: 4.4\n",
|
892 |
+
" - **Open Now**: Yes\n",
|
|
|
893 |
"\n",
|
894 |
+
"4. **Baked With Hearts**\n",
|
895 |
+
" - **Rating**: 4.6\n",
|
896 |
+
" - **Open Now**: Yes\n",
|
897 |
"\n",
|
898 |
+
"5. **The Croissant Corner**\n",
|
899 |
+
" - **Rating**: 4.7\n",
|
900 |
+
" - **Open Now**: Yes\n",
|
901 |
+
"\n",
|
902 |
+
"6. **Morn Loh Hiang Bakery**\n",
|
903 |
+
" - **Rating**: 4.6\n",
|
904 |
+
" - **Open Now**: Yes\n",
|
905 |
+
"\n",
|
906 |
+
"7. **S&P Big C SaphanKwai**\n",
|
907 |
+
" - **Rating**: 3.7\n",
|
908 |
+
" - **Open Now**: Yes\n",
|
909 |
+
"\n",
|
910 |
+
"8. **3meebakery**\n",
|
911 |
+
" - **Rating**: 5\n",
|
912 |
+
" - **Open Now**: No\n",
|
913 |
+
"\n",
|
914 |
+
"9. **HUB bakery & souvenirs**\n",
|
915 |
+
" - **Rating**: 0\n",
|
916 |
+
" - **Open Now**: Yes\n",
|
917 |
+
"\n",
|
918 |
+
"10. **Neighbourhood Toast Shop**\n",
|
919 |
+
" - **Rating**: 4\n",
|
920 |
+
" - **Open Now**: Yes\n",
|
921 |
+
"\n",
|
922 |
+
"11. **Twentyseven Bakery**\n",
|
923 |
+
" - **Rating**: 5\n",
|
924 |
+
" - **Open Now**: Yes\n",
|
925 |
+
"\n",
|
926 |
+
"12. **Kudsan Bakery & Coffee**\n",
|
927 |
+
" - **Rating**: 0\n",
|
928 |
+
" - **Open Now**: No\n",
|
929 |
"\n",
|
930 |
+
"13. **Cherpang Bakery Homemade**\n",
|
931 |
+
" - **Rating**: 0\n",
|
932 |
+
" - **Open Now**: Yes\n",
|
933 |
"\n",
|
934 |
+
"14. **JJ Mall One More Bite Japanese Bakery**\n",
|
935 |
+
" - **Rating**: 4.9\n",
|
936 |
+
" - **Open Now**: Yes\n",
|
|
|
|
|
937 |
"\n",
|
938 |
+
"15. **Miss Muay Bakery**\n",
|
939 |
+
" - **Rating**: 3.8\n",
|
940 |
+
" - **Open Now**: Yes\n",
|
|
|
941 |
"\n",
|
942 |
+
"16. **Makarong**\n",
|
943 |
+
" - **Rating**: 4.9\n",
|
944 |
+
" - **Open Now**: No\n",
|
|
|
945 |
"\n",
|
946 |
+
"17. **Bellinee's Bake & Brew**\n",
|
947 |
+
" - **Rating**: 3.9\n",
|
948 |
+
" - **Open Now**: Yes\n",
|
|
|
949 |
"\n",
|
950 |
+
"#### Insights\n",
|
951 |
+
"- **Total Competitors**: 17 bakeries found within a 1 km radius of Chatuchak Market.\n",
|
952 |
+
"- **Average Rating**: The ratings of these bakeries range from 0 to 5, with several highly rated options (4.5 and above).\n",
|
953 |
+
"- **Open Status**: Most bakeries are currently open, providing a competitive advantage for customer footfall.\n",
|
954 |
"\n",
|
955 |
+
"This analysis provides a comprehensive view of the bakery market near Chatuchak Market, highlighting opportunities for differentiation and potential areas for improvement. If you need further insights or specific data points, feel free to ask!\n"
|
956 |
]
|
957 |
}
|
958 |
],
|
959 |
"source": [
|
960 |
+
"# question = \"วิเคราะห์คู่แข่งของร้านเบเกอรี่ใกล้ตลาดจตุจักร\"\n",
|
961 |
"\n",
|
962 |
"# graph = workflow.compile()\n",
|
963 |
"\n",
|
chatbot_multiagent.py
CHANGED
@@ -226,7 +226,7 @@ graph = workflow.compile()
|
|
226 |
# pass
|
227 |
|
228 |
# %%
|
229 |
-
# question = "
|
230 |
|
231 |
# graph = workflow.compile()
|
232 |
|
|
|
226 |
# pass
|
227 |
|
228 |
# %%
|
229 |
+
# question = "วิเคราะห์คู่แข่งของร้านเบเกอรี่ใกล้ตลาดจตุจักร"
|
230 |
|
231 |
# graph = workflow.compile()
|
232 |
|
prompt.py
CHANGED
@@ -1,25 +1,20 @@
|
|
1 |
agent_meta = [
|
2 |
{
|
3 |
"name": "analyst",
|
4 |
-
"prompt": """
|
5 |
-
|
6 |
-
|
7 |
-
Identify the necessary data required for analysis, including information about the place nearby, district or location of the specified place (for competator analysis),
|
8 |
-
and type of community, household expenditures, and population in the district(for market opportunities, and feasibility analysis).
|
9 |
-
Clearly communicate these data requirements to the Data Collector. Additionally keep the converstion in English."""
|
10 |
},
|
11 |
{
|
12 |
"name": "data_collector",
|
13 |
-
"prompt": """
|
14 |
-
|
15 |
-
|
16 |
-
Then send the data to Reporter. Additionally keep the converstion in English."""
|
17 |
},
|
18 |
{
|
19 |
"name": "reporter",
|
20 |
-
"prompt": """
|
21 |
-
|
22 |
-
|
23 |
-
Ensure the report is clear, concise, and delivered in the same language as the user's original request. But it okay if it not have some data povide."""
|
24 |
}
|
25 |
]
|
|
|
1 |
agent_meta = [
|
2 |
{
|
3 |
"name": "analyst",
|
4 |
+
"prompt": """
|
5 |
+
You are the Analyst. Extract the location and keyword (e.g., 'shop', 'coffee shop') from the user’s request and instruct the Data Collector to gather relevant data. Ensure all communication is in English.
|
6 |
+
"""
|
|
|
|
|
|
|
7 |
},
|
8 |
{
|
9 |
"name": "data_collector",
|
10 |
+
"prompt": """
|
11 |
+
You are the Data Collector. Use the tools to gather data on the location and keyword provided by the Analyst. Provide data on the number of competitors, nearby competitors, products, population, community type, household expenditures, and population data. If some data are not povided just assume it. Send the data to the Reporter. Ensure all communication is in English.
|
12 |
+
"""
|
|
|
13 |
},
|
14 |
{
|
15 |
"name": "reporter",
|
16 |
+
"prompt": """
|
17 |
+
You are the Reporter. Organize and analyze the data to generate insights about competitors and market opportunities. Include both numerical and analytical insights. If data is missing, provide a final report based on available information. Ensure you include a descriptive analytical summary at the end.
|
18 |
+
"""
|
|
|
19 |
}
|
20 |
]
|
tools.py
CHANGED
@@ -66,22 +66,21 @@ def nearby_search(input_dict: NearbySearchInput):
|
|
66 |
rating = r.get('rating', 'N/A')
|
67 |
plus_code = r.get('plus_code', {}).get('global_code', 'N/A')
|
68 |
|
69 |
-
strout += f"""
|
70 |
-
address: {address}\n
|
71 |
-
location: {location_info}\n
|
72 |
-
lacation_name: {name}\n
|
73 |
-
opening hours: {opening_hours}\n
|
74 |
-
rating: {rating}\n
|
75 |
-
plus code: {plus_code}\n\n
|
76 |
-
"""
|
77 |
-
|
78 |
# strout += f"""
|
79 |
# address: {address}\n
|
|
|
80 |
# lacation_name: {name}\n
|
81 |
# opening hours: {opening_hours}\n
|
82 |
# rating: {rating}\n
|
83 |
# plus code: {plus_code}\n\n
|
84 |
# """
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
85 |
return strout
|
86 |
|
87 |
|
|
|
66 |
rating = r.get('rating', 'N/A')
|
67 |
plus_code = r.get('plus_code', {}).get('global_code', 'N/A')
|
68 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
69 |
# strout += f"""
|
70 |
# address: {address}\n
|
71 |
+
# location: {location_info}\n
|
72 |
# lacation_name: {name}\n
|
73 |
# opening hours: {opening_hours}\n
|
74 |
# rating: {rating}\n
|
75 |
# plus code: {plus_code}\n\n
|
76 |
# """
|
77 |
+
|
78 |
+
strout += f"""
|
79 |
+
address: {address}\n
|
80 |
+
lacation_name: {name}\n
|
81 |
+
opening hours: {opening_hours}\n
|
82 |
+
rating: {rating}\n\n
|
83 |
+
"""
|
84 |
return strout
|
85 |
|
86 |
|