{"html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fgaryo.hatenablog.jp%2Fentry%2F2023%2F06%2F15%2F093854\" title=\"Function calling - garyo\u5ca1\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","width":"100%","provider_url":"https://hatena.blog","categories":["chatGPT","AI","Python"],"author_url":"https://blog.hatena.ne.jp/garyo/","author_name":"garyo","image_url":null,"height":"190","type":"rich","title":"Function calling","description":"note.com !pip install openai import openai import json import requests openai.api_key = \"\u81ea\u5206\u306eAPI\u30ad\u30fc\" def get_weather_info(latitude, longitude): base_url = \"https://api.open-meteo.com/v1/forecast\" parameters = { \"latitude\": latitude, \"longitude\": longitude, \"current_weather\": \"true\" } response = reques\u2026","blog_url":"https://garyo.hatenablog.jp/","url":"https://garyo.hatenablog.jp/entry/2023/06/15/093854","version":"1.0","published":"2023-06-15 09:38:54","blog_title":"garyo\u5ca1","provider_name":"Hatena Blog"}