{"id":80475,"date":"2025-11-11T16:30:00","date_gmt":"2025-11-11T07:30:00","guid":{"rendered":"https:\/\/www.creationline.com\/tech-blog\/?p=80475"},"modified":"2025-11-11T13:38:57","modified_gmt":"2025-11-11T04:38:57","slug":"%e3%83%ad%e3%83%bc%e3%82%ab%e3%83%abllm%e3%81%a7tool%e3%82%92%e4%bd%bf%e3%81%8a%e3%81%86-%e3%80%90ollama%e3%80%91","status":"publish","type":"post","link":"https:\/\/www.creationline.com\/tech-blog\/others\/python\/80475","title":{"rendered":"\u30ed\u30fc\u30ab\u30ebLLM\u3067Tool\u3092\u4f7f\u304a\u3046 \u3010ollama\u3011"},"content":{"rendered":"\n<h2 class=\"wp-block-heading\">\u5bfe\u8c61\u8aad\u8005<\/h2>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Ollama\u3067\u30ed\u30fc\u30ab\u30ebLLM\u3092\u52d5\u304b\u3057\u305f\u3053\u3068\u304c\u3042\u308b\u304c\u3001Tool\u6a5f\u80fd\u3092\u4f7f\u3063\u305f\u3053\u3068\u304c\u306a\u3044\u4eba<\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\">\u672c\u8a18\u4e8b\u306e\u30b4\u30fc\u30eb<\/h2>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Tool\u3068\u306f\u4f55\u304b\u3092\u77e5\u308b\u3053\u3068<\/li>\n\n\n\n<li>ollama API\u3092\u53e9\u3044\u3066LLM\u306bTool\u3092\u63d0\u4f9b\u3059\u308b\u3053\u3068<\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\">Tool\u3068\u306f?<\/h2>\n\n\n\n<p>LLM\u306e\u6587\u8108\u3067\u306f\u3001Tool\u306fLLM\u304c\u547c\u3073\u51fa\u3059\u3053\u3068\u304c\u3067\u304d\u308b\u6a5f\u80fd\u3092\u610f\u5473\u3057\u307e\u3059\u3002\u4ee5\u4e0b\u306bTool\u306e\u4f8b\u3092\u793a\u3057\u307e\u3059:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>\u30a6\u30a7\u30d6\u691c\u7d22<\/li>\n\n\n\n<li>\u6570\u5f0f\u306e\u8a08\u7b97<\/li>\n\n\n\n<li>\u30d5\u30a1\u30a4\u30eb\u30b7\u30b9\u30c6\u30e0\u30a2\u30af\u30bb\u30b9<\/li>\n\n\n\n<li>\u30b3\u30de\u30f3\u30c9\u306e\u5b9f\u884c<\/li>\n<\/ul>\n\n\n\n<p>LLM\u306f\u30c6\u30ad\u30b9\u30c8\u306e\u751f\u6210\u3057\u304b\u884c\u3046\u3053\u3068\u304c\u3067\u304d\u307e\u305b\u3093\u304c\u3001Tool\u3092\u4f7f\u3046\u3053\u3068\u3067\u5916\u90e8\u306e\u30c7\u30fc\u30bf\u306b\u30a2\u30af\u30bb\u30b9\u3057\u305f\u308a\u3001\u30d5\u30a1\u30a4\u30eb\u30b7\u30b9\u30c6\u30e0\u306e\u8aad\u307f\u66f8\u304d\u3092\u884c\u3046\u3053\u3068\u304c\u3067\u304d\u308b\u3088\u3046\u306b\u306a\u308a\u307e\u3059\u3002\u5f37\u529b\u306a\u6a5f\u80fd\u3067\u3042\u308b\u53cd\u9762\u3001\u30bb\u30ad\u30e5\u30ea\u30c6\u30a3\u30ea\u30b9\u30af\u306b\u6ce8\u610f\u3092\u6255\u3046\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">\u524d\u63d0\u6761\u4ef6<\/h2>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Python3<\/li>\n\n\n\n<li><a href=\"https:\/\/github.com\/ollama\/ollama-python\/tree\/main\" target=\"_blank\" rel=\"noreferrer noopener\">ollama-python<\/a> \u3092\u4f7f\u3044\u307e\u3059\n<ul class=\"wp-block-list\">\n<li>\u30d1\u30c3\u30b1\u30fc\u30b8\u540d: <a href=\"https:\/\/pypi.org\/project\/ollama\/\" target=\"_blank\" rel=\"noreferrer noopener\">ollama<\/a><\/li>\n<\/ul>\n<\/li>\n\n\n\n<li>ollama \u304c\u30ed\u30fc\u30ab\u30eb\u3067\u8d77\u52d5\u3057\u3066\u3044\u308b\u3053\u3068\n<ul class=\"wp-block-list\">\n<li>\u30ea\u30e2\u30fc\u30c8\u3067\u8d77\u52d5\u3057\u3066\u3044\u3066\u3082\u826f\u3044\u3067\u3059\u304c\u3001\u305d\u306e\u5834\u5408\u306f <code>OLLAMA_HOST<\/code> \u74b0\u5883\u5909\u6570\u3092\u8a2d\u5b9a\u3059\u308b\u304b\u3001\u30ab\u30b9\u30bf\u30e0Client\u3092\u4f7f\u7528\u3059\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002<\/li>\n<\/ul>\n<\/li>\n\n\n\n<li>\u4f7f\u7528\u30e2\u30c7\u30eb: qwen3:30b\n<ul class=\"wp-block-list\">\n<li>\u4ed6\u306e<a href=\"https:\/\/ollama.com\/search?c=tools\" target=\"_blank\" rel=\"noreferrer noopener\">Tool\u3092\u30b5\u30dd\u30fc\u30c8\u3057\u3066\u3044\u308b\u30e2\u30c7\u30eb<\/a>\u3067\u3082\u826f\u3044\u3067\u3059\u3002\u3069\u306e\u30e2\u30c7\u30eb\u3092\u4f7f\u3046\u5834\u5408\u3067\u3082\u3001\u3042\u3089\u304b\u3058\u3081 <code>ollama pull<\/code> \u30b3\u30de\u30f3\u30c9\u3067\u30e2\u30c7\u30eb\u3092\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3057\u3066\u304a\u304f\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\">Tool\u3092\u4f7f\u3046<\/h2>\n\n\n\n<div class=\"wp-block-file\"><a id=\"wp-block-file--media-e9bdf9c4-ce86-4960-9940-abfc7f5bf59d\" href=\"https:\/\/www.creationline.com\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2025\/11\/ollama-tools-1.zip\">ollama-tools<\/a><a href=\"https:\/\/www.creationline.com\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2025\/11\/ollama-tools-1.zip\" class=\"wp-block-file__button wp-element-button\" download aria-describedby=\"wp-block-file--media-e9bdf9c4-ce86-4960-9940-abfc7f5bf59d\">\u30bd\u30fc\u30b9\u30b3\u30fc\u30c9\u3092\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3059\u308b<\/a><\/div>\n\n\n\n<p><a href=\"https:\/\/ollama.com\/blog\/tool-support\" target=\"_blank\" rel=\"noreferrer noopener\">Ollama\u516c\u5f0f\u30d6\u30ed\u30b0\u306e\u8a18\u4e8b<\/a>\u306b\u5929\u6c17\u4e88\u5831\u3092\u63d0\u4f9b\u3059\u308bTool\u3092\u4f7f\u3046\u4f8b\u304c\u3042\u308a\u307e\u3059\u306e\u3067\u53c2\u8003\u306b\u3057\u3066\u304f\u3060\u3055\u3044\u3002\u672c\u8a18\u4e8b\u3067\u306f\u6570\u5f0f\u3092\u8a08\u7b97\u3055\u305b\u308bTool\u3092\u63d0\u4f9b\u3059\u308b\u4f8b\u3092\u793a\u3057\u307e\u3059\u3002Ollama CLI (ollama\u30b3\u30de\u30f3\u30c9) \u306f2025\u5e7411\u670811\u65e5\u6642\u70b9\u3067Tool\u3092\u30b5\u30dd\u30fc\u30c8\u3057\u3066\u3044\u306a\u3044\u3088\u3046\u3067\u3059\u3002Tool\u3092\u4f7f\u3046\u306b\u306fAPI\u3092\u53e9\u304f\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n\n\n\n<p>main.py:<\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"python\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">import ollama\n\nMODEL = 'qwen3:30b'\n\nmessages=[\n  {'role': 'user', 'content': '10 + 20 \u306f?'}\n]\n\nresponse = ollama.chat(\n  model=MODEL,\n  messages=messages,\n  tools=[{\n    'type': 'function',\n    'function': {\n      'name': 'evaluate_expression',\n      'description': 'Evaluate the given expression',\n      'parameters': {\n        'type': 'object',\n        'properties': {\n          'expression': {\n            'type': 'string',\n            'description': 'The expression',\n          },\n        },\n        'required': ['expression'],\n      },\n    },\n  }],\n)\n\nresult = None\nif 'tool_calls' in response['message']:\n  print('\u30c4\u30fc\u30eb\u304c\u547c\u3073\u51fa\u3055\u308c\u307e\u3057\u305f')\n  messages.append(response['message'].model_dump())\n  tool_calls = response['message']['tool_calls']\n  expression = tool_calls[0].function.arguments['expression']\n  messages.append({\n      'role': 'tool',\n      # \u30bb\u30ad\u30e5\u30ea\u30c6\u30a3\u30ea\u30b9\u30af\u304c\u3042\u308b\u305f\u3081\u3001eval() \u3092production\u3067\u4f7f\u7528\u3057\u306a\u3044\u3053\u3068\n      'content': str(eval(expression, {}, {}))\n  })\n  response = ollama.chat(\n    model=MODEL,\n    messages=messages,\n  )\n  result = response['message']['content']\nelse:\n  result = response['message']['content']\n\nprint(result)\n<\/pre>\n\n\n\n<ul class=\"wp-block-list\">\n<li><code>MODEL = 'qwen3:30b'<\/code>\n<ul class=\"wp-block-list\">\n<li>\u30e2\u30c7\u30eb <a href=\"https:\/\/ollama.com\/library\/qwen3:30b\" target=\"_blank\" rel=\"noreferrer noopener\">qwen3:30b<\/a> \u3092\u4f7f\u7528\u3057\u307e\u3059\u3002\u304a\u597d\u307f\u306b\u3088\u308a\u30e2\u30c7\u30eb\u3092\u5909\u66f4\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/li>\n<\/ul>\n<\/li>\n\n\n\n<li><code>{'role': 'user', 'content': '10 + 20 \u306f?'}<\/code>\n<ul class=\"wp-block-list\">\n<li>10 + 20 \u3092\u8a08\u7b97\u3055\u305b\u308b\u30d7\u30ed\u30f3\u30d7\u30c8\u3067\u3059\u3002<\/li>\n<\/ul>\n<\/li>\n\n\n\n<li>\u6700\u521d\u306e <code>response = ollama.chat(...<\/code>\n<ul class=\"wp-block-list\">\n<li>\u524d\u8ff0\u306e\u30d7\u30ed\u30f3\u30d7\u30c8\u3068\u5171\u306b\u30c4\u30fc\u30eb\u306e\u60c5\u5831\u3092ollama\u306b\u6295\u3052\u307e\u3059\u3002<\/li>\n<\/ul>\n<\/li>\n\n\n\n<li><code>if 'tool_calls' in response['message']:<\/code>\n<ul class=\"wp-block-list\">\n<li>\u30c4\u30fc\u30eb\u3092\u63d0\u4f9b\u3057\u3066\u3082\u3001LLM\u304c\u5fc5\u305a\u3057\u3082\u30c4\u30fc\u30eb\u3092\u4f7f\u7528\u3059\u308b\u3068\u306f\u9650\u308a\u307e\u305b\u3093\u3002LLM\u304c\u30c4\u30fc\u30eb\u3092\u4f7f\u7528\u3059\u308b\u3068\u3044\u3046\u5224\u65ad\u3092\u3057\u305f\u5834\u5408\u306f\u3053\u306e\u30d6\u30ed\u30c3\u30af\u306b\u5165\u308a\u307e\u3059\u3002<\/li>\n<\/ul>\n<\/li>\n\n\n\n<li><code>eval(expression, {}, {})<\/code>\n<ul class=\"wp-block-list\">\n<li>\u6570\u5f0f\u3092 <a href=\"https:\/\/docs.python.org\/3\/library\/functions.html#eval\" target=\"_blank\" rel=\"noreferrer noopener\">eval<\/a> \u95a2\u6570\u3067\u8a55\u4fa1\u3057\u307e\u3059\u3002<strong>\u30bb\u30ad\u30e5\u30ea\u30c6\u30a3\u30ea\u30b9\u30af\u304c\u3042\u308b\u305f\u3081\u3001production\u3067\u306f\u4f7f\u7528\u3057\u306a\u3044\u3067\u304f\u3060\u3055\u3044\uff01\u307e\u305f\u3001\u958b\u767a\u3067\u3082\u51fa\u6240\u306e\u602a\u3057\u3044\u30e2\u30c7\u30eb\u306f\u4f7f\u7528\u3057\u306a\u3044\u3067\u304f\u3060\u3055\u3044\uff01<\/strong><\/li>\n<\/ul>\n<\/li>\n\n\n\n<li>\u6700\u5f8c\u306e <code>response = ollama.chat(<\/code>...\n<ul class=\"wp-block-list\">\n<li>\u30c4\u30fc\u30eb\u306e\u5b9f\u884c\u7d50\u679c\u3092\u3001\u4eca\u307e\u3067\u306e\u4f1a\u8a71\u5c65\u6b74\u3092\u542b\u3081\u3066ollama\u306b\u6295\u3052\u307e\u3059\u3002<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\">\u5b9f\u884c\u7d50\u679c<\/h2>\n\n\n\n<p>\u5b9f\u884c\u7d50\u679c\u3092\u793a\u3057\u307e\u3059\u3002\u30d5\u30ec\u30f3\u30c9\u30ea\u30fc\u306b <code>10 + 20<\/code> \u306e\u89e3\u3092\u7b54\u3048\u3066\u304f\u308c\u3066\u3044\u307e\u3059\u3002\u79c1\u304c\u4f7f\u7528\u3057\u305f\u30e2\u30c7\u30eb\u3067\u306f thinking \u304c\u6709\u52b9\u306b\u306a\u3063\u3066\u3044\u308b\u305f\u3081\u3001thinking\u30d6\u30ed\u30c3\u30af\u3082\u51fa\u529b\u3055\u308c\u3066\u3044\u307e\u3059\u3002<\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"raw\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">$ uv run main.py \n\u30c4\u30fc\u30eb\u304c\u547c\u3073\u51fa\u3055\u308c\u307e\u3057\u305f\n&lt;think>\nOkay, the user asked \"10 + 20 \u306f?\" which is Japanese for \"What is 10 + 20?\" I need to provide the answer. The previous response used the evaluate_expression tool and got 30. So the correct answer is 30. I should just state that clearly. Maybe add a friendly note to confirm if they need more help. Keep it simple and straightforward.\n&lt;\/think>\n\n10 + 20 \u306e\u7b54\u3048\u306f **30** \u3067\u3059\uff01  \n\u4f55\u304b\u4ed6\u306b\u8cea\u554f\u304c\u3042\u308c\u3070\u304a\u6c17\u8efd\u306b\u3069\u3046\u305e &#x1f60a;<\/pre>\n\n\n\n<h2 class=\"wp-block-heading\">\u6700\u5f8c\u306b<\/h2>\n\n\n\n<p>\u672c\u8a18\u4e8b\u3067\u306fTool\u3092\u30ed\u30fc\u30ab\u30ebLLM (ollama) \u3067\u4f7f\u3046\u4f8b\u3092\u793a\u3057\u307e\u3057\u305f\u3002Tool\u306f\u4fbf\u5229\u306a\u53cd\u9762\u3001\u60c5\u5831\u306e\u6f0f\u6d29\u30fb\u7834\u58ca\u30ea\u30b9\u30af\u3082\u3042\u308a\u307e\u3059\u3002\u5341\u5206\u306a\u30bb\u30ad\u30e5\u30ea\u30c6\u30a3\u76e3\u67fb\u3092\u884c\u3046\u3053\u3068\u3001\u304a\u3088\u3073\u30c4\u30fc\u30eb\u306e\u5b9f\u884c\u524d\u306b\u4eba\u306e\u5224\u65ad\u3092\u5165\u308c\u308b\u4ed5\u7d44\u307f\u306e\u691c\u8a0e\u3092\u304a\u52e7\u3081\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u5bfe\u8c61\u8aad\u8005 \u672c\u8a18\u4e8b\u306e\u30b4\u30fc\u30eb Tool\u3068\u306f? LLM\u306e\u6587\u8108\u3067\u306f\u3001Tool\u306fLLM\u304c\u547c\u3073\u51fa\u3059\u3053\u3068\u304c\u3067\u304d\u308b\u6a5f\u80fd\u3092\u610f\u5473\u3057\u307e\u3059\u3002\u4ee5\u4e0b\u306bTool\u306e\u4f8b\u3092\u793a\u3057\u307e\u3059: LLM\u306f\u30c6\u30ad\u30b9\u30c8\u306e\u751f\u6210\u3057\u304b\u884c\u3046\u3053\u3068\u304c\u3067\u304d\u307e\u305b\u3093\u304c\u3001Tool\u3092\u4f7f\u3046\u3053\u3068\u3067\u5916 [&#8230;]<\/p>\n","protected":false},"author":154,"featured_media":80478,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"content-type":"","footnotes":""},"categories":[779,903,1004,323],"tags":[],"class_list":["post-80475","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-ai","category-k-takahashi","category-llm","category-python"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.2 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>\u30ed\u30fc\u30ab\u30ebLLM\u3067Tool\u3092\u4f7f\u304a\u3046 \u3010ollama\u3011 - Tech Blog\uff5c\u30af\u30ea\u30a8\u30fc\u30b7\u30e7\u30f3\u30e9\u30a4\u30f3<\/title>\n<meta name=\"description\" content=\"AI, k-takahashi, LLM, Python |\u5bfe\u8c61\u8aad\u8005 Ollama\u3067\u30ed\u30fc\u30ab\u30ebLLM\u3092\u52d5\u304b\u3057\u305f\u3053\u3068\u304c\u3042\u308b\u304c\u3001Tool\u6a5f\u80fd\u3092\u4f7f\u3063\u305f\u3053\u3068\u304c\u306a\u3044\u4eba \u672c\u8a18\u4e8b\u306e\u30b4\u30fc\u30eb Tool\u3068\u306f\u4f55\u304b\u3092\u77e5\u308b\u3053\u3068 ollama\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.creationline.com\/tech-blog\/others\/python\/80475\" \/>\n<meta property=\"og:locale\" content=\"ja_JP\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"\u30ed\u30fc\u30ab\u30ebLLM\u3067Tool\u3092\u4f7f\u304a\u3046 \u3010ollama\u3011 - Tech Blog\uff5c\u30af\u30ea\u30a8\u30fc\u30b7\u30e7\u30f3\u30e9\u30a4\u30f3\" \/>\n<meta property=\"og:description\" content=\"AI, k-takahashi, LLM, Python |\u5bfe\u8c61\u8aad\u8005 Ollama\u3067\u30ed\u30fc\u30ab\u30ebLLM\u3092\u52d5\u304b\u3057\u305f\u3053\u3068\u304c\u3042\u308b\u304c\u3001Tool\u6a5f\u80fd\u3092\u4f7f\u3063\u305f\u3053\u3068\u304c\u306a\u3044\u4eba \u672c\u8a18\u4e8b\u306e\u30b4\u30fc\u30eb Tool\u3068\u306f\u4f55\u304b\u3092\u77e5\u308b\u3053\u3068 ollama\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.creationline.com\/tech-blog\/others\/python\/80475\" \/>\n<meta property=\"og:site_name\" content=\"Tech Blog\uff5c\u30af\u30ea\u30a8\u30fc\u30b7\u30e7\u30f3\u30e9\u30a4\u30f3\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/creationline\" \/>\n<meta property=\"article:published_time\" content=\"2025-11-11T07:30:00+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.creationline.com\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2026\/01\/screenshot.png\" \/>\n\t<meta property=\"og:image:width\" content=\"470\" \/>\n\t<meta property=\"og:image:height\" content=\"394\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"k-takahashi\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@creationline\" \/>\n<meta name=\"twitter:site\" content=\"@creationline\" \/>\n<meta name=\"twitter:label1\" content=\"\u57f7\u7b46\u8005\" \/>\n\t<meta name=\"twitter:data1\" content=\"k-takahashi\" \/>\n\t<meta name=\"twitter:label2\" content=\"\u63a8\u5b9a\u8aad\u307f\u53d6\u308a\u6642\u9593\" \/>\n\t<meta name=\"twitter:data2\" content=\"1\u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/www.creationline.com\/tech-blog\/others\/python\/80475#article\",\"isPartOf\":{\"@id\":\"https:\/\/www.creationline.com\/tech-blog\/others\/python\/80475\"},\"author\":{\"name\":\"k-takahashi\",\"@id\":\"https:\/\/www.creationline.com\/tech-blog\/#\/schema\/person\/bc1e3216f314f61c2dc8d57e97594f6c\"},\"headline\":\"\u30ed\u30fc\u30ab\u30ebLLM\u3067Tool\u3092\u4f7f\u304a\u3046 \u3010ollama\u3011\",\"datePublished\":\"2025-11-11T07:30:00+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/www.creationline.com\/tech-blog\/others\/python\/80475\"},\"wordCount\":53,\"image\":{\"@id\":\"https:\/\/www.creationline.com\/tech-blog\/others\/python\/80475#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.creationline.com\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2025\/11\/ollama-tools.svg\",\"articleSection\":[\"AI\",\"k-takahashi\",\"LLM\",\"Python\"],\"inLanguage\":\"ja\"},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.creationline.com\/tech-blog\/others\/python\/80475\",\"url\":\"https:\/\/www.creationline.com\/tech-blog\/others\/python\/80475\",\"name\":\"\u30ed\u30fc\u30ab\u30ebLLM\u3067Tool\u3092\u4f7f\u304a\u3046 \u3010ollama\u3011 - Tech Blog\uff5c\u30af\u30ea\u30a8\u30fc\u30b7\u30e7\u30f3\u30e9\u30a4\u30f3\",\"isPartOf\":{\"@id\":\"https:\/\/www.creationline.com\/tech-blog\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/www.creationline.com\/tech-blog\/others\/python\/80475#primaryimage\"},\"image\":{\"@id\":\"https:\/\/www.creationline.com\/tech-blog\/others\/python\/80475#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.creationline.com\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2025\/11\/ollama-tools.svg\",\"datePublished\":\"2025-11-11T07:30:00+00:00\",\"author\":{\"@id\":\"https:\/\/www.creationline.com\/tech-blog\/#\/schema\/person\/bc1e3216f314f61c2dc8d57e97594f6c\"},\"description\":\"AI, k-takahashi, LLM, Python |\u5bfe\u8c61\u8aad\u8005 Ollama\u3067\u30ed\u30fc\u30ab\u30ebLLM\u3092\u52d5\u304b\u3057\u305f\u3053\u3068\u304c\u3042\u308b\u304c\u3001Tool\u6a5f\u80fd\u3092\u4f7f\u3063\u305f\u3053\u3068\u304c\u306a\u3044\u4eba \u672c\u8a18\u4e8b\u306e\u30b4\u30fc\u30eb Tool\u3068\u306f\u4f55\u304b\u3092\u77e5\u308b\u3053\u3068 ollama\",\"breadcrumb\":{\"@id\":\"https:\/\/www.creationline.com\/tech-blog\/others\/python\/80475#breadcrumb\"},\"inLanguage\":\"ja\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.creationline.com\/tech-blog\/others\/python\/80475\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"ja\",\"@id\":\"https:\/\/www.creationline.com\/tech-blog\/others\/python\/80475#primaryimage\",\"url\":\"https:\/\/www.creationline.com\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2025\/11\/ollama-tools.svg\",\"contentUrl\":\"https:\/\/www.creationline.com\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2025\/11\/ollama-tools.svg\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.creationline.com\/tech-blog\/others\/python\/80475#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"HOME\",\"item\":\"https:\/\/www.creationline.com\/tech-blog\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"ChatGPT\uff06AI\",\"item\":\"https:\/\/www.creationline.com\/tech-blog\/chatgpt-ai\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"AI\",\"item\":\"https:\/\/www.creationline.com\/tech-blog\/chatgpt-ai\/ai\"},{\"@type\":\"ListItem\",\"position\":4,\"name\":\"\u30ed\u30fc\u30ab\u30ebLLM\u3067Tool\u3092\u4f7f\u304a\u3046 \u3010ollama\u3011\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.creationline.com\/tech-blog\/#website\",\"url\":\"https:\/\/www.creationline.com\/tech-blog\/\",\"name\":\"Tech Blog\uff5c\u30af\u30ea\u30a8\u30fc\u30b7\u30e7\u30f3\u30e9\u30a4\u30f3\",\"description\":\"\u30a2\u30b8\u30e3\u30a4\u30eb\uff06DevOps\u3001\u30af\u30e9\u30a6\u30c9\u30cd\u30a4\u30c6\u30a3\u30d6\u3001AI\uff06LLM\u306e\u5148\u7aef\u6280\u8853\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.creationline.com\/tech-blog\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"ja\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.creationline.com\/tech-blog\/#\/schema\/person\/bc1e3216f314f61c2dc8d57e97594f6c\",\"name\":\"k-takahashi\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"ja\",\"@id\":\"https:\/\/www.creationline.com\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2021\/12\/avatar.png\",\"url\":\"https:\/\/www.creationline.com\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2021\/12\/avatar.png\",\"contentUrl\":\"https:\/\/www.creationline.com\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2021\/12\/avatar.png\",\"caption\":\"k-takahashi\"},\"url\":\"https:\/\/www.creationline.com\/tech-blog\/author\/k-takahashi\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"\u30ed\u30fc\u30ab\u30ebLLM\u3067Tool\u3092\u4f7f\u304a\u3046 \u3010ollama\u3011 - Tech Blog\uff5c\u30af\u30ea\u30a8\u30fc\u30b7\u30e7\u30f3\u30e9\u30a4\u30f3","description":"AI, k-takahashi, LLM, Python |\u5bfe\u8c61\u8aad\u8005 Ollama\u3067\u30ed\u30fc\u30ab\u30ebLLM\u3092\u52d5\u304b\u3057\u305f\u3053\u3068\u304c\u3042\u308b\u304c\u3001Tool\u6a5f\u80fd\u3092\u4f7f\u3063\u305f\u3053\u3068\u304c\u306a\u3044\u4eba \u672c\u8a18\u4e8b\u306e\u30b4\u30fc\u30eb Tool\u3068\u306f\u4f55\u304b\u3092\u77e5\u308b\u3053\u3068 ollama","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.creationline.com\/tech-blog\/others\/python\/80475","og_locale":"ja_JP","og_type":"article","og_title":"\u30ed\u30fc\u30ab\u30ebLLM\u3067Tool\u3092\u4f7f\u304a\u3046 \u3010ollama\u3011 - Tech Blog\uff5c\u30af\u30ea\u30a8\u30fc\u30b7\u30e7\u30f3\u30e9\u30a4\u30f3","og_description":"AI, k-takahashi, LLM, Python |\u5bfe\u8c61\u8aad\u8005 Ollama\u3067\u30ed\u30fc\u30ab\u30ebLLM\u3092\u52d5\u304b\u3057\u305f\u3053\u3068\u304c\u3042\u308b\u304c\u3001Tool\u6a5f\u80fd\u3092\u4f7f\u3063\u305f\u3053\u3068\u304c\u306a\u3044\u4eba \u672c\u8a18\u4e8b\u306e\u30b4\u30fc\u30eb Tool\u3068\u306f\u4f55\u304b\u3092\u77e5\u308b\u3053\u3068 ollama","og_url":"https:\/\/www.creationline.com\/tech-blog\/others\/python\/80475","og_site_name":"Tech Blog\uff5c\u30af\u30ea\u30a8\u30fc\u30b7\u30e7\u30f3\u30e9\u30a4\u30f3","article_publisher":"https:\/\/www.facebook.com\/creationline","article_published_time":"2025-11-11T07:30:00+00:00","og_image":[{"width":470,"height":394,"url":"https:\/\/www.creationline.com\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2026\/01\/screenshot.png","type":"image\/png"}],"author":"k-takahashi","twitter_card":"summary_large_image","twitter_creator":"@creationline","twitter_site":"@creationline","twitter_misc":{"\u57f7\u7b46\u8005":"k-takahashi","\u63a8\u5b9a\u8aad\u307f\u53d6\u308a\u6642\u9593":"1\u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.creationline.com\/tech-blog\/others\/python\/80475#article","isPartOf":{"@id":"https:\/\/www.creationline.com\/tech-blog\/others\/python\/80475"},"author":{"name":"k-takahashi","@id":"https:\/\/www.creationline.com\/tech-blog\/#\/schema\/person\/bc1e3216f314f61c2dc8d57e97594f6c"},"headline":"\u30ed\u30fc\u30ab\u30ebLLM\u3067Tool\u3092\u4f7f\u304a\u3046 \u3010ollama\u3011","datePublished":"2025-11-11T07:30:00+00:00","mainEntityOfPage":{"@id":"https:\/\/www.creationline.com\/tech-blog\/others\/python\/80475"},"wordCount":53,"image":{"@id":"https:\/\/www.creationline.com\/tech-blog\/others\/python\/80475#primaryimage"},"thumbnailUrl":"https:\/\/www.creationline.com\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2025\/11\/ollama-tools.svg","articleSection":["AI","k-takahashi","LLM","Python"],"inLanguage":"ja"},{"@type":"WebPage","@id":"https:\/\/www.creationline.com\/tech-blog\/others\/python\/80475","url":"https:\/\/www.creationline.com\/tech-blog\/others\/python\/80475","name":"\u30ed\u30fc\u30ab\u30ebLLM\u3067Tool\u3092\u4f7f\u304a\u3046 \u3010ollama\u3011 - Tech Blog\uff5c\u30af\u30ea\u30a8\u30fc\u30b7\u30e7\u30f3\u30e9\u30a4\u30f3","isPartOf":{"@id":"https:\/\/www.creationline.com\/tech-blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.creationline.com\/tech-blog\/others\/python\/80475#primaryimage"},"image":{"@id":"https:\/\/www.creationline.com\/tech-blog\/others\/python\/80475#primaryimage"},"thumbnailUrl":"https:\/\/www.creationline.com\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2025\/11\/ollama-tools.svg","datePublished":"2025-11-11T07:30:00+00:00","author":{"@id":"https:\/\/www.creationline.com\/tech-blog\/#\/schema\/person\/bc1e3216f314f61c2dc8d57e97594f6c"},"description":"AI, k-takahashi, LLM, Python |\u5bfe\u8c61\u8aad\u8005 Ollama\u3067\u30ed\u30fc\u30ab\u30ebLLM\u3092\u52d5\u304b\u3057\u305f\u3053\u3068\u304c\u3042\u308b\u304c\u3001Tool\u6a5f\u80fd\u3092\u4f7f\u3063\u305f\u3053\u3068\u304c\u306a\u3044\u4eba \u672c\u8a18\u4e8b\u306e\u30b4\u30fc\u30eb Tool\u3068\u306f\u4f55\u304b\u3092\u77e5\u308b\u3053\u3068 ollama","breadcrumb":{"@id":"https:\/\/www.creationline.com\/tech-blog\/others\/python\/80475#breadcrumb"},"inLanguage":"ja","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.creationline.com\/tech-blog\/others\/python\/80475"]}]},{"@type":"ImageObject","inLanguage":"ja","@id":"https:\/\/www.creationline.com\/tech-blog\/others\/python\/80475#primaryimage","url":"https:\/\/www.creationline.com\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2025\/11\/ollama-tools.svg","contentUrl":"https:\/\/www.creationline.com\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2025\/11\/ollama-tools.svg"},{"@type":"BreadcrumbList","@id":"https:\/\/www.creationline.com\/tech-blog\/others\/python\/80475#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"HOME","item":"https:\/\/www.creationline.com\/tech-blog"},{"@type":"ListItem","position":2,"name":"ChatGPT\uff06AI","item":"https:\/\/www.creationline.com\/tech-blog\/chatgpt-ai"},{"@type":"ListItem","position":3,"name":"AI","item":"https:\/\/www.creationline.com\/tech-blog\/chatgpt-ai\/ai"},{"@type":"ListItem","position":4,"name":"\u30ed\u30fc\u30ab\u30ebLLM\u3067Tool\u3092\u4f7f\u304a\u3046 \u3010ollama\u3011"}]},{"@type":"WebSite","@id":"https:\/\/www.creationline.com\/tech-blog\/#website","url":"https:\/\/www.creationline.com\/tech-blog\/","name":"Tech Blog\uff5c\u30af\u30ea\u30a8\u30fc\u30b7\u30e7\u30f3\u30e9\u30a4\u30f3","description":"\u30a2\u30b8\u30e3\u30a4\u30eb\uff06DevOps\u3001\u30af\u30e9\u30a6\u30c9\u30cd\u30a4\u30c6\u30a3\u30d6\u3001AI\uff06LLM\u306e\u5148\u7aef\u6280\u8853","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.creationline.com\/tech-blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"ja"},{"@type":"Person","@id":"https:\/\/www.creationline.com\/tech-blog\/#\/schema\/person\/bc1e3216f314f61c2dc8d57e97594f6c","name":"k-takahashi","image":{"@type":"ImageObject","inLanguage":"ja","@id":"https:\/\/www.creationline.com\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2021\/12\/avatar.png","url":"https:\/\/www.creationline.com\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2021\/12\/avatar.png","contentUrl":"https:\/\/www.creationline.com\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2021\/12\/avatar.png","caption":"k-takahashi"},"url":"https:\/\/www.creationline.com\/tech-blog\/author\/k-takahashi"}]}},"_links":{"self":[{"href":"https:\/\/www.creationline.com\/tech-blog\/wp-json\/wp\/v2\/posts\/80475","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.creationline.com\/tech-blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.creationline.com\/tech-blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.creationline.com\/tech-blog\/wp-json\/wp\/v2\/users\/154"}],"replies":[{"embeddable":true,"href":"https:\/\/www.creationline.com\/tech-blog\/wp-json\/wp\/v2\/comments?post=80475"}],"version-history":[{"count":2,"href":"https:\/\/www.creationline.com\/tech-blog\/wp-json\/wp\/v2\/posts\/80475\/revisions"}],"predecessor-version":[{"id":80483,"href":"https:\/\/www.creationline.com\/tech-blog\/wp-json\/wp\/v2\/posts\/80475\/revisions\/80483"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.creationline.com\/tech-blog\/wp-json\/wp\/v2\/media\/80478"}],"wp:attachment":[{"href":"https:\/\/www.creationline.com\/tech-blog\/wp-json\/wp\/v2\/media?parent=80475"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.creationline.com\/tech-blog\/wp-json\/wp\/v2\/categories?post=80475"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.creationline.com\/tech-blog\/wp-json\/wp\/v2\/tags?post=80475"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}