{"id":12536,"date":"2024-11-01T12:32:54","date_gmt":"2024-11-01T03:32:54","guid":{"rendered":"https:\/\/blogs.mathworks.com\/japan-community\/?p=12536"},"modified":"2024-11-01T12:35:12","modified_gmt":"2024-11-01T03:35:12","slug":"4-ways-of-using-matlab-with-large-language-models-llms-such-as-chatgpt-and-ollama_jp","status":"publish","type":"post","link":"https:\/\/blogs.mathworks.com\/japan-community\/2024\/11\/01\/4-ways-of-using-matlab-with-large-language-models-llms-such-as-chatgpt-and-ollama_jp\/","title":{"rendered":"MATLAB \u3068\u5927\u898f\u6a21\u8a00\u8a9e\u30e2\u30c7\u30eb\uff08LLM\uff09\u306e\u9023\u643a\u6cd5\uff1aChatGPT \u3084 Ollama \u3092\u6d3b\u7528\u3059\u308b4\u3064\u306e\u65b9\u6cd5"},"content":{"rendered":"<div style=\"margin: 2px 10px 9px 4px; padding: 0px; line-height: 21px; min-height: 0px; white-space: pre-wrap; color: #212121; font-family: Helvetica, Arial, sans-serif; font-style: normal; font-size: 14px; font-weight: 400; text-align: left;\">\u203b\u3053\u306e\u6295\u7a3f\u306f 2024 \u5e74 10 \u6708 2 \u65e5\u306b <a href=\"https:\/\/blogs.mathworks.com\/matlab\/2024\/10\/02\/4-ways-of-using-matlab-with-large-language-models-llms-such-as-chatgpt-and-ollama\/?from=jp\">The MATLAB Blog \u3078 \u6295\u7a3f<\/a>\u3055\u308c\u305f\u3082\u306e\u306e\u6284\u8a33\u3067\u3059\u3002<\/div>\n<div><\/div>\n<hr \/>\n<div class=\"rtcContent\">\n<div style=\"margin: 2px 10px 9px 4px; padding: 0px; line-height: 21px; min-height: 0px; white-space: pre-wrap; color: #212121; font-family: Helvetica, Arial, sans-serif; font-style: normal; font-size: 14px; font-weight: 400; text-align: left;\">\u591a\u304f\u306e\u4eba\u3005\u304c<a href=\"https:\/\/en.wikipedia.org\/wiki\/Large_language_model\" class=\"external\" rel=\"nofollow\" target=\"_blank\">\u5927\u898f\u6a21\u8a00\u8a9e\u30e2\u30c7\u30eb\uff08LLM\uff09<\/a>\u306b\u3064\u3044\u3066\u8a71\u984c\u306b\u3057\u3001\u305d\u3057\u3066\u6d3b\u7528\u3082\u3055\u308c\u3066\u3044\u307e\u3059\u3002\u3053\u306e\u8a18\u4e8b\u3067\u306f MathWorks \u306e\u30a8\u30b3\u30b7\u30b9\u30c6\u30e0\u3067 LLM \u3092\u6d3b\u7528\u3059\u308b\u305f\u3081\u306e 4 \u3064\u306e\u65b9\u6cd5\u3092\u3054\u7d39\u4ecb\u3057\u307e\u3059\u3002<\/div>\n<h2 style=\"margin: 20px 10px 5px 4px; padding: 0px; line-height: 20px; min-height: 0px; white-space: pre-wrap; color: #212121; font-family: Helvetica, Arial, sans-serif; font-style: normal; font-size: 20px; font-weight: bold; text-align: left;\">1. MATLAB AI Chat Playground<\/h2>\n<div style=\"margin: 2px 10px 9px 4px; padding: 0px; line-height: 21px; min-height: 0px; white-space: pre-wrap; color: #212121; font-family: Helvetica, Arial, sans-serif; font-style: normal; font-size: 14px; font-weight: 400; text-align: left;\"><a href=\"https:\/\/blogs.mathworks.com\/japan-community\/2023\/11\/08\/the-matlab-ai-chat-playground-has-launched-jp\/?from=jp\">2023\u5e74\u306b\u30ea\u30ea\u30fc\u30b9\u3055\u308c\u305f<\/a>\u306e\u304c Chat GPT 3.5 Turbo \u3092\u30d9\u30fc\u30b9\u306b\u3057\u305f MATLAB AI Chat Playground\u3002\u6700\u8fd1 <a href=\"https:\/\/uk.mathworks.com\/matlabcentral\/discussions\/highlights\/875730\">GPT-4o mini\u3092\u4f7f\u7528\u3059\u308b\u3088\u3046\u306b\u30a2\u30c3\u30d7\u30b0\u30ec\u30fc\u30c9<\/a>\u3055\u308c\u307e\u3057\u305f\u3002\u30d6\u30e9\u30a6\u30b6\u306e\u5de6\u5074\u3067 AI \u3068\u5bfe\u8a71\u3059\u308b\u3060\u3051\u3067\u306a\u304f\u3001\u53f3\u5074\u3067\u306f MATLAB \u306e\u6700\u65b0\u30ea\u30ea\u30fc\u30b9\u3067\u3042\u308b R2024b \u3092\u57fa\u306b\u3057\u305f\u30a8\u30f3\u30b8\u30f3\u3092\u4f7f\u3063\u3066 MATLAB \u30b3\u30fc\u30c9\u3092\u5b9f\u884c\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002\u30d6\u30e9\u30a6\u30b6\u3092\u96e2\u308c\u308b\u3053\u3068\u306a\u304f\u3001AI \u3068 MATLAB \u3092\u4e00\u7dd2\u306b\u5229\u7528\u3067\u304d\u308b\u306e\u3067\u3059\u3002\u3053\u308c\u306f\u3001MATLAB \u30e6\u30fc\u30b6\u30fc\u304c\u751f\u6210 AI \u3092\u8a66\u3059\u306e\u306b\u4e00\u756a\u7c21\u5358\u306a\u65b9\u6cd5\u3068\u8a00\u3048\u308b\u3067\u3057\u3087\u3046\u3002<\/div>\n<div style=\"margin: 2px 10px 9px 4px; padding: 0px; line-height: 21px; min-height: 0px; white-space: pre-wrap; color: #212121; font-family: Helvetica, Arial, sans-serif; font-style: normal; font-size: 14px; font-weight: 400; text-align: left;\"><a href=\"https:\/\/uk.mathworks.com\/matlabcentral\/playground\/new\"><img decoding=\"async\" loading=\"lazy\" class=\"imageNode\" style=\"vertical-align: baseline; width: 984px; height: 767px;\" src=\"http:\/\/blogs.mathworks.com\/matlab\/files\/2024\/10\/llm_1.png\" alt=\"\" width=\"984\" height=\"767\" \/><\/a><\/div>\n<h2><\/h2>\n<h2 style=\"margin: 20px 10px 5px 4px; padding: 0px; line-height: 20px; min-height: 0px; white-space: pre-wrap; color: #212121; font-family: Helvetica, Arial, sans-serif; font-style: normal; font-size: 20px; font-weight: bold; text-align: left;\">2. Large Language Models (LLMS) with MATLAB<\/h2>\n<div style=\"margin: 2px 10px 9px 4px; padding: 0px; line-height: 21px; min-height: 0px; white-space: pre-wrap; color: #212121; font-family: Helvetica, Arial, sans-serif; font-style: normal; font-size: 14px; font-weight: 400; text-align: left;\">\u30d7\u30ed\u30b0\u30e9\u30de\u30fc\u3068\u3057\u3066\u306f\u3001\u3084\u306f\u308a\u30d7\u30ed\u30b0\u30e9\u30e0\u3092\u901a\u3058\u3066 LLM \u3092\u6d3b\u7528\u3057\u305f\u3044\u3068\u3053\u308d\u3002\u305d\u3053\u3067\u5f79\u7acb\u3064\u306e\u304c\u3053\u306e <a href=\"https:\/\/uk.mathworks.com\/matlabcentral\/fileexchange\/163796-large-language-models-llms-with-matlab\">MathWorks \u306e\u30ea\u30dd\u30b8\u30c8\u30ea<\/a>\u3067\u3059\u3002\u3053\u306e\u30ea\u30dd\u30b8\u30c8\u30ea\u306b\u306f\u3001MATLAB \u3092 <a href=\"https:\/\/platform.openai.com\/docs\/guides\/text-generation\/chat-completions-api\" class=\"external\" rel=\"nofollow\" target=\"_blank\">OpenAI\u00ae Chat Completions API<\/a>\uff08ChatGPT\u2122 \u3092\u652f\u3048\u308b API\uff09\u3001OpenAI Images API\uff08DALL\u00b7E\u2122 \u3092\u652f\u3048\u308b API\uff09\u3001<a href=\"https:\/\/learn.microsoft.com\/en-us\/azure\/ai-services\/openai\/\" class=\"external\" rel=\"nofollow\" target=\"_blank\">Azure\u00ae OpenAI Service<\/a>\u3001\u305d\u3057\u3066\u30ed\u30fc\u30ab\u30eb\u304a\u3088\u3073\u975e\u30ed\u30fc\u30ab\u30eb\u306e <a href=\"https:\/\/ollama.com\/\" class=\"external\" rel=\"nofollow\" target=\"_blank\">Ollama\u2122<\/a> \u30e2\u30c7\u30eb\u306b\u63a5\u7d9a\u3059\u308b\u305f\u3081\u306e\u30b3\u30fc\u30c9\u304c\u542b\u307e\u308c\u3066\u3044\u307e\u3059\u3002\u3053\u308c\u306b\u3088\u308a\u3001MATLAB \u74b0\u5883\u5185\u3067\u76f4\u63a5\u3001\u5927\u898f\u6a21\u8a00\u8a9e\u30e2\u30c7\u30eb\u306e\u81ea\u7136\u8a00\u8a9e\u51e6\u7406\u6a5f\u80fd\u3092\u6d3b\u7528\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/div>\n<div style=\"margin: 2px 10px 9px 4px; padding: 0px; line-height: 21px; min-height: 0px; white-space: pre-wrap; color: #212121; font-family: Helvetica, Arial, sans-serif; font-style: normal; font-size: 14px; font-weight: 400; text-align: left;\">\n<p>\u3053\u306e\u30ea\u30dd\u30b8\u30c8\u30ea\u306b\u3064\u3044\u3066\u306f\u30012024\u5e742\u6708\u306b<a href=\"https:\/\/blogs.mathworks.com\/japan-community\/2024\/02\/06\/large-language-models-with-matlab-jp\/?from=jp\">\u904e\u53bb\u306e\u30d6\u30ed\u30b0<\/a>\u3067\u3082\u7d39\u4ecb\u3057\u307e\u3057\u305f\u3002<\/p>\n<\/div>\n<div style=\"margin: 2px 10px 9px 4px; padding: 0px; line-height: 21px; min-height: 0px; white-space: pre-wrap; color: #212121; font-family: Helvetica, Arial, sans-serif; font-style: normal; font-size: 14px; font-weight: 400; text-align: left;\"><a href=\"https:\/\/uk.mathworks.com\/matlabcentral\/fileexchange\/163796-large-language-models-llms-with-matlab\"><img decoding=\"async\" loading=\"lazy\" class=\"imageNode\" style=\"vertical-align: baseline; width: 982px; height: 791px;\" src=\"http:\/\/blogs.mathworks.com\/matlab\/files\/2024\/10\/llm_2.png\" alt=\"\" width=\"982\" height=\"791\" \/><\/a><\/div>\n<div style=\"margin: 2px 10px 9px 4px; padding: 0px; line-height: 21px; min-height: 0px; white-space: pre-wrap; color: #212121; font-family: Helvetica, Arial, sans-serif; font-style: normal; font-size: 14px; font-weight: 400; text-align: left;\">\n<p>\u3053\u306e\u30ea\u30dd\u30b8\u30c8\u30ea\u3092\u6d3b\u7528\u3057\u305f\u4f8b\u3068\u3057\u3066\u3001<a href=\"https:\/\/uk.mathworks.com\/matlabcentral\/fileexchange\/126665-matgpt\">\u7af9\u5185\u3055\u3093\u306e\u500b\u4eba\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u300cMatGPT\u300d<\/a>\u304c\u3042\u308a\u307e\u3059\u3002\u3053\u308c\u306f\u3001\u30a2\u30d7\u30ea\u3092\u4f7f\u3063\u3066 OpenAI \u306e API \u306b\u30a2\u30af\u30bb\u30b9\u3067\u304d\u308b\u3088\u3046\u306b\u3059\u308b\u3082\u306e\u3067\u3059\u3002<\/p>\n<p>&nbsp;<\/p>\n<\/div>\n<h2 style=\"margin: 20px 10px 5px 4px; padding: 0px; line-height: 20px; min-height: 0px; white-space: pre-wrap; color: #212121; font-family: Helvetica, Arial, sans-serif; font-style: normal; font-size: 20px; font-weight: bold; text-align: left;\">3. Visual Studio Code \u306e MATLAB extension \u3068 GitHub Co-pilot \u306e\u7d44\u307f\u5408\u308f\u305b<\/h2>\n<div style=\"margin: 2px 10px 9px 4px; padding: 0px; line-height: 21px; min-height: 0px; white-space: pre-wrap; color: #212121; font-family: Helvetica, Arial, sans-serif; font-style: normal; font-size: 14px; font-weight: 400; text-align: left;\"><a href=\"https:\/\/marketplace.visualstudio.com\/items?itemName=MathWorks.language-matlab\" class=\"external\" rel=\"nofollow\" target=\"_blank\">Visual Studio Code \u7528\u306e MATLAB \u62e1\u5f35\u6a5f\u80fd<\/a>\u306f\u30012023 \u5e74\u306e\u30ea\u30ea\u30fc\u30b9\u4ee5\u6765\u5e83\u304f\u6d3b\u7528\u3055\u308c\u3066\u3044\u307e\u3059\u3002\u3053\u306e\u62e1\u5f35\u6a5f\u80fd\u306b\u3064\u3044\u3066\u306f\u3001\u672c\u30d6\u30ed\u30b0\u3067\u4f55\u5ea6\u3082\u53d6\u308a\u4e0a\u3052\u3066\u304d\u307e\u3057\u305f\u3002\u7279\u306b\u4eca\u5e74\u306e3\u6708\u306b\u306f\u3001<a href=\"https:\/\/blogs.mathworks.com\/japan-community\/2024\/03\/11\/jp-matlab-extension-for-visual-studio-code-now-with-code-execution\/?from=jp\">\u30b3\u30fc\u30c9\u306e\u5b9f\u884c\u65b9\u6cd5<\/a>\u3084 <a href=\"https:\/\/blogs.mathworks.com\/matlab\/2024\/03\/12\/matlab-extension-for-visual-studio-code-yes-it-works-with-github-copilot\/\">GitHub Co-pilot<\/a> \u3068\u306e\u76f8\u6027\u306e\u826f\u3055\u306b\u3064\u3044\u3066\u8a73\u3057\u304f\u8aac\u660e\u3057\u307e\u3057\u305f\u3002<\/div>\n<div style=\"margin: 2px 10px 9px 4px; padding: 0px; line-height: 21px; min-height: 0px; white-space: pre-wrap; color: #212121; font-family: Helvetica, Arial, sans-serif; font-style: normal; font-size: 14px; font-weight: 400; text-align: left;\"><img decoding=\"async\" loading=\"lazy\" class=\"imageNode\" style=\"vertical-align: baseline; width: 994px; height: 620px;\" src=\"http:\/\/blogs.mathworks.com\/matlab\/files\/2024\/10\/llm_3.gif\" alt=\"CoPilot_1.gif\" width=\"994\" height=\"620\" \/><\/div>\n<h2><\/h2>\n<h2 style=\"margin: 20px 10px 5px 4px; padding: 0px; line-height: 20px; min-height: 0px; white-space: pre-wrap; color: #212121; font-family: Helvetica, Arial, sans-serif; font-style: normal; font-size: 20px; font-weight: bold; text-align: left;\">4. OpenAI GPT Store \u3067\u516c\u958b\u3055\u308c\u3066\u3044\u308b MATLAB GPT<\/h2>\n<div style=\"margin: 2px 10px 9px 4px; padding: 0px; line-height: 21px; min-height: 0px; white-space: pre-wrap; color: #212121; font-family: Helvetica, Arial, sans-serif; font-style: normal; font-size: 14px; font-weight: 400; text-align: left;\">\n<p>\u3053\u3061\u3089\u306f ChatGPT \u30b5\u30a4\u30c8\u306e\u30e6\u30fc\u30b6\u30fc\u5411\u3051\u3067\u3059\u3002<a href=\"https:\/\/chatgpt.com\/g\/g-QFTjbeK3U-matlab\" class=\"external\" rel=\"nofollow\" target=\"_blank\">\u30ab\u30b9\u30bf\u30e0 MATLAB GPT<\/a> \u306f\u73fe\u5728\u3001GPT-4o \u30e2\u30c7\u30eb\u3092\u4f7f\u7528\u3057\u3066\u3044\u307e\u3059\u304c\u3001\u7279\u306b MATLAB \u30e6\u30fc\u30b6\u30fc\u5411\u3051\u306b\u3044\u304f\u3064\u304b\u306e\u30ab\u30b9\u30bf\u30de\u30a4\u30ba\u304c\u65bd\u3055\u308c\u3066\u3044\u307e\u3059\u3002<span data-teams=\"true\"><span class=\"ui-provider a b c d e f g h i j k l m n o p q r s t u v w x y z ab ac ae af ag ah ai aj ak\" dir=\"ltr\">\u7279\u306b\u3001AI \u306f <a href=\"https:\/\/chatgpt.com\/g\/g-QFTjbeK3U-matlab\" class=\"external\" rel=\"nofollow\" target=\"_blank\">Retrieval Augmented Generation\uff08RAG\uff09<\/a>\u3092\u4f7f\u7528\u3057\u3066 MathWorks \u306e\u30a6\u30a7\u30d6\u30b5\u30a4\u30c8\u3092\u691c\u7d22\u3057\u3066\u304b\u3089\u56de\u7b54\u3092\u4f5c\u6210\u3057\u307e\u3059<\/span><\/span><\/p>\n<\/div>\n<div style=\"margin: 2px 10px 9px 4px; padding: 0px; line-height: 21px; min-height: 0px; white-space: pre-wrap; color: #212121; font-family: Helvetica, Arial, sans-serif; font-style: normal; font-size: 14px; font-weight: 400; text-align: left;\"><a href=\"https:\/\/chatgpt.com\/g\/g-QFTjbeK3U-matlab\" target=\"_blank\" rel=\"noopener nofollow\" class=\"external\"><img decoding=\"async\" loading=\"lazy\" class=\"imageNode\" style=\"vertical-align: baseline; width: 533px; height: 603px;\" src=\"http:\/\/blogs.mathworks.com\/matlab\/files\/2024\/10\/llm_4.png\" alt=\"\" width=\"533\" height=\"603\" \/><\/a><\/div>\n<div style=\"margin: 2px 10px 9px 4px; padding: 0px; line-height: 21px; min-height: 0px; white-space: pre-wrap; color: #212121; font-family: Helvetica, Arial, sans-serif; font-style: normal; font-size: 14px; font-weight: 400; text-align: left;\"><\/div>\n<\/div>\n<p><script type=\"text\/javascript\">var css = ''; var head = document.head || document.getElementsByTagName('head')[0], style = document.createElement('style'); head.appendChild(style); style.type = 'text\/css'; if (style.styleSheet){ style.styleSheet.cssText = css; } else { style.appendChild(document.createTextNode(css)); }<\/script><\/p>\n","protected":false},"excerpt":{"rendered":"<div class=\"overview-image\"><img decoding=\"async\"  class=\"img-responsive\" src=\"http:\/\/blogs.mathworks.com\/matlab\/files\/2024\/10\/llm_1.png\" onError=\"this.style.display ='none';\" \/><\/div>\n<p>\u203b\u3053\u306e\u6295\u7a3f\u306f 2024 \u5e74 10 \u6708 2 \u65e5\u306b The MATLAB Blog \u3078 \u6295\u7a3f\u3055\u308c\u305f\u3082\u306e\u306e\u6284\u8a33\u3067\u3059\u3002<\/p>\n<p>\u591a\u304f\u306e\u4eba\u3005\u304c\u5927\u898f\u6a21\u8a00\u8a9e\u30e2\u30c7\u30eb\uff08LLM\uff09\u306b\u3064\u3044\u3066\u8a71\u984c\u306b\u3057\u3001\u305d\u3057\u3066\u6d3b\u7528\u3082\u3055\u308c\u3066\u3044\u307e\u3059\u3002\u3053\u306e\u8a18\u4e8b\u3067\u306f MathWorks \u306e\u30a8\u30b3\u30b7\u30b9\u30c6\u30e0\u3067 LLM \u3092\u6d3b\u7528\u3059\u308b\u305f\u3081\u306e 4 \u3064\u306e\u65b9\u6cd5\u3092\u3054\u7d39\u4ecb\u3057\u307e\u3059\u3002<br \/>\n1. MATLAB AI Chat Playground<br \/>\n2023\u5e74\u306b\u30ea\u30ea\u30fc\u30b9\u3055\u308c\u305f\u306e\u304c&#8230; <a class=\"read-more\" href=\"https:\/\/blogs.mathworks.com\/japan-community\/2024\/11\/01\/4-ways-of-using-matlab-with-large-language-models-llms-such-as-chatgpt-and-ollama_jp\/\">read more >><\/a><\/p>\n","protected":false},"author":159,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[141,61,64],"tags":[],"_links":{"self":[{"href":"https:\/\/blogs.mathworks.com\/japan-community\/wp-json\/wp\/v2\/posts\/12536"}],"collection":[{"href":"https:\/\/blogs.mathworks.com\/japan-community\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blogs.mathworks.com\/japan-community\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blogs.mathworks.com\/japan-community\/wp-json\/wp\/v2\/users\/159"}],"replies":[{"embeddable":true,"href":"https:\/\/blogs.mathworks.com\/japan-community\/wp-json\/wp\/v2\/comments?post=12536"}],"version-history":[{"count":10,"href":"https:\/\/blogs.mathworks.com\/japan-community\/wp-json\/wp\/v2\/posts\/12536\/revisions"}],"predecessor-version":[{"id":12629,"href":"https:\/\/blogs.mathworks.com\/japan-community\/wp-json\/wp\/v2\/posts\/12536\/revisions\/12629"}],"wp:attachment":[{"href":"https:\/\/blogs.mathworks.com\/japan-community\/wp-json\/wp\/v2\/media?parent=12536"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blogs.mathworks.com\/japan-community\/wp-json\/wp\/v2\/categories?post=12536"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blogs.mathworks.com\/japan-community\/wp-json\/wp\/v2\/tags?post=12536"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}