memochou1993 / gpt-ai-assistant

OpenAI + LINE + Vercel = GPT AI Assistant
https://memochou1993.github.io/gpt-ai-assistant-docs/
MIT License
7.25k stars 9.36k forks source link

GPT 吐出來的搜尋結果跟 SerpApi 吐回來的資料不一樣 #180

Closed keanuhsieh closed 1 year ago

keanuhsieh commented 1 year ago

image

這是 serpapi 吐出來的jason https://serpapi.com/searches/6188286ca3302b8b/64036321fdca3ed6ff725c53.json

image

memochou1993 commented 1 year ago

@keanuhsieh

感謝回饋。

可以把 JSON 結果都貼上來嗎?

它需要權限,我看不到。

sean284150 commented 1 year ago

我這裡也是這情形。 查詢 iPhone 14

居然跟我講沒有關於iphone 14 得官方消息

memochou1993 commented 1 year ago

為了降低字詞數,目前只取 Google 的第一筆結果,若不巧,第一筆結果沒有相關資訊,AI 可能就會回答不出來。

還是來做一個環境變數,用來自訂要給 AI 的搜尋結果的筆數,覺得如何?

sean284150 commented 1 year ago

可是如果是只取第一筆結果,在查詢iPhone 14時,不應該會寫沒有官方消息。

sean284150 commented 1 year ago

496E2B42-6006-4802-95F8-E053AD0EA46F

sean284150 commented 1 year ago

會不會是因為Vercel 免費用戶只有10秒來不及回傳的關係?

sean284150 commented 1 year ago

會不會是因為Vercel 免費用戶只有10秒來不及回傳的關係?

——更新——— 我試用pro版後,問題還是一樣

keanuhsieh commented 1 year ago

Jason 的結果如下:

{
  "search_metadata": {
    "id": "64036321fdca3ed6ff725c53",
    "status": "Success",
    "json_endpoint": "https://serpapi.com/searches/6188286ca3302b8b/64036321fdca3ed6ff725c53.json",
    "created_at": "2023-03-04 15:26:25 UTC",
    "processed_at": "2023-03-04 15:26:25 UTC",
    "google_url": "https://www.google.com/search?q=+%E5%8F%B0%E4%B8%AD%E5%B8%82%E8%A5%BF%E5%B1%AF%E5%8D%80%E7%9A%84%E7%87%92%E8%82%89%E9%A4%90%E5%BB%B3%EF%BC%9F&oq=+%E5%8F%B0%E4%B8%AD%E5%B8%82%E8%A5%BF%E5%B1%AF%E5%8D%80%E7%9A%84%E7%87%92%E8%82%89%E9%A4%90%E5%BB%B3%EF%BC%9F&uule=w+CAIQICIGVGFpd2Fu&lr=Taiwan&sourceid=chrome&ie=UTF-8",
    "raw_html_file": "https://serpapi.com/searches/6188286ca3302b8b/64036321fdca3ed6ff725c53.html",
    "total_time_taken": 1.1
  },
  "search_parameters": {
    "engine": "google",
    "q": " 台中市西屯區的燒肉餐廳?",
    "location_requested": "Taiwan",
    "location_used": "Taiwan",
    "google_domain": "google.com",
    "lr": "Taiwan",
    "device": "desktop"
  },
  "search_information": {
    "organic_results_state": "Results for exact spelling",
    "query_displayed": "台中市西屯區的燒肉餐廳?",
    "total_results": 3780000,
    "time_taken_displayed": 0.59
  },
  "local_map": {
    "link": "https://www.google.com/search?lr=&tbs=lr:Taiwan&q=%E5%8F%B0%E4%B8%AD%E5%B8%82%E8%A5%BF%E5%B1%AF%E5%8D%80%E7%9A%84%E7%87%92%E8%82%89%E9%A4%90%E5%BB%B3%EF%BC%9F&npsic=0&rflfq=1&rldoc=1&rllag=24176191,120626406,1318&tbm=lcl&sa=X&ved=2ahUKEwjUvJT7ysL9AhXhmWoFHaC8AoMQtgN6BAgZEAE",
    "image": "https://serpapi.com/searches/64036321fdca3ed6ff725c53/images/f97f8338dc1c256de6c81ebb0947664e.png",
    "gps_coordinates": {
      "latitude": 24.176191,
      "longitude": 120.626406,
      "altitude": 1318
    }
  },
  "local_results": {
    "places": [
      {
        "position": 1,
        "title": "燒肉Hot 個人燒肉餐廳|台中中港店",
        "rating": 4.7,
        "reviews_original": "(2.3K)",
        "reviews": 2300,
        "type": "日式燒肉",
        "address": "台灣大道四段988號",
        "hours": "Closed ⋅ Opens 11 AM Sun",
        "description": "Dine-in·Curbside pickup",
        "place_id": "184376881940529439",
        "place_id_search": "https://serpapi.com/search.json?device=desktop&engine=google&google_domain=google.com&location=Taiwan&lr=Taiwan&ludocid=184376881940529439&q=+%E5%8F%B0%E4%B8%AD%E5%B8%82%E8%A5%BF%E5%B1%AF%E5%8D%80%E7%9A%84%E7%87%92%E8%82%89%E9%A4%90%E5%BB%B3%EF%BC%9F&tbm=lcl",
        "lsig": "AB86z5W3oayXW5gai6wWQJ5sBr1q",
        "thumbnail": "https://serpapi.com/searches/64036321fdca3ed6ff725c53/images/674671bbf7c99cea6f6559bd50c567725df1ad8e980cdf760c03cfc13b1fad455d35a96a52121129.jpeg",
        "gps_coordinates": {
          "latitude": 24.182842,
          "longitude": 120.6164
        }
      },
      {
        "position": 2,
        "title": "NikuNiku 肉肉燒肉朝馬店",
        "rating": 4.4,
        "reviews_original": "(2.2K)",
        "reviews": 2200,
        "price": "$$$",
        "type": "日式燒肉",
        "address": "No. 70號, Chaoma Rd",
        "hours": "Closed ⋅ Opens 11:30 AM Sun",
        "description": "Dine-in·Takeout·Delivery",
        "place_id": "5413316396242561154",
        "place_id_search": "https://serpapi.com/search.json?device=desktop&engine=google&google_domain=google.com&location=Taiwan&lr=Taiwan&ludocid=5413316396242561154&q=+%E5%8F%B0%E4%B8%AD%E5%B8%82%E8%A5%BF%E5%B1%AF%E5%8D%80%E7%9A%84%E7%87%92%E8%82%89%E9%A4%90%E5%BB%B3%EF%BC%9F&tbm=lcl",
        "lsig": "AB86z5Ub_HqoCCq7ADINqcFH6MkR",
        "thumbnail": "https://serpapi.com/searches/64036321fdca3ed6ff725c53/images/674671bbf7c99cea6f6559bd50c567729b03a7186023ec01bfd7b20067a7256f64850b796dfcb062.jpeg",
        "gps_coordinates": {
          "latitude": 24.169016,
          "longitude": 120.636635
        }
      },
      {
        "position": 3,
        "title": "燒肉眾精緻炭火燒肉 (台中JMall店)",
        "rating": 4.5,
        "reviews_original": "(2.9K)",
        "reviews": 2900,
        "price": "$$",
        "type": "台灣大道四段1038號",
        "address": "In JMall",
        "hours": "Closed ⋅ Opens 11 AM Sun",
        "description": "Dine-in·No delivery",
        "place_id": "10378059604676025278",
        "place_id_search": "https://serpapi.com/search.json?device=desktop&engine=google&google_domain=google.com&location=Taiwan&lr=Taiwan&ludocid=10378059604676025278&q=+%E5%8F%B0%E4%B8%AD%E5%B8%82%E8%A5%BF%E5%B1%AF%E5%8D%80%E7%9A%84%E7%87%92%E8%82%89%E9%A4%90%E5%BB%B3%EF%BC%9F&tbm=lcl",
        "lsig": "AB86z5U4VONRzj7RvTl2YWScLLiN",
        "thumbnail": "https://serpapi.com/searches/64036321fdca3ed6ff725c53/images/674671bbf7c99cea6f6559bd50c567725de062b1c03519ddd849dd83c77f2bd926ab3cd14d576267.jpeg",
        "gps_coordinates": {
          "latitude": 24.18342,
          "longitude": 120.616104
        }
      }
    ],
    "more_locations_link": "https://www.google.com/search?lr=&tbs=lf:1,lf_ui:9&tbm=lcl&q=%E5%8F%B0%E4%B8%AD%E5%B8%82%E8%A5%BF%E5%B1%AF%E5%8D%80%E7%9A%84%E7%87%92%E8%82%89%E9%A4%90%E5%BB%B3%EF%BC%9F&rflfq=1&num=10&uule=w+CAIQICIGVGFpd2Fu&sa=X&ved=2ahUKEwjUvJT7ysL9AhXhmWoFHaC8AoMQjGp6BAgdEAE"
  },
  "organic_results": [
    {
      "position": 1,
      "title": "台中『西屯區燒烤餐廳』| 精選TOP 15間熱門店家 - 愛食記",
      "link": "https://ifoodie.tw/explore/%E5%8F%B0%E4%B8%AD%E5%B8%82/list/%E8%A5%BF%E5%B1%AF%E5%8D%80%E7%87%92%E7%83%A4",
      "displayed_link": "https://ifoodie.tw › 台中市 › list › 西...",
      "snippet": "台中西屯路燒烤餐廳推薦,台中西屯路燒烤餐廳的最新食記、評價與網友經驗分享: 織田信長串燒酒場, 潼阪帝王蟹黑毛牛頂級燒烤, 屋馬燒肉國安店, 鮮友火鍋, 九牛一鍋, ...",
      "snippet_highlighted_words": [
        "台中西屯",
        "餐廳",
        "台中西屯",
        "餐廳",
        "燒肉"
      ],
      "about_this_result": {
        "source": {
          "description": "ifoodie.tw was first indexed by Google in December 2015",
          "source_info_link": "https://ifoodie.tw/explore/%E5%8F%B0%E4%B8%AD%E5%B8%82/list/%E8%A5%BF%E5%B1%AF%E5%8D%80%E7%87%92%E7%83%A4",
          "security": "secure",
          "icon": "https://serpapi.com/searches/64036321fdca3ed6ff725c53/images/751fed92ecdfbd02a584d2ddd6fd5cc166038715d18623049794dce768c3ed77de1064cf28d5217fea6495d4ca002dfb.png"
        }
      },
      "about_page_link": "https://www.google.com/search?q=About+https://ifoodie.tw/explore/%25E5%258F%25B0%25E4%25B8%25AD%25E5%25B8%2582/list/%25E8%25A5%25BF%25E5%25B1%25AF%25E5%258D%2580%25E7%2587%2592%25E7%2583%25A4&tbm=ilp&ilps=AB_Lh3rdzqlnSymn0dex75l3YzeAZ8x4LQ",
      "about_page_serpapi_link": "https://serpapi.com/search.json?engine=google_about_this_result&google_domain=google.com&ilps=AB_Lh3rdzqlnSymn0dex75l3YzeAZ8x4LQ&q=About+https%3A%2F%2Fifoodie.tw%2Fexplore%2F%25E5%258F%25B0%25E4%25B8%25AD%25E5%25B8%2582%2Flist%2F%25E8%25A5%25BF%25E5%25B1%25AF%25E5%258D%2580%25E7%2587%2592%25E7%2583%25A4",
      "cached_page_link": "https://webcache.googleusercontent.com/search?q=cache:SF4kCsL0sZgJ:https://ifoodie.tw/explore/%25E5%258F%25B0%25E4%25B8%25AD%25E5%25B8%2582/list/%25E8%25A5%25BF%25E5%25B1%25AF%25E5%258D%2580%25E7%2587%2592%25E7%2583%25A4&cd=5&hl=en&ct=clnk&gl=us",
      "rich_snippet_list": [
        "1.柒串燒逢甲店. 4.7. (45則評論)",
        "2.墨妃家燒肉. 4.3. (26則評論)",
        "3.乾杯中港店. 4.2. (6則評論)",
        "4.野安燒烤玉門店. 4.0. (14則評論)",
        "5.潼阪帝王蟹黑毛牛頂級燒烤. 3.2. (43則評論)",
        "6.激旨燒鳥二店. 4.3",
        "7.九牛一鍋. 4.1",
        "8.賴記七里香家味串燒. 4.1"
      ],
      "related_results": [
        {
          "position": 1,
          "title": "台中『西屯路燒烤餐廳』| 精選TOP 15間熱門店家 - 愛食記",
          "link": "https://ifoodie.tw/explore/%E5%8F%B0%E4%B8%AD%E5%B8%82/list/%E8%A5%BF%E5%B1%AF%E8%B7%AF%E7%87%92%E7%83%A4",
          "displayed_link": "https://ifoodie.tw › 台中市 › list › 西...",
          "snippet": "台中西屯路燒烤餐廳推薦,台中西屯路燒烤餐廳的最新食記、評價與網友經驗分享: 織田信長串燒酒場, 潼阪帝王蟹黑毛牛頂級燒烤, 屋馬燒肉國安店, 鮮友火鍋, 九牛一鍋, ...",
          "snippet_highlighted_words": [
            "台中西屯",
            "餐廳",
            "台中西屯",
            "餐廳",
            "燒肉"
          ],
          "about_this_result": {
            "source": {
              "description": "ifoodie.tw was first indexed by Google in December 2015",
              "source_info_link": "https://ifoodie.tw/explore/%E5%8F%B0%E4%B8%AD%E5%B8%82/list/%E8%A5%BF%E5%B1%AF%E8%B7%AF%E7%87%92%E7%83%A4",
              "security": "secure",
              "icon": "https://serpapi.com/searches/64036321fdca3ed6ff725c53/images/751fed92ecdfbd02a584d2ddd6fd5cc1d5a99268d5add8c3d6e75104ec43a6524a8472a1fb0afb15417641d92c2fa0a4b2f8ca3a0387e9291a8fa3ce614a0f74dfa7ce98654298a9.png"
            }
          },
          "about_page_link": "https://www.google.com/search?q=About+https://ifoodie.tw/explore/%25E5%258F%25B0%25E4%25B8%25AD%25E5%25B8%2582/list/%25E8%25A5%25BF%25E5%25B1%25AF%25E8%25B7%25AF%25E7%2587%2592%25E7%2583%25A4&tbm=ilp&ilps=AB_Lh3orFmHIxbi3JaeeIR52UfIqzIeroA",
          "about_page_serpapi_link": "https://serpapi.com/search.json?engine=google_about_this_result&google_domain=google.com&ilps=AB_Lh3orFmHIxbi3JaeeIR52UfIqzIeroA&q=About+https%3A%2F%2Fifoodie.tw%2Fexplore%2F%25E5%258F%25B0%25E4%25B8%25AD%25E5%25B8%2582%2Flist%2F%25E8%25A5%25BF%25E5%25B1%25AF%25E8%25B7%25AF%25E7%2587%2592%25E7%2583%25A4",
          "cached_page_link": "https://webcache.googleusercontent.com/search?q=cache:YD1IFmQGLZ8J:https://ifoodie.tw/explore/%25E5%258F%25B0%25E4%25B8%25AD%25E5%25B8%2582/list/%25E8%25A5%25BF%25E5%25B1%25AF%25E8%25B7%25AF%25E7%2587%2592%25E7%2583%25A4&cd=6&hl=en&ct=clnk&gl=us"
        }
      ]
    },
    {
      "position": 2,
      "title": "Top 10 西屯最佳燒烤餐廳 - Tripadvisor",
      "link": "https://www.tripadvisor.com.tw/Restaurants-g13808534-c6-Xitun_Taichung.html",
      "displayed_link": "https://www.tripadvisor.com.tw › Res...",
      "snippet": "西屯燒烤餐廳Xitun ; 1. 燒肉風間Kazama · 862 則評論 · 燒烤, 亞洲料理$$ - $$$ 菜單 ; 2. 屋馬燒肉中港店 · 120 則評論 · 燒烤, 烤肉$$ - $$$ ; 3. 屋馬燒肉園邸店 · 159 則 ...",
      "snippet_highlighted_words": [
        "西屯",
        "餐廳",
        "燒肉",
        "燒肉",
        "燒肉"
      ],
      "about_this_result": {
        "source": {
          "description": "tripadvisor.com.tw was first indexed by Google more than 10 years ago",
          "source_info_link": "https://www.tripadvisor.com.tw/Restaurants-g13808534-c6-Xitun_Taichung.html",
          "security": "secure",
          "icon": "https://serpapi.com/searches/64036321fdca3ed6ff725c53/images/751fed92ecdfbd02a584d2ddd6fd5cc1467c7e841d36218e16cd32d98737395a3fda766554b1137010f006edc4c4afdc.png"
        }
      },
      "about_page_link": "https://www.google.com/search?q=About+https://www.tripadvisor.com.tw/Restaurants-g13808534-c6-Xitun_Taichung.html&tbm=ilp&ilps=AB_Lh3o0j14FZsftt5d67Qh5Cnj3BD8YaQ",
      "about_page_serpapi_link": "https://serpapi.com/search.json?engine=google_about_this_result&google_domain=google.com&ilps=AB_Lh3o0j14FZsftt5d67Qh5Cnj3BD8YaQ&q=About+https%3A%2F%2Fwww.tripadvisor.com.tw%2FRestaurants-g13808534-c6-Xitun_Taichung.html",
      "cached_page_link": "https://webcache.googleusercontent.com/search?q=cache:ENgLFkT2-04J:https://www.tripadvisor.com.tw/Restaurants-g13808534-c6-Xitun_Taichung.html&cd=7&hl=en&ct=clnk&gl=us"
    },
    {
      "position": 3,
      "title": "西屯區燒肉有哪些?7間台中西屯燒肉店懶人包 - 熱血台中",
      "link": "https://taiwan17go.com/xitunroastpork/",
      "displayed_link": "https://taiwan17go.com › xitunroastp...",
      "date": "Aug 8, 2022",
      "snippet": "羊角炭火燒肉 │ 台中市西屯區文心路三段186號 · 想肉燒烤 │ 台中市西屯區河南路二段469號 · 燒肉眾精緻炭火燒肉 │ 台中市西屯區台灣大道四段1038號 · 石頭 ...",
      "snippet_highlighted_words": [
        "燒肉",
        "台中市西屯區",
        "台中市西屯區",
        "燒肉",
        "燒肉",
        "台中市西屯區"
      ],
      "sitelinks": {
        "inline": [
          {
            "title": "燒肉眾精緻炭火燒肉│ 台中市...",
            "link": "https://taiwan17go.com/xitunroastpork/#%E7%87%92%E8%82%89%E7%9C%BE%E7%B2%BE%E7%B7%BB%E7%82%AD%E7%81%AB%E7%87%92%E8%82%89_%E2%94%82_%E5%8F%B0%E4%B8%AD%E5%B8%82%E8%A5%BF%E5%B1%AF%E5%8D%80%E5%8F%B0%E7%81%A3%E5%A4%A7%E9%81%93%E5%9B%9B%E6%AE%B51038%E8%99%9F"
          },
          {
            "title": "石頭日式炭火燒肉│ 台中市西...",
            "link": "https://taiwan17go.com/xitunroastpork/#%E7%9F%B3%E9%A0%AD%E6%97%A5%E5%BC%8F%E7%82%AD%E7%81%AB%E7%87%92%E8%82%89_%E2%94%82_%E5%8F%B0%E4%B8%AD%E5%B8%82%E8%A5%BF%E5%B1%AF%E5%8D%80%E6%BC%A2%E5%8F%A3%E8%B7%AF%E4%BA%8C%E6%AE%B5148%E8%99%9F"
          }
        ]
      },
      "about_this_result": {
        "source": {
          "description": "taiwan17go.com was first indexed by Google in May 2013",
          "source_info_link": "https://taiwan17go.com/xitunroastpork/",
          "security": "secure"
        }
      },
      "about_page_link": "https://www.google.com/search?q=About+https://taiwan17go.com/xitunroastpork/&tbm=ilp&ilps=AB_Lh3p3l5j0LYTGKBjw8n7WwT1WivZKwA",
      "about_page_serpapi_link": "https://serpapi.com/search.json?engine=google_about_this_result&google_domain=google.com&ilps=AB_Lh3p3l5j0LYTGKBjw8n7WwT1WivZKwA&q=About+https%3A%2F%2Ftaiwan17go.com%2Fxitunroastpork%2F",
      "cached_page_link": "https://webcache.googleusercontent.com/search?q=cache:rtJPw3M3MZAJ:https://taiwan17go.com/xitunroastpork/&cd=8&hl=en&ct=clnk&gl=us"
    },
    {
      "position": 4,
      "title": "台中西屯燒烤推薦|不只屋馬,在地人激推燒肉9選 - GOMAJI",
      "link": "https://www.gomaji.com/blog/%E8%A5%BF%E5%B1%AF%E7%87%92%E7%83%A4/",
      "displayed_link": "https://www.gomaji.com › blog › 西...",
      "date": "May 15, 2021",
      "snippet": "西屯燒烤#1 羊角炭火燒肉 · 西屯燒烤#2 石頭日式炭火燒肉 · 西屯燒烤#3 笨豬跳韓式燒肉 · 西屯燒烤#4 澄居烤物燒肉 · 西屯燒烤#5 潼阪帝王蟹黑毛牛頂級 ...",
      "snippet_highlighted_words": [
        "西屯",
        "燒肉",
        "西屯",
        "燒肉",
        "西屯",
        "燒肉",
        "西屯",
        "燒肉",
        "西屯"
      ],
      "about_this_result": {
        "source": {
          "description": "gomaji.com was first indexed by Google more than 10 years ago",
          "source_info_link": "https://www.gomaji.com/blog/%E8%A5%BF%E5%B1%AF%E7%87%92%E7%83%A4/",
          "security": "secure",
          "icon": "https://serpapi.com/searches/64036321fdca3ed6ff725c53/images/751fed92ecdfbd02a584d2ddd6fd5cc1131bdc7be2557e37997e24af5c12ec1c4dd0bffc0337dfc0ae488ab07e65b5a5.png"
        }
      },
      "about_page_link": "https://www.google.com/search?q=About+https://www.gomaji.com/blog/%25E8%25A5%25BF%25E5%25B1%25AF%25E7%2587%2592%25E7%2583%25A4/&tbm=ilp&ilps=AB_Lh3oltco6N3HpqkaAM8ikegFh_S_EDw",
      "about_page_serpapi_link": "https://serpapi.com/search.json?engine=google_about_this_result&google_domain=google.com&ilps=AB_Lh3oltco6N3HpqkaAM8ikegFh_S_EDw&q=About+https%3A%2F%2Fwww.gomaji.com%2Fblog%2F%25E8%25A5%25BF%25E5%25B1%25AF%25E7%2587%2592%25E7%2583%25A4%2F",
      "cached_page_link": "https://webcache.googleusercontent.com/search?q=cache:4fmZtayIxPUJ:https://www.gomaji.com/blog/%25E8%25A5%25BF%25E5%25B1%25AF%25E7%2587%2592%25E7%2583%25A4/&cd=9&hl=en&ct=clnk&gl=us"
    },
    {
      "position": 5,
      "title": "台中燒肉| 2023台中燒烤推薦懶人包,20家必吃收藏",
      "link": "https://niniandblue.com/blog/post/221530451",
      "displayed_link": "https://niniandblue.com › blog › post",
      "date": "Feb 3, 2023",
      "snippet": "地址:台中市西屯區福林路160號 ... 地址:台中市南屯區公益路二段25號2樓 ... 舌,能吃到日本A5和牛、澳洲9+和牛等上選奢華食材,台中極高檔燒肉餐廳.",
      "snippet_highlighted_words": [
        "台中市西屯區",
        "台中市",
        "屯區",
        "燒肉餐廳"
      ],
      "about_this_result": {
        "source": {
          "description": "niniandblue.com was first indexed by Google in April 2016",
          "source_info_link": "https://niniandblue.com/blog/post/221530451",
          "security": "secure",
          "icon": "https://serpapi.com/searches/64036321fdca3ed6ff725c53/images/751fed92ecdfbd02a584d2ddd6fd5cc1a2f45821fc86e1c664e305e230894aeec0fd64d000487c78249fa6a95241f5fa.jpeg"
        }
      },
      "about_page_link": "https://www.google.com/search?q=About+https://niniandblue.com/blog/post/221530451&tbm=ilp&ilps=AB_Lh3p3Cc-K2N8GGLomN6LQLXW85u1VjA",
      "about_page_serpapi_link": "https://serpapi.com/search.json?engine=google_about_this_result&google_domain=google.com&ilps=AB_Lh3p3Cc-K2N8GGLomN6LQLXW85u1VjA&q=About+https%3A%2F%2Fniniandblue.com%2Fblog%2Fpost%2F221530451",
      "cached_page_link": "https://webcache.googleusercontent.com/search?q=cache:IUqri7mq2e8J:https://niniandblue.com/blog/post/221530451&cd=10&hl=en&ct=clnk&gl=us"
    },
    {
      "position": 6,
      "title": "台中燒肉推薦排名第一名?27間台中燒烤吃到飽/頂級燒肉訂位",
      "link": "https://blog.kkday.com/108338/asia-taiwan-taichung-yakiniku",
      "displayed_link": "https://blog.kkday.com › ... › 台中",
      "date": "2 days ago",
      "snippet": "小編整理了2023最完整的台中燒肉排名,從經典人氣餐廳屋馬、茶六、風間等台中燒肉名店到 ... 地址:​​台中市西屯區河南路三段120號7樓(Google Map)",
      "snippet_highlighted_words": [
        "燒肉",
        "餐廳",
        "燒肉",
        "台中市西屯區"
      ],
      "rich_snippet": {
        "top": {
          "detected_extensions": {
            "rating": 4,
            "votes": 4
          },
          "extensions": [
            "Rating: 4",
            "‎4 votes"
          ]
        },
        "bottom": {
          "questions": [
            "可以線上訂位的台中燒肉?",
            "台中燒肉宵夜推薦店家?"
          ]
        }
      },
      "about_this_result": {
        "source": {
          "description": "blog.kkday.com was first indexed by Google in August 2014",
          "source_info_link": "https://blog.kkday.com/108338/asia-taiwan-taichung-yakiniku",
          "security": "secure",
          "icon": "https://serpapi.com/searches/64036321fdca3ed6ff725c53/images/751fed92ecdfbd02a584d2ddd6fd5cc12dc7d54a41b6afb749999d5762261203ad40be263d42cb8b798ab1815288f0cf.png"
        }
      },
      "about_page_link": "https://www.google.com/search?q=About+https://blog.kkday.com/108338/asia-taiwan-taichung-yakiniku&tbm=ilp&ilps=AB_Lh3pfVqJl-X9IlWp05OBQKAFzqbal7w",
      "about_page_serpapi_link": "https://serpapi.com/search.json?engine=google_about_this_result&google_domain=google.com&ilps=AB_Lh3pfVqJl-X9IlWp05OBQKAFzqbal7w&q=About+https%3A%2F%2Fblog.kkday.com%2F108338%2Fasia-taiwan-taichung-yakiniku",
      "cached_page_link": "https://webcache.googleusercontent.com/search?q=cache:u0gJlC-yf8QJ:https://blog.kkday.com/108338/asia-taiwan-taichung-yakiniku&cd=11&hl=en&ct=clnk&gl=us",
      "related_questions": [
        {
          "question": "可以線上訂位的台中燒肉?",
          "snippet": "大部分的人氣台中燒肉店都有開放線上訂位,當然少不了很受歡迎的屋馬燒肉與茶六燒肉堂都可以線上訂位,其他像是也很高人氣的燒肉風間、老井極上燒肉等都能夠在線上直接訂位。所以不管是當地人或是你是預計前往台中旅行的人,最聰明的做法就是先透過線上訂位系統先預訂,不用到現場苦苦排隊等候,也比較好抓時間與安排行程,下次就再別傻傻的到現場候位啦!"
        },
        {
          "question": "台中燒肉宵夜推薦店家?",
          "snippet": "台中深夜想吃燒肉完全不是問題!有非常多間燒烤店都開到半夜12點甚至更晚,即使是沒人陪的夜晚,肚子餓的話也可以自己去吃札卡燒肉或燒肉Smile,札卡燒肉營業至半夜12點,燒肉Smile則是營業到凌晨4點,根本都可以吃早餐了~如果是一群三五好友熱血揪吃宵夜,還有本格和牛燒肉放題一路開到凌晨4點,讓你在半夜也能大口狂吃肉!如果想吃經典高人氣的燒肉店,屋馬燒肉開到半夜1點、茶六燒肉堂開到半夜2點,各位嗜好燒烤的夜貓不用擔心,宵夜時段有開的燒肉店依然很多!"
        }
      ]
    },
    {
      "position": 7,
      "title": "燒肉Hot",
      "link": "https://www.facebook.com/yakinikuhot/",
      "displayed_link": "https://www.facebook.com › ... › 燒肉Hot",
      "snippet": "燒肉Hot, Taichung, Taiwan. 572 likes · 10 talking about this · 443 were here. 燒肉Hot -中港店地址:台中市西屯區台灣大道四段988號#現場候位#暫不提供.",
      "snippet_highlighted_words": [
        "燒肉",
        "燒肉",
        "台中市西屯區"
      ],
      "about_this_result": {
        "source": {
          "description": "facebook.com was first indexed by Google more than 10 years ago",
          "source_info_link": "https://www.facebook.com/yakinikuhot/",
          "security": "secure",
          "icon": "https://serpapi.com/searches/64036321fdca3ed6ff725c53/images/751fed92ecdfbd02a584d2ddd6fd5cc1005b276f27e0e369ee037683336501a171ec9f4e6e4f3c36bfdc8addb73446ee.png"
        }
      },
      "about_page_link": "https://www.google.com/search?q=About+https://www.facebook.com/yakinikuhot/&tbm=ilp&ilps=AB_Lh3pbOgbQZKhKSB7Lg0yR9pPKjbLEPA",
      "about_page_serpapi_link": "https://serpapi.com/search.json?engine=google_about_this_result&google_domain=google.com&ilps=AB_Lh3pbOgbQZKhKSB7Lg0yR9pPKjbLEPA&q=About+https%3A%2F%2Fwww.facebook.com%2Fyakinikuhot%2F",
      "cached_page_link": "https://webcache.googleusercontent.com/search?q=cache:-Hx1VJLFnX0J:https://www.facebook.com/yakinikuhot/&cd=12&hl=en&ct=clnk&gl=us"
    },
    {
      "position": 8,
      "title": "燒烤西屯",
      "link": "https://312536785.kalipso.sk/704263.html",
      "displayed_link": "https://312536785.kalipso.sk › ...",
      "snippet": "燒肉風間Kazama 861 則評論正在營業燒烤, 亞洲料理$$ - $$$ 菜單4.1 公里南 ... 老乾杯-台中市政店25 則評論正在營業台中市『西屯區燒烤餐廳』 | 精選TOP 15間熱門店家 ...",
      "snippet_highlighted_words": [
        "燒肉",
        "台中市",
        "西屯區",
        "餐廳"
      ],
      "rich_snippet": {
        "top": {
          "detected_extensions": {
            "reviews": 5545
          },
          "extensions": [
            "5,545 reviews"
          ]
        }
      },
      "about_this_result": {
        "source": {
          "description": "kalipso.sk was first indexed by Google more than 10 years ago",
          "source_info_link": "https://312536785.kalipso.sk/704263.html",
          "security": "secure",
          "icon": "https://serpapi.com/searches/64036321fdca3ed6ff725c53/images/751fed92ecdfbd02a584d2ddd6fd5cc1a373bc860ea60fbc3ad2b0fa9d82d9d693f92b7a6a3dfcd9f985b7389e80c419.png"
        }
      },
      "about_page_link": "https://www.google.com/search?q=About+https://312536785.kalipso.sk/704263.html&tbm=ilp&ilps=AB_Lh3qiA8WnWWRGQTiFW60Yh-efU0F3lA",
      "about_page_serpapi_link": "https://serpapi.com/search.json?engine=google_about_this_result&google_domain=google.com&ilps=AB_Lh3qiA8WnWWRGQTiFW60Yh-efU0F3lA&q=About+https%3A%2F%2F312536785.kalipso.sk%2F704263.html"
    }
  ],
  "related_searches": [
    {
      "query": "西屯平價燒肉",
      "link": "https://www.google.com/search?lr=&tbs=lr:Taiwan&q=%E8%A5%BF%E5%B1%AF%E5%B9%B3%E5%83%B9%E7%87%92%E8%82%89&sa=X&ved=2ahUKEwjUvJT7ysL9AhXhmWoFHaC8AoMQ1QJ6BAg5EAE"
    },
    {
      "query": "西屯路燒肉",
      "link": "https://www.google.com/search?lr=&tbs=lr:Taiwan&q=%E8%A5%BF%E5%B1%AF%E8%B7%AF%E7%87%92%E8%82%89&sa=X&ved=2ahUKEwjUvJT7ysL9AhXhmWoFHaC8AoMQ1QJ6BAg2EAE"
    },
    {
      "query": "西屯燒烤吃到飽",
      "link": "https://www.google.com/search?lr=&tbs=lr:Taiwan&q=%E8%A5%BF%E5%B1%AF%E7%87%92%E7%83%A4%E5%90%83%E5%88%B0%E9%A3%BD&sa=X&ved=2ahUKEwjUvJT7ysL9AhXhmWoFHaC8AoMQ1QJ6BAg1EAE"
    },
    {
      "query": "山鯨燒肉西屯",
      "link": "https://www.google.com/search?lr=&tbs=lr:Taiwan&q=%E5%B1%B1%E9%AF%A8%E7%87%92%E8%82%89%E8%A5%BF%E5%B1%AF&sa=X&ved=2ahUKEwjUvJT7ysL9AhXhmWoFHaC8AoMQ1QJ6BAgxEAE"
    },
    {
      "query": "西屯串燒",
      "link": "https://www.google.com/search?lr=&tbs=lr:Taiwan&q=%E8%A5%BF%E5%B1%AF%E4%B8%B2%E7%87%92&sa=X&ved=2ahUKEwjUvJT7ysL9AhXhmWoFHaC8AoMQ1QJ6BAg6EAE"
    },
    {
      "query": "西屯路二段燒烤",
      "link": "https://www.google.com/search?lr=&tbs=lr:Taiwan&q=%E8%A5%BF%E5%B1%AF%E8%B7%AF%E4%BA%8C%E6%AE%B5%E7%87%92%E7%83%A4&sa=X&ved=2ahUKEwjUvJT7ysL9AhXhmWoFHaC8AoMQ1QJ6BAg7EAE"
    },
    {
      "query": "台中燒肉",
      "link": "https://www.google.com/search?lr=&tbs=lr:Taiwan&q=%E5%8F%B0%E4%B8%AD%E7%87%92%E8%82%89&sa=X&ved=2ahUKEwjUvJT7ysL9AhXhmWoFHaC8AoMQ1QJ6BAg3EAE"
    },
    {
      "query": "台中西屯餐廳",
      "link": "https://www.google.com/search?lr=&tbs=lr:Taiwan&q=%E5%8F%B0%E4%B8%AD%E8%A5%BF%E5%B1%AF%E9%A4%90%E5%BB%B3&sa=X&ved=2ahUKEwjUvJT7ysL9AhXhmWoFHaC8AoMQ1QJ6BAg4EAE"
    }
  ],
  "pagination": {
    "current": 1,
    "next": "https://www.google.com/search?q=+%E5%8F%B0%E4%B8%AD%E5%B8%82%E8%A5%BF%E5%B1%AF%E5%8D%80%E7%9A%84%E7%87%92%E8%82%89%E9%A4%90%E5%BB%B3%EF%BC%9F&oq=+%E5%8F%B0%E4%B8%AD%E5%B8%82%E8%A5%BF%E5%B1%AF%E5%8D%80%E7%9A%84%E7%87%92%E8%82%89%E9%A4%90%E5%BB%B3%EF%BC%9F&lr=Taiwan&start=10&sourceid=chrome&ie=UTF-8",
    "other_pages": {
      "2": "https://www.google.com/search?q=+%E5%8F%B0%E4%B8%AD%E5%B8%82%E8%A5%BF%E5%B1%AF%E5%8D%80%E7%9A%84%E7%87%92%E8%82%89%E9%A4%90%E5%BB%B3%EF%BC%9F&oq=+%E5%8F%B0%E4%B8%AD%E5%B8%82%E8%A5%BF%E5%B1%AF%E5%8D%80%E7%9A%84%E7%87%92%E8%82%89%E9%A4%90%E5%BB%B3%EF%BC%9F&lr=Taiwan&start=10&sourceid=chrome&ie=UTF-8",
      "3": "https://www.google.com/search?q=+%E5%8F%B0%E4%B8%AD%E5%B8%82%E8%A5%BF%E5%B1%AF%E5%8D%80%E7%9A%84%E7%87%92%E8%82%89%E9%A4%90%E5%BB%B3%EF%BC%9F&oq=+%E5%8F%B0%E4%B8%AD%E5%B8%82%E8%A5%BF%E5%B1%AF%E5%8D%80%E7%9A%84%E7%87%92%E8%82%89%E9%A4%90%E5%BB%B3%EF%BC%9F&lr=Taiwan&start=20&sourceid=chrome&ie=UTF-8",
      "4": "https://www.google.com/search?q=+%E5%8F%B0%E4%B8%AD%E5%B8%82%E8%A5%BF%E5%B1%AF%E5%8D%80%E7%9A%84%E7%87%92%E8%82%89%E9%A4%90%E5%BB%B3%EF%BC%9F&oq=+%E5%8F%B0%E4%B8%AD%E5%B8%82%E8%A5%BF%E5%B1%AF%E5%8D%80%E7%9A%84%E7%87%92%E8%82%89%E9%A4%90%E5%BB%B3%EF%BC%9F&lr=Taiwan&start=30&sourceid=chrome&ie=UTF-8",
      "5": "https://www.google.com/search?q=+%E5%8F%B0%E4%B8%AD%E5%B8%82%E8%A5%BF%E5%B1%AF%E5%8D%80%E7%9A%84%E7%87%92%E8%82%89%E9%A4%90%E5%BB%B3%EF%BC%9F&oq=+%E5%8F%B0%E4%B8%AD%E5%B8%82%E8%A5%BF%E5%B1%AF%E5%8D%80%E7%9A%84%E7%87%92%E8%82%89%E9%A4%90%E5%BB%B3%EF%BC%9F&lr=Taiwan&start=40&sourceid=chrome&ie=UTF-8"
    }
  },
  "serpapi_pagination": {
    "current": 1,
    "next_link": "https://serpapi.com/search.json?device=desktop&engine=google&google_domain=google.com&location=Taiwan&lr=Taiwan&q=+%E5%8F%B0%E4%B8%AD%E5%B8%82%E8%A5%BF%E5%B1%AF%E5%8D%80%E7%9A%84%E7%87%92%E8%82%89%E9%A4%90%E5%BB%B3%EF%BC%9F&start=10",
    "next": "https://serpapi.com/search.json?device=desktop&engine=google&google_domain=google.com&location=Taiwan&lr=Taiwan&q=+%E5%8F%B0%E4%B8%AD%E5%B8%82%E8%A5%BF%E5%B1%AF%E5%8D%80%E7%9A%84%E7%87%92%E8%82%89%E9%A4%90%E5%BB%B3%EF%BC%9F&start=10",
    "other_pages": {
      "2": "https://serpapi.com/search.json?device=desktop&engine=google&google_domain=google.com&location=Taiwan&lr=Taiwan&q=+%E5%8F%B0%E4%B8%AD%E5%B8%82%E8%A5%BF%E5%B1%AF%E5%8D%80%E7%9A%84%E7%87%92%E8%82%89%E9%A4%90%E5%BB%B3%EF%BC%9F&start=10",
      "3": "https://serpapi.com/search.json?device=desktop&engine=google&google_domain=google.com&location=Taiwan&lr=Taiwan&q=+%E5%8F%B0%E4%B8%AD%E5%B8%82%E8%A5%BF%E5%B1%AF%E5%8D%80%E7%9A%84%E7%87%92%E8%82%89%E9%A4%90%E5%BB%B3%EF%BC%9F&start=20",
      "4": "https://serpapi.com/search.json?device=desktop&engine=google&google_domain=google.com&location=Taiwan&lr=Taiwan&q=+%E5%8F%B0%E4%B8%AD%E5%B8%82%E8%A5%BF%E5%B1%AF%E5%8D%80%E7%9A%84%E7%87%92%E8%82%89%E9%A4%90%E5%BB%B3%EF%BC%9F&start=30",
      "5": "https://serpapi.com/search.json?device=desktop&engine=google&google_domain=google.com&location=Taiwan&lr=Taiwan&q=+%E5%8F%B0%E4%B8%AD%E5%B8%82%E8%A5%BF%E5%B1%AF%E5%8D%80%E7%9A%84%E7%87%92%E8%82%89%E9%A4%90%E5%BB%B3%EF%BC%9F&start=40"
    }
  }
}
keanuhsieh commented 1 year ago

目前看 SerpAPI 會回吐的東西類別很多,有電商推薦、Google Map搜尋、網址推薦、延伸搜尋的關鍵字。建議可以先抓大家比較常用的 Google Map 搜尋和網址推薦。

看是一次回吐如: 你好,你要找的OOXX,可能是以下幾個地方: 1.店家1 (Gmap url) 2.店家2 (Gmap url) 我也順便找了一些熱門網頁供你參考: 1.<網頁標題一> (url) 2.<網頁標題二> (url)

也可以是提供明確找地圖或找網頁的指令。只是指令越細就越難用就是了…

memochou1993 commented 1 year ago

@keanuhsieh

感謝提供 JSON 結果。目前只找第一筆,所以不巧沒能找到對的資訊。

台中西屯路燒烤餐廳推薦,台中西屯路燒烤餐廳的最新食記、評價與網友經驗分享: 織田信長串燒酒場, 潼阪帝王蟹黑毛牛頂級燒烤, 屋馬燒肉國安店, 鮮友火鍋, 九牛一鍋, ...

不過如果抓 local_resultsorganic_results 第一筆,好像有機會回吐餐廳列表。

不過就像你說的,它回吐的格式欄位超級多樣⋯⋯

memochou1993 commented 1 year ago

建議大家可以從 Vercel 的 logs 去看,提示詞到底給了什麼。

APP_DEBUG 設成 true,重新部署。

然後可以看到,我查詢 iphone14 之後,提示詞如下:

image

結果如下

image
sean284150 commented 1 year ago

把 APP_DEBUG 設成 true,重新部署。 之後 這邊的log,還是一樣

D4BDBD85-D460-4124-A816-745F13B85AB6

keanuhsieh commented 1 year ago

以下是我的 1.LINE 問答截圖、 2.撈到的 Vercel LOG、3.SerpAPI 回吐的 JSON

1.LINE 問答截圖

LINE_capture_699688451 272428 LINE_capture_699688846 986796       2.撈到的 Vercel LOG (這是上面對話的“最後一個對話”的 LOG) image

=== Ue08f8 ===

system: 以下將使用繁體中文進行對話。 user: 哈囉!。 assistant: 我是AI。。 user: 根據「Photos · Map · 中清路206之8號. 西屯區, 台中市407. Taiwan. Directions · 04 24256598. Call Now · More Info. Products for 振宇五金行 · Known For. No. Accepts Credit ...」查詢結果,回答「 台中市西屯區五金行,請列出至少五間」問題。 assistant: 好的,根據您提供的查詢結果,以下是五間在台中市西屯區的五金行:

  1. 振宇五金行
  2. 大新五金行
  3. 梓豪五金行
  4. 龍興五金行
  5. 立邦五金行

以上五間五金行供您參考。

       

3. SerpAPI 回吐的 JSON

{
  "search_metadata": {
    "id": "64042d42d5b1c5de5638290b",
    "status": "Success",
    "json_endpoint": "https://serpapi.com/searches/03ab7c165fb2cc3e/64042d42d5b1c5de5638290b.json",
    "created_at": "2023-03-05 05:48:50 UTC",
    "processed_at": "2023-03-05 05:48:50 UTC",
    "google_url": "https://www.google.com/search?q=+%E5%8F%B0%E4%B8%AD%E5%B8%82%E8%A5%BF%E5%B1%AF%E5%8D%80%E4%BA%94%E9%87%91%E8%A1%8C%EF%BC%8C%E8%AB%8B%E5%88%97%E5%87%BA%E8%87%B3%E5%B0%91%E4%BA%94%E9%96%93%EF%BC%9F&oq=+%E5%8F%B0%E4%B8%AD%E5%B8%82%E8%A5%BF%E5%B1%AF%E5%8D%80%E4%BA%94%E9%87%91%E8%A1%8C%EF%BC%8C%E8%AB%8B%E5%88%97%E5%87%BA%E8%87%B3%E5%B0%91%E4%BA%94%E9%96%93%EF%BC%9F&uule=w+CAIQICIGVGFpd2Fu&lr=Taiwan&sourceid=chrome&ie=UTF-8",
    "raw_html_file": "https://serpapi.com/searches/03ab7c165fb2cc3e/64042d42d5b1c5de5638290b.html",
    "total_time_taken": 2.98
  },
  "search_parameters": {
    "engine": "google",
    "q": " 台中市西屯區五金行,請列出至少五間?",
    "location_requested": "Taiwan",
    "location_used": "Taiwan",
    "google_domain": "google.com",
    "lr": "Taiwan",
    "device": "desktop"
  },
  "search_information": {
    "organic_results_state": "Results for exact spelling",
    "query_displayed": "台中市西屯區五金行,請列出至少五間?",
    "total_results": 3,
    "time_taken_displayed": 0.52
  },
  "local_map": {
    "link": "https://www.google.com/search?lr=&tbs=lr:Taiwan&q=%E5%8F%B0%E4%B8%AD%E5%B8%82%E8%A5%BF%E5%B1%AF%E5%8D%80%E4%BA%94%E9%87%91%E8%A1%8C%EF%BC%8C%E8%AB%8B%E5%88%97%E5%87%BA%E8%87%B3%E5%B0%91%E4%BA%94%E9%96%93%EF%BC%9F&npsic=0&rflfq=1&rldoc=1&rllag=24172677,120649061,3582&tbm=lcl&sa=X&ved=2ahUKEwiF2dDdi8T9AhXztoQIHfLACeEQtgN6BAggEAE",
    "image": "https://serpapi.com/searches/64042d42d5b1c5de5638290b/images/b494d9d7455303c00febebba44505244.png",
    "gps_coordinates": {
      "latitude": 24.172677,
      "longitude": 120.649061,
      "altitude": 3582
    }
  },
  "local_results": {
    "places": [
      {
        "position": 1,
        "title": "大台中五金百貨中科店",
        "rating": 4.2,
        "reviews_original": "(667)",
        "reviews": 667,
        "type": "五金用品店",
        "address": "150之36號, Section 3, Xitun Rd",
        "phone": "+886 4 2463 0909",
        "hours": "Open ⋅ Closes 11 PM",
        "description": "In-store shopping·In-store pickup",
        "place_id": "10618684420448625648",
        "place_id_search": "https://serpapi.com/search.json?device=desktop&engine=google&google_domain=google.com&location=Taiwan&lr=Taiwan&ludocid=10618684420448625648&q=+%E5%8F%B0%E4%B8%AD%E5%B8%82%E8%A5%BF%E5%B1%AF%E5%8D%80%E4%BA%94%E9%87%91%E8%A1%8C%EF%BC%8C%E8%AB%8B%E5%88%97%E5%87%BA%E8%87%B3%E5%B0%91%E4%BA%94%E9%96%93%EF%BC%9F&tbm=lcl",
        "lsig": "AB86z5VcD0XchtJu5C3LtS0-hiXn",
        "thumbnail": "https://lh5.googleusercontent.com/p/AF1QipNjxWTHvEI-ofpzf2J3GEPqTBhgJDRIz9L_Is65=w92-h92-n-k-no",
        "gps_coordinates": {
          "latitude": 24.186703,
          "longitude": 120.62158
        }
      },
      {
        "position": 2,
        "title": "大台中五金百貨學士店",
        "rating": 3.7,
        "reviews_original": "(684)",
        "reviews": 684,
        "type": "五金用品店",
        "address": "North District, Taichung City, Taiwan",
        "phone": "+886 4 2203 2205",
        "hours": "Open ⋅ Closes 10:50 PM",
        "description": "In-store shopping·In-store pickup",
        "place_id": "4066275010661234608",
        "place_id_search": "https://serpapi.com/search.json?device=desktop&engine=google&google_domain=google.com&location=Taiwan&lr=Taiwan&ludocid=4066275010661234608&q=+%E5%8F%B0%E4%B8%AD%E5%B8%82%E8%A5%BF%E5%B1%AF%E5%8D%80%E4%BA%94%E9%87%91%E8%A1%8C%EF%BC%8C%E8%AB%8B%E5%88%97%E5%87%BA%E8%87%B3%E5%B0%91%E4%BA%94%E9%96%93%EF%BC%9F&tbm=lcl",
        "lsig": "AB86z5XobdhDmr-prx_4-ZZAntCJ",
        "thumbnail": "https://serpapi.com/searches/64042d42d5b1c5de5638290b/images/85dd2fe9e1117b01b4d37c0ca68983a37d7fcd136cd5edcc9640524847dc929844b50bb1c80cc9b2.jpeg",
        "gps_coordinates": {
          "latitude": 24.158644,
          "longitude": 120.68084
        }
      },
      {
        "position": 3,
        "title": "一定旺五金百貨食品大賣場",
        "rating": 4.1,
        "reviews_original": "(235)",
        "reviews": 235,
        "type": "家庭裝修 DIY 百貨賣場",
        "address": "No. 89-1, Fukang Rd",
        "phone": "+886 4 2461 8618",
        "hours": "Open ⋅ Closes 10:30 PM",
        "description": "In-store shopping·In-store pickup·Delivery",
        "place_id": "998992787096120692",
        "place_id_search": "https://serpapi.com/search.json?device=desktop&engine=google&google_domain=google.com&location=Taiwan&lr=Taiwan&ludocid=998992787096120692&q=+%E5%8F%B0%E4%B8%AD%E5%B8%82%E8%A5%BF%E5%B1%AF%E5%8D%80%E4%BA%94%E9%87%91%E8%A1%8C%EF%BC%8C%E8%AB%8B%E5%88%97%E5%87%BA%E8%87%B3%E5%B0%91%E4%BA%94%E9%96%93%EF%BC%9F&tbm=lcl",
        "lsig": "AB86z5UDoqHRp6CdqNtnrEFg2MPw",
        "thumbnail": "https://serpapi.com/searches/64042d42d5b1c5de5638290b/images/85dd2fe9e1117b01b4d37c0ca68983a3ce3846c233956bc121f4988614f0e2852404ff997bd46ab0.jpeg",
        "gps_coordinates": {
          "latitude": 24.185085,
          "longitude": 120.617256
        }
      }
    ],
    "more_locations_link": "https://www.google.com/search?lr=&tbs=lf:1,lf_ui:10&tbm=lcl&q=%E5%8F%B0%E4%B8%AD%E5%B8%82%E8%A5%BF%E5%B1%AF%E5%8D%80%E4%BA%94%E9%87%91%E8%A1%8C%EF%BC%8C%E8%AB%8B%E5%88%97%E5%87%BA%E8%87%B3%E5%B0%91%E4%BA%94%E9%96%93%EF%BC%9F&rflfq=1&num=10&uule=w+CAIQICIGVGFpd2Fu&sa=X&ved=2ahUKEwiF2dDdi8T9AhXztoQIHfLACeEQjGp6BAghEAE"
  },
  "organic_results": [
    {
      "position": 1,
      "title": "振宇五金行- 西屯區, 台中市",
      "link": "https://m.yelp.com/biz/%E6%8C%AF%E5%AE%87%E4%BA%94%E9%87%91%E8%A1%8C-%E5%8F%B0%E4%B8%AD%E5%B8%82%E8%A5%BF%E5%B1%AF%E5%8D%80",
      "displayed_link": "https://m.yelp.com › ... › 振宇五金行",
      "thumbnail": "https://serpapi.com/searches/64042d42d5b1c5de5638290b/images/440cade491ed7d9a28e58743fc2caa598607037a17c878d17d40eeab8af0c5a4.png",
      "snippet": "Photos · Map · 中清路206之8號. 西屯區, 台中市407. Taiwan. Directions · 04 24256598. Call Now · More Info. Products for 振宇五金行 · Known For. No. Accepts Credit ...",
      "snippet_highlighted_words": [
        "西屯區",
        "台中市",
        "五金行"
      ],
      "about_this_result": {
        "source": {
          "description": "m.yelp.com was first indexed by Google more than 10 years ago",
          "source_info_link": "https://m.yelp.com/biz/%E6%8C%AF%E5%AE%87%E4%BA%94%E9%87%91%E8%A1%8C-%E5%8F%B0%E4%B8%AD%E5%B8%82%E8%A5%BF%E5%B1%AF%E5%8D%80",
          "security": "secure",
          "icon": "https://serpapi.com/searches/64042d42d5b1c5de5638290b/images/440cade491ed7d9a28e58743fc2caa591451281cca08bc83bcd426e37d4d57160fb6d4ae296621821dff33c3759b0ab4.png"
        },
        "languages": [
          "Chinese (Taiwan)"
        ],
        "regions": [
          "the United States"
        ]
      },
      "about_page_link": "https://www.google.com/search?q=About+https://m.yelp.com/biz/%25E6%258C%25AF%25E5%25AE%2587%25E4%25BA%2594%25E9%2587%2591%25E8%25A1%258C-%25E5%258F%25B0%25E4%25B8%25AD%25E5%25B8%2582%25E8%25A5%25BF%25E5%25B1%25AF%25E5%258D%2580&tbm=ilp&ilps=AB_Lh3oafA9afkY1RJLpedZWy8U50X5Ntw",
      "about_page_serpapi_link": "https://serpapi.com/search.json?engine=google_about_this_result&google_domain=google.com&ilps=AB_Lh3oafA9afkY1RJLpedZWy8U50X5Ntw&q=About+https%3A%2F%2Fm.yelp.com%2Fbiz%2F%25E6%258C%25AF%25E5%25AE%2587%25E4%25BA%2594%25E9%2587%2591%25E8%25A1%258C-%25E5%258F%25B0%25E4%25B8%25AD%25E5%25B8%2582%25E8%25A5%25BF%25E5%25B1%25AF%25E5%258D%2580",
      "cached_page_link": "https://webcache.googleusercontent.com/search?q=cache:LQi73LM4Fe0J:https://m.yelp.com/biz/%25E6%258C%25AF%25E5%25AE%2587%25E4%25BA%2594%25E9%2587%2591%25E8%25A1%258C-%25E5%258F%25B0%25E4%25B8%25AD%25E5%25B8%2582%25E8%25A5%25BF%25E5%25B1%25AF%25E5%258D%2580&cd=5&hl=en&ct=clnk&gl=us",
      "missing": [
        "請",
        "列",
        "出",
        "至少",
        "五",
        "間?"
      ]
    },
    {
      "position": 2,
      "title": "竹北振宇五金. 振宇五金台北",
      "link": "https://kxp.kemiplast.pl/dc4cc59029",
      "displayed_link": "https://kxp.kemiplast.pl › ...",
      "date": "19 hours ago",
      "snippet": "2947 振宇五金20230524 台中市西屯區環中路二段27號3035 智原20230524 新竹科學工業園區力行三路5號3122 笙泉20230524 新竹縣竹北市台元街26號2樓.",
      "snippet_highlighted_words": [
        "五金",
        "台中市西屯區",
        "5"
      ],
      "about_this_result": {
        "source": {
          "description": "kemiplast.pl was first indexed by Google more than 10 years ago",
          "source_info_link": "https://kxp.kemiplast.pl/dc4cc59029",
          "security": "secure"
        },
        "languages": [
          "Chinese (Taiwan)"
        ],
        "regions": [
          "the United States"
        ]
      },
      "about_page_link": "https://www.google.com/search?q=About+https://kxp.kemiplast.pl/dc4cc59029&tbm=ilp&ilps=AB_Lh3ou3uHefGrATPW7nyOcn5QlCBSqmQ",
      "about_page_serpapi_link": "https://serpapi.com/search.json?engine=google_about_this_result&google_domain=google.com&ilps=AB_Lh3ou3uHefGrATPW7nyOcn5QlCBSqmQ&q=About+https%3A%2F%2Fkxp.kemiplast.pl%2Fdc4cc59029"
    },
    {
      "position": 3,
      "title": "他賣南港房「一坪70萬元」虧了?網:其實很賺",
      "link": "https://house.yahoo.com.tw/%25E4%25BB%2596%25E8%25B3%25A3%25E5%258D%2597%25E6%25B8%25AF%25E6%2588%25BF-%25E5%259D%25AA70%25E8%2590%25AC%25E5%2585%2583-%25E8%2599%25A7%25E4%25BA%2586-%25E7%25B6%25B2-%25E5%2585%25B6%25E5%25AF%25A6%25E5%25BE%2588%25E8%25B3%25BA-033906997.html",
      "displayed_link": "https://house.yahoo.com.tw › ...",
      "thumbnail": "https://serpapi.com/searches/64042d42d5b1c5de5638290b/images/440cade491ed7d9a28e58743fc2caa59543d5f65e476055f7da902141a48f86a.png",
      "date": "1 day ago",
      "snippet": "一名網友在PTT指出,他剛賣掉一間屋齡10年內的南港電梯大樓,含車位以總價3400萬元成交,換算下來每坪70萬元,大約為起初開價的9折。不過,事後他似乎覺得 ...",
      "about_this_result": {
        "source": {
          "description": "house.yahoo.com.tw was first indexed by Google more than 10 years ago",
          "source_info_link": "https://house.yahoo.com.tw/%25E4%25BB%2596%25E8%25B3%25A3%25E5%258D%2597%25E6%25B8%25AF%25E6%2588%25BF-%25E5%259D%25AA70%25E8%2590%25AC%25E5%2585%2583-%25E8%2599%25A7%25E4%25BA%2586-%25E7%25B6%25B2-%25E5%2585%25B6%25E5%25AF%25A6%25E5%25BE%2588%25E8%25B3%25BA-033906997.html",
          "security": "secure",
          "icon": "https://serpapi.com/searches/64042d42d5b1c5de5638290b/images/440cade491ed7d9a28e58743fc2caa59e2355fbe25ebce0a9de8626813f5129ebabc23b9c15338e41abd461b52409385.png"
        },
        "languages": [
          "Chinese (Taiwan)"
        ],
        "regions": [
          "the United States"
        ]
      },
      "about_page_link": "https://www.google.com/search?q=About+https://house.yahoo.com.tw/%2525E4%2525BB%252596%2525E8%2525B3%2525A3%2525E5%25258D%252597%2525E6%2525B8%2525AF%2525E6%252588%2525BF-%2525E5%25259D%2525AA70%2525E8%252590%2525AC%2525E5%252585%252583-%2525E8%252599%2525A7%2525E4%2525BA%252586-%2525E7%2525B6%2525B2-%2525E5%252585%2525B6%2525E5%2525AF%2525A6%2525E5%2525BE%252588%2525E8%2525B3%2525BA-033906997.html&tbm=ilp&ilps=AB_Lh3pFh8uXzEq6YbmhpGbvpo2mxC2yjA",
      "about_page_serpapi_link": "https://serpapi.com/search.json?engine=google_about_this_result&google_domain=google.com&ilps=AB_Lh3pFh8uXzEq6YbmhpGbvpo2mxC2yjA&q=About+https%3A%2F%2Fhouse.yahoo.com.tw%2F%2525E4%2525BB%252596%2525E8%2525B3%2525A3%2525E5%25258D%252597%2525E6%2525B8%2525AF%2525E6%252588%2525BF-%2525E5%25259D%2525AA70%2525E8%252590%2525AC%2525E5%252585%252583-%2525E8%252599%2525A7%2525E4%2525BA%252586-%2525E7%2525B6%2525B2-%2525E5%252585%2525B6%2525E5%2525AF%2525A6%2525E5%2525BE%252588%2525E8%2525B3%2525BA-033906997.html",
      "cached_page_link": "https://webcache.googleusercontent.com/search?q=cache:hZComxNFGrkJ:https://house.yahoo.com.tw/%2525E4%2525BB%252596%2525E8%2525B3%2525A3%2525E5%25258D%252597%2525E6%2525B8%2525AF%2525E6%252588%2525BF-%2525E5%25259D%2525AA70%2525E8%252590%2525AC%2525E5%252585%252583-%2525E8%252599%2525A7%2525E4%2525BA%252586-%2525E7%2525B6%2525B2-%2525E5%252585%2525B6%2525E5%2525AF%2525A6%2525E5%2525BE%252588%2525E8%2525B3%2525BA-033906997.html&cd=7&hl=en&ct=clnk&gl=us"
    }
  ],
  "related_searches": [
    {
      "query": "振宇五金",
      "link": "https://www.google.com/search?lr=&tbs=lr:Taiwan&q=%E6%8C%AF%E5%AE%87%E4%BA%94%E9%87%91&sa=X&ved=2ahUKEwiF2dDdi8T9AhXztoQIHfLACeEQ1QJ6BAgkEAE"
    }
  ],
  "pagination": {
    "current": 1,
    "other_pages": {
      "2": "https://www.google.com/search?q=+%E5%8F%B0%E4%B8%AD%E5%B8%82%E8%A5%BF%E5%B1%AF%E5%8D%80%E4%BA%94%E9%87%91%E8%A1%8C%EF%BC%8C%E8%AB%8B%E5%88%97%E5%87%BA%E8%87%B3%E5%B0%91%E4%BA%94%E9%96%93%EF%BC%9F&oq=+%E5%8F%B0%E4%B8%AD%E5%B8%82%E8%A5%BF%E5%B1%AF%E5%8D%80%E4%BA%94%E9%87%91%E8%A1%8C%EF%BC%8C%E8%AB%8B%E5%88%97%E5%87%BA%E8%87%B3%E5%B0%91%E4%BA%94%E9%96%93%EF%BC%9F&lr=Taiwan&start=10&sourceid=chrome&ie=UTF-8",
      "3": "https://www.google.com/search?q=+%E5%8F%B0%E4%B8%AD%E5%B8%82%E8%A5%BF%E5%B1%AF%E5%8D%80%E4%BA%94%E9%87%91%E8%A1%8C%EF%BC%8C%E8%AB%8B%E5%88%97%E5%87%BA%E8%87%B3%E5%B0%91%E4%BA%94%E9%96%93%EF%BC%9F&oq=+%E5%8F%B0%E4%B8%AD%E5%B8%82%E8%A5%BF%E5%B1%AF%E5%8D%80%E4%BA%94%E9%87%91%E8%A1%8C%EF%BC%8C%E8%AB%8B%E5%88%97%E5%87%BA%E8%87%B3%E5%B0%91%E4%BA%94%E9%96%93%EF%BC%9F&lr=Taiwan&start=20&sourceid=chrome&ie=UTF-8",
      "4": "https://www.google.com/search?q=+%E5%8F%B0%E4%B8%AD%E5%B8%82%E8%A5%BF%E5%B1%AF%E5%8D%80%E4%BA%94%E9%87%91%E8%A1%8C%EF%BC%8C%E8%AB%8B%E5%88%97%E5%87%BA%E8%87%B3%E5%B0%91%E4%BA%94%E9%96%93%EF%BC%9F&oq=+%E5%8F%B0%E4%B8%AD%E5%B8%82%E8%A5%BF%E5%B1%AF%E5%8D%80%E4%BA%94%E9%87%91%E8%A1%8C%EF%BC%8C%E8%AB%8B%E5%88%97%E5%87%BA%E8%87%B3%E5%B0%91%E4%BA%94%E9%96%93%EF%BC%9F&lr=Taiwan&start=30&sourceid=chrome&ie=UTF-8",
      "5": "https://www.google.com/search?q=+%E5%8F%B0%E4%B8%AD%E5%B8%82%E8%A5%BF%E5%B1%AF%E5%8D%80%E4%BA%94%E9%87%91%E8%A1%8C%EF%BC%8C%E8%AB%8B%E5%88%97%E5%87%BA%E8%87%B3%E5%B0%91%E4%BA%94%E9%96%93%EF%BC%9F&oq=+%E5%8F%B0%E4%B8%AD%E5%B8%82%E8%A5%BF%E5%B1%AF%E5%8D%80%E4%BA%94%E9%87%91%E8%A1%8C%EF%BC%8C%E8%AB%8B%E5%88%97%E5%87%BA%E8%87%B3%E5%B0%91%E4%BA%94%E9%96%93%EF%BC%9F&lr=Taiwan&start=40&sourceid=chrome&ie=UTF-8"
    }
  },
  "serpapi_pagination": {
    "current": 1,
    "other_pages": {
      "2": "https://serpapi.com/search.json?device=desktop&engine=google&google_domain=google.com&location=Taiwan&lr=Taiwan&q=+%E5%8F%B0%E4%B8%AD%E5%B8%82%E8%A5%BF%E5%B1%AF%E5%8D%80%E4%BA%94%E9%87%91%E8%A1%8C%EF%BC%8C%E8%AB%8B%E5%88%97%E5%87%BA%E8%87%B3%E5%B0%91%E4%BA%94%E9%96%93%EF%BC%9F&start=10",
      "3": "https://serpapi.com/search.json?device=desktop&engine=google&google_domain=google.com&location=Taiwan&lr=Taiwan&q=+%E5%8F%B0%E4%B8%AD%E5%B8%82%E8%A5%BF%E5%B1%AF%E5%8D%80%E4%BA%94%E9%87%91%E8%A1%8C%EF%BC%8C%E8%AB%8B%E5%88%97%E5%87%BA%E8%87%B3%E5%B0%91%E4%BA%94%E9%96%93%EF%BC%9F&start=20",
      "4": "https://serpapi.com/search.json?device=desktop&engine=google&google_domain=google.com&location=Taiwan&lr=Taiwan&q=+%E5%8F%B0%E4%B8%AD%E5%B8%82%E8%A5%BF%E5%B1%AF%E5%8D%80%E4%BA%94%E9%87%91%E8%A1%8C%EF%BC%8C%E8%AB%8B%E5%88%97%E5%87%BA%E8%87%B3%E5%B0%91%E4%BA%94%E9%96%93%EF%BC%9F&start=30",
      "5": "https://serpapi.com/search.json?device=desktop&engine=google&google_domain=google.com&location=Taiwan&lr=Taiwan&q=+%E5%8F%B0%E4%B8%AD%E5%B8%82%E8%A5%BF%E5%B1%AF%E5%8D%80%E4%BA%94%E9%87%91%E8%A1%8C%EF%BC%8C%E8%AB%8B%E5%88%97%E5%87%BA%E8%87%B3%E5%B0%91%E4%BA%94%E9%96%93%EF%BC%9F&start=40"
    }
  }
}
memochou1993 commented 1 year ago

只搜尋一筆查詢結果再給 AI,可能生成的回覆會不盡理想。

這部分還有很多調整空間,但暫時不會花太多時間處理,因為 GPT 不是「搜尋引擎」。

當然能夠結合搜尋引擎再回應是很棒,就像 Bing 在做的事情一樣,但是成本就會很高。

sean284150 commented 1 year ago

或許可以參考WebChatGPT這個擴充功能的方法