{"id":75785,"date":"2024-11-14T08:00:00","date_gmt":"2024-11-13T23:00:00","guid":{"rendered":"https:\/\/www.creationline.com\/tech-blog\/?p=75785"},"modified":"2024-11-20T17:18:42","modified_gmt":"2024-11-20T08:18:42","slug":"langgraph%e3%81%ae%e4%bc%9a%e8%a9%b1%e5%b1%a5%e6%ad%b4%e3%82%92%e3%83%a1%e3%83%a2%e3%83%aa%e4%bf%9d%e6%8c%81%e3%81%97%e3%82%88%e3%81%86-ai-langgraph-azure-openai-llm-python","status":"publish","type":"post","link":"https:\/\/www.creationline.com\/tech-blog\/author\/higuchi\/75785","title":{"rendered":"LangGraph\u306e\u4f1a\u8a71\u5c65\u6b74\u3092\u30e1\u30e2\u30ea\u4fdd\u6301\u3057\u3088\u3046 #ai #langgraph #azure #openai #llm #python"},"content":{"rendered":"\n<h2 class=\"wp-block-heading\">\u306f\u3058\u3081\u306b<\/h2>\n\n\n\n<p>\u5f53\u30d6\u30ed\u30b0\u3067\u306f\u3053\u3053\u307e\u3067<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><a href=\"https:\/\/www.creationline.com\/tech-blog\/75615\" target=\"_blank\" rel=\"noreferrer noopener\">LangGraph\u3068Azure OpenAI\u3092\u7d44\u307f\u5408\u308f\u305b\u3066\u307f\u3088\u3046<\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/www.creationline.com\/tech-blog\/75652\" target=\"_blank\" rel=\"noreferrer noopener\">streamlit\u3067\u304a\u624b\u8efd\u30c1\u30e3\u30c3\u30c8WebUI\u3092\u4f5c\u308d\u3046<\/a><\/li>\n<\/ul>\n\n\n\n<p>\u306b\u3066\u3001<a href=\"https:\/\/langchain-ai.github.io\/langgraph\/\" target=\"_blank\" rel=\"noreferrer noopener\">LangGraph<\/a>\u3092\u4f7f\u3063\u3066<a href=\"https:\/\/azure.microsoft.com\/ja-jp\/products\/ai-services\/openai-service\" target=\"_blank\" rel=\"noreferrer noopener\">Azure OpenAI<\/a>\u3068\u3084\u308a\u3068\u308a\u3059\u308b\u65b9\u5f0f\u3092\u898b\u3066\u304d\u307e\u3057\u305f\u3002<\/p>\n\n\n\n<p>\u3053\u308c\u3089\u3067\u306e\u300c\u3084\u308a\u3068\u308a\u300d\u306f\u4e00\u554f\u4e00\u7b54\u30011\u56de\u304d\u308a\u3067\u3059\u3002\u8cea\u7591\u5fdc\u7b54\u306e\u5185\u5bb9\u306f\u76f4\u524d\u3067\u3042\u3063\u3066\u3082\u4e00\u5207\u899a\u3048\u3066\u3044\u307e\u305b\u3093\u3002\u305d\u306e\u305f\u3081\u672c\u5bb6 <a href=\"https:\/\/chatgpt.com\/\" target=\"_blank\" rel=\"noreferrer noopener\">ChatGPT<\/a> \u306e\u3088\u3046\u306b\u4f1a\u8a71\u3092\u7d9a\u3051\u3066\u60c5\u5831\u3092\u5f90\u3005\u306b\u3001\u3042\u308b\u3044\u306f\u6b21\u3005\u5f15\u304d\u51fa\u3057\u305f\u308a\u3001\u307e\u305f\u306f\u65b9\u5411\u6027\u3092\u8ecc\u9053\u4fee\u6b63\u3057\u305f\u308a\u3001\u3068\u3044\u3046\u3053\u3068\u304c\u3067\u304d\u307e\u305b\u3093\u3002<\/p>\n\n\n\n<p>\u305d\u3053\u3067\u672c\u7a3f\u3067\u306f\u3001LangGraph\u306e\u6a5f\u80fd\u3092\u4f7f\u3063\u3066\u3084\u308a\u3068\u308a\u306e\u5c65\u6b74\u3092\u30e1\u30e2\u30ea\u306b\u4fdd\u6301\u3057\u3001\u4f1a\u8a71\u304c\u3067\u304d\u308b\u3088\u3046\u306b\u3057\u3066\u307f\u307e\u3059\u3002<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">\u4f1a\u8a71\u5c65\u6b74\u3092\u4fdd\u6301\u3067\u304d\u306a\u3044\u30c1\u30e3\u30c3\u30c8\u30dc\u30c3\u30c8<\/h2>\n\n\n\n<p>\u6b21\u306f\u3084\u308a\u3068\u308a\u306e\u5c65\u6b74\u3092\u4fdd\u6301\u3067\u304d\u306a\u3044\u30c1\u30e3\u30c3\u30c8\u30dc\u30c3\u30c8\u306e\u4f8b\u3067\u3059\u3002<\/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=\"\">from typing import Annotated\nfrom typing_extensions import TypedDict\nfrom langgraph.graph import StateGraph, START, END\nfrom langgraph.graph.message import add_messages\nfrom langchain_core.messages import BaseMessage\nfrom langchain_openai import AzureChatOpenAI\nfrom yaspin import yaspin\n\nimport os\nfrom dotenv import load_dotenv\nload_dotenv()\n\n# os.getenv(\"AZURE_OPENAI_API_KEY\")\n# os.getenv(\"AZURE_OPENAI_ENDPOINT\")\nllm = AzureChatOpenAI(\n         azure_deployment = os.getenv(\"AZURE_OPENAI_MODEL_NAME\"),\n         api_version = os.getenv(\"AZURE_OPENAI_API_VERSION\"),\n         temperature = 0.95,\n         max_tokens = 1024,\n      )\n\nclass State(TypedDict):\n    messages: Annotated[list, add_messages]\n\ndef chatbot(state: State):\n    with yaspin(text=\"Processing\", color=\"yellow\") as spinner:\n        res = llm.invoke(state[\"messages\"])\n        spinner.ok(\"&#x2705; \")\n    return {\"messages\": res}\n\ngraph_builder = StateGraph(State)\ngraph_builder.add_node(\"chatbot\", chatbot)\ngraph_builder.set_entry_point(\"chatbot\")\ngraph_builder.set_finish_point(\"chatbot\")\n\ngraph = graph_builder.compile()\n\ndef stream_graph_updates(user_input: str):\n    events = graph.stream(\n        {\"messages\": [(\"user\", user_input)]},\n        stream_mode=\"values\"\n    )\n    for event in events:\n        print(event[\"messages\"][-1].content)\n\nwhile True:\n    try:\n        user_input = input(\"User: \")\n        if user_input.lower() in [\"quit\", \"exit\", \"q\"]:\n            print(\"Goodbye!\")\n            break\n        stream_graph_updates(user_input)\n    except Exception as e:\n        print(f\"error: {e}\")\n        break<\/pre>\n\n\n\n<p>\u3053\u308c\u3092\u5b9f\u884c\u3059\u308b\u3068 <code>User:<\/code> \u3068\u5165\u529b\u5f85\u3061\u306b\u306a\u308b\u306e\u3067\u3001\u81ea\u5df1\u7d39\u4ecb\u3057\u3066\u307f\u307e\u3057\u3087\u3046\u3002<\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">User: \u79c1\u306e\u540d\u524d\u306f\u30dc\u30d6\u3067\u3059\u3002\n\u79c1\u306e\u540d\u524d\u306f\u30dc\u30d6\u3067\u3059\u3002\n&#x2705;  Processing\n\u3053\u3093\u306b\u3061\u306f\u30dc\u30d6\u3055\u3093\uff01\u3069\u3046\u305e\u3088\u308d\u3057\u304f\u304a\u9858\u3044\u3057\u307e\u3059\u3002\u4f55\u304b\u304a\u624b\u4f1d\u3044\u3067\u304d\u308b\u3053\u3068\u304c\u3042\u308c\u3070\u3001\u6559\u3048\u3066\u304f\u3060\u3055\u3044\u3002\nUser: <\/pre>\n\n\n\n<p>\u304d\u3061\u3093\u3068\u540d\u524d\u3092\u547c\u3073\u8fd4\u3057\u3066\u304f\u308c\u307e\u3057\u305f\u3002\u7d9a\u3051\u3066 <code>User:<\/code> \u3068\u5165\u529b\u5f85\u3061\u306b\u306a\u308b\u306e\u3067\u3001\u4eca\u6559\u3048\u305f\u540d\u524d\u3092\u805e\u304d\u8fd4\u3057\u3066\u307f\u307e\u3057\u3087\u3046\u3002<\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">User: \u79c1\u306e\u540d\u524d\u306f\u30dc\u30d6\u3067\u3059\u3002\n\u79c1\u306e\u540d\u524d\u306f\u30dc\u30d6\u3067\u3059\u3002\n&#x2705;  Processing\n\u3053\u3093\u306b\u3061\u306f\u30dc\u30d6\u3055\u3093\uff01\u3069\u3046\u305e\u3088\u308d\u3057\u304f\u304a\u9858\u3044\u3057\u307e\u3059\u3002\u4f55\u304b\u304a\u624b\u4f1d\u3044\u3067\u304d\u308b\u3053\u3068\u304c\u3042\u308c\u3070\u3001\u6559\u3048\u3066\u304f\u3060\u3055\u3044\u3002\nUser: \u79c1\u306e\u540d\u524d\u306f\u4f55\u3067\u3059\u304b\uff1f\n\u79c1\u306e\u540d\u524d\u306f\u4f55\u3067\u3059\u304b\uff1f\n&#x2705;  Processing\n\u79c1\u306e\u77e5\u8b58\u30d9\u30fc\u30b9\u306b\u306f\u3001\u3042\u306a\u305f\u306e\u500b\u4eba\u60c5\u5831\u304c\u542b\u307e\u308c\u3066\u3044\u307e\u305b\u3093\u306e\u3067\u3001\u3042\u306a\u305f\u306e\u540d\u524d\u304c\u4f55\u3067\u3042\u308b\u304b\u3092\u77e5\u308b\u3053\u3068\u306f\u3067\u304d\u307e\u305b\u3093\u3002\u3042\u306a\u305f\u81ea\u8eab\u306b\u3088\u3063\u3066\u63d0\u4f9b\u3055\u308c\u306a\u3044\u9650\u308a\u3001\u3042\u306a\u305f\u306e\u540d\u524d\u3092\u77e5\u308b\u65b9\u6cd5\u306f\u3042\u308a\u307e\u305b\u3093\u3002\nUser: <\/pre>\n\n\n\n<p>\u76f4\u524d\u306b\u81ea\u5df1\u7d39\u4ecb\u3057\u3066\u3044\u305f\u306b\u3082\u95a2\u308f\u3089\u305a\u3001\u300c\u77e5\u3089\u306a\u3044\u300d\u3068\u306a\u3063\u3066\u3057\u307e\u3044\u307e\u3057\u305f\u3002\u3053\u308c\u306f\u3064\u307e\u308a\u3001\u76f4\u524d\u306e\u3084\u308a\u3068\u308a\u3092\u4e00\u5207\u899a\u3048\u3066\u3044\u306a\u3044\u3001\u53c2\u7167\u3057\u3066\u3044\u306a\u3044\u3053\u3068\u3092\u793a\u3057\u3066\u3044\u307e\u3059\u3002\u3053\u308c\u3067\u306f\u30c1\u30e3\u30c3\u30c8\u30dc\u30c3\u30c8\u3068\u3057\u3066\u4f7f\u3048\u307e\u305b\u3093\u3002<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">\u4f1a\u8a71\u5c65\u6b74\u3092\u30e1\u30e2\u30ea\u4fdd\u6301\u3059\u308b\u30c1\u30e3\u30c3\u30c8\u30dc\u30c3\u30c8<\/h2>\n\n\n\n<p>LangGraph\u306b\u306f\u72b6\u614b\u3092<a href=\"https:\/\/langchain-ai.github.io\/langgraph\/concepts\/persistence\/\" target=\"_blank\" rel=\"noreferrer noopener\">\u6c38\u7d9a\u5316<\/a>\u3059\u308b\u4ed5\u7d44\u307f\u304c\u3042\u308a\u307e\u3059\u306e\u3067\u3001\u3053\u308c\u3092\u5229\u7528\u3057\u3066\u4f1a\u8a71\u5c65\u6b74\u3092\u4fdd\u6301\u3067\u304d\u307e\u3059\u3002\u516c\u5f0f\u30c9\u30ad\u30e5\u30e1\u30f3\u30c8\u3067<a href=\"https:\/\/langchain-ai.github.io\/langgraph\/tutorials\/introduction\/#part-3-adding-memory-to-the-chatbot\" target=\"_blank\" rel=\"noreferrer noopener\">Adding Memory to the Chatbot<\/a>\u3068\u3057\u3066\u89e6\u308c\u3089\u308c\u3066\u3044\u308b\u65b9\u6cd5\u3067\u3059\u3002<\/p>\n\n\n\n<p>\u3053\u3053\u3067\u306f\u4f1a\u8a71\u5c65\u6b74\u3092\u30e1\u30e2\u30ea\u306b\u4fdd\u6301\u3059\u308b\u5f62\u5f0f\u3092\u53d6\u308b\u306e\u3067\u3001<a href=\"https:\/\/langchain-ai.github.io\/langgraph\/reference\/checkpoints\/#langgraph.checkpoint.memory.MemorySaver\" target=\"_blank\" rel=\"noreferrer noopener\">MemorySaver<\/a>\u3092\u4f7f\u3044\u307e\u3059\u3002<\/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=\"\">from langgraph.checkpoint.memory import MemorySaver<\/pre>\n\n\n\n<p>\u30b0\u30e9\u30d5\u3092\u30b3\u30f3\u30d1\u30a4\u30eb\u3059\u308b\u969b\u306b\u3001\u30e1\u30e2\u30ea\u306b\u72b6\u614b\u3092\u4fdd\u5b58\u3059\u308b\u3088\u3046\u306b\u6307\u5b9a\u3057\u307e\u3059\u3002LangGraph\u306e\u7528\u8a9e\u3067\u3001\u4fdd\u5b58\u3059\u308b\u72b6\u614b\u306e\u30b9\u30ca\u30c3\u30d7\u30b7\u30e7\u30c3\u30c8\u3092 <code>Checkpoint<\/code> \u3068\u547c\u3073\u3001\u5b9f\u969b\u306b\u4fdd\u5b58\u3059\u308b\u4ed5\u7d44\u307f\u3092 <code>Checkpointer<\/code> \u3068\u547c\u3073\u307e\u3059\u3002<\/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=\"\">memory = MemorySaver()\ngraph = graph_builder.compile(checkpointer=memory)<\/pre>\n\n\n\n<p>Checkpointer \u306b\u3088\u3063\u3066\u4fdd\u5b58\u3055\u308c\u305f\u5404 Checkpoint \u306b\u306f\u3001\u4e00\u610f\u306eID\u3092\u5272\u308a\u5f53\u3066\u307e\u3059\u3002\u3053\u308c\u3092LangGraph\u306e\u7528\u8a9e\u3067 <code>Thread<\/code> \u3068\u547c\u3073\u307e\u3059\u3002\u3053\u3053\u3067\u306f Thread \u306eID\u3092 <code>1<\/code> \u3068\u3057\u3066\u56fa\u5b9a\u3057\u3066\u3044\u307e\u3059\u3002<\/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=\"\">    events = graph.stream(\n        {\"messages\": [(\"user\", user_input)]},\n        {\"configurable\": {\"thread_id\": \"1\"}},\n        stream_mode=\"values\" \n    )<\/pre>\n\n\n\n<p>\u524d\u9805\u306e\u300c\u4f1a\u8a71\u5c65\u6b74\u3092\u4fdd\u6301\u3067\u304d\u306a\u3044\u30c1\u30e3\u30c3\u30c8\u30dc\u30c3\u30c8\u300d\u3068\u306e\u5dee\u5206\u306f\u6b21\u306e\u3088\u3046\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"diff\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">--- 23_chatbot_nomem.py    2024-11-08 18:16:32.580373788 +0900\n+++ 23_chatbot_simple.py    2024-11-08 18:25:42.232364204 +0900\n@@ -6,6 +6,7 @@\n from langgraph.graph.message import add_messages\n from langchain_core.messages import BaseMessage\n from langchain_openai import AzureChatOpenAI\n+from langgraph.checkpoint.memory import MemorySaver\n from yaspin import yaspin\n\n import os\n@@ -35,11 +36,13 @@\n graph_builder.set_entry_point(\"chatbot\")\n graph_builder.set_finish_point(\"chatbot\")\n\n-graph = graph_builder.compile()\n+memory = MemorySaver()\n+graph = graph_builder.compile(checkpointer=memory)\n\n def stream_graph_updates(user_input: str):\n     events = graph.stream(\n         {\"messages\": [(\"user\", user_input)]},\n+        {\"configurable\": {\"thread_id\": \"1\"}},\n         stream_mode=\"values\"\n     )\n     for event in events:<\/pre>\n\n\n\n<p>\u5168\u4f53\u306e\u30b3\u30fc\u30c9\u306f\u6b21\u306e\u901a\u308a\u3067\u3059\u3002<\/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=\"\">from typing import Annotated\nfrom typing_extensions import TypedDict\nfrom langgraph.graph import StateGraph, START, END\nfrom langgraph.graph.message import add_messages\nfrom langchain_core.messages import BaseMessage\nfrom langchain_openai import AzureChatOpenAI\nfrom langgraph.checkpoint.memory import MemorySaver\nfrom yaspin import yaspin\n\nimport os\nfrom dotenv import load_dotenv\nload_dotenv()\n\n# os.getenv(\"AZURE_OPENAI_API_KEY\")\n# os.getenv(\"AZURE_OPENAI_ENDPOINT\")\nllm = AzureChatOpenAI(\n         azure_deployment = os.getenv(\"AZURE_OPENAI_MODEL_NAME\"),\n         api_version = os.getenv(\"AZURE_OPENAI_API_VERSION\"),\n         temperature = 0.95,\n         max_tokens = 1024,\n      )\n\nclass State(TypedDict):\n    messages: Annotated[list, add_messages]\n\ndef chatbot(state: State):\n    with yaspin(text=\"Processing\", color=\"yellow\") as spinner:\n        res = llm.invoke(state[\"messages\"])\n        spinner.ok(\"&#x2705; \")\n    return {\"messages\": res}\n\ngraph_builder = StateGraph(State)\ngraph_builder.add_node(\"chatbot\", chatbot)\ngraph_builder.set_entry_point(\"chatbot\")\ngraph_builder.set_finish_point(\"chatbot\")\n\nmemory = MemorySaver()\ngraph = graph_builder.compile(checkpointer=memory)\n\ndef stream_graph_updates(user_input: str):\n    events = graph.stream(\n        {\"messages\": [(\"user\", user_input)]},\n        {\"configurable\": {\"thread_id\": \"1\"}},\n        stream_mode=\"values\"\n    )\n    for event in events:\n        print(event[\"messages\"][-1].content)\n\nwhile True:\n    try:\n        user_input = input(\"User: \")\n        if user_input.lower() in [\"quit\", \"exit\", \"q\"]:\n            print(\"Goodbye!\")\n            break\n        stream_graph_updates(user_input)\n    except Exception as e:\n        print(f\"error: {e}\")\n        break<\/pre>\n\n\n\n<p>\u3067\u306f\u3001\u5b9f\u969b\u306b\u52d5\u304b\u3057\u3066\u307f\u307e\u3057\u3087\u3046\u3002\u300c\u4f1a\u8a71\u5c65\u6b74\u3092\u4fdd\u6301\u3067\u304d\u306a\u3044\u30c1\u30e3\u30c3\u30c8\u30dc\u30c3\u30c8\u300d\u3068\u540c\u3058\u304f\u3001\u81ea\u5df1\u7d39\u4ecb\u304b\u3089\u59cb\u3081\u307e\u3059\u3002<\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">User: \u79c1\u306e\u540d\u524d\u306f\u30dc\u30d6\u3067\u3059\u3002\n\u79c1\u306e\u540d\u524d\u306f\u30dc\u30d6\u3067\u3059\u3002\n&#x2705;  Processing\n\u3053\u3093\u306b\u3061\u306f\u3001\u30dc\u30d6\u3055\u3093\u3002\u3069\u3046\u305e\u3088\u308d\u3057\u304f\u304a\u9858\u3044\u3057\u307e\u3059\u3002\u4f55\u304b\u304a\u624b\u4f1d\u3044\u3067\u304d\u308b\u3053\u3068\u304c\u3042\u308c\u3070\u3001\u304a\u77e5\u3089\u305b\u304f\u3060\u3055\u3044\u3002\nUser: <\/pre>\n\n\n\n<p>\u3053\u3053\u3067\u805e\u304d\u8fd4\u3057\u3066\u307f\u307e\u3057\u3087\u3046\u3002<\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">User: \u79c1\u306e\u540d\u524d\u306f\u30dc\u30d6\u3067\u3059\u3002\n\u79c1\u306e\u540d\u524d\u306f\u30dc\u30d6\u3067\u3059\u3002\n&#x2705;  Processing\n\u3053\u3093\u306b\u3061\u306f\u3001\u30dc\u30d6\u3055\u3093\u3002\u3069\u3046\u305e\u3088\u308d\u3057\u304f\u304a\u9858\u3044\u3057\u307e\u3059\u3002\u4f55\u304b\u304a\u624b\u4f1d\u3044\u3067\u304d\u308b\u3053\u3068\u304c\u3042\u308c\u3070\u3001\u304a\u77e5\u3089\u305b\u304f\u3060\u3055\u3044\u3002\nUser: \u79c1\u306e\u540d\u524d\u306f\u4f55\u3067\u3059\u304b\uff1f\n\u79c1\u306e\u540d\u524d\u306f\u4f55\u3067\u3059\u304b\uff1f\n&#x2705;  Processing\n\u3042\u306a\u305f\u306e\u540d\u524d\u306f\u30dc\u30d6\u3060\u3068\u304a\u3063\u3057\u3083\u3044\u307e\u3057\u305f\u3002\nUser: <\/pre>\n\n\n\n<p>\u540d\u524d\u3092\u899a\u3048\u3066\u3044\u307e\u3057\u305f\uff01 \u3055\u3089\u306b\u8eab\u9577\u30fb\u4f53\u91cd\u3092\u4f1d\u3048\u3066\u307f\u307e\u3057\u3087\u3046\u3002<\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">User: \u79c1\u306e\u540d\u524d\u306f\u4f55\u3067\u3059\u304b\uff1f\n\u79c1\u306e\u540d\u524d\u306f\u4f55\u3067\u3059\u304b\uff1f\n&#x2705;  Processing\n\u3042\u306a\u305f\u306e\u540d\u524d\u306f\u30dc\u30d6\u3060\u3068\u304a\u3063\u3057\u3083\u3044\u307e\u3057\u305f\u3002\nUser: \u79c1\u306f\u8eab\u9577193cm\u3001\u4f53\u91cd95kg\u3067\u3059\u3002\n\u79c1\u306f\u8eab\u9577193cm\u3001\u4f53\u91cd95kg\u3067\u3059\u3002\n&#x2705;  Processing\n\u4e86\u89e3\u3057\u307e\u3057\u305f\u3002\u3042\u306a\u305f\u306f\u8eab\u9577193cm\u3001\u4f53\u91cd95kg\u3067\u3059\u306d\u3002\u4f55\u304b\u7279\u5b9a\u306e\u60c5\u5831\u3084\u8cea\u554f\u304c\u3042\u308c\u3070\u3001\u304a\u6c17\u8efd\u306b\u3069\u3046\u305e\u3002\nUser: <\/pre>\n\n\n\n<p>\u899a\u3048\u3066\u304f\u308c\u305f\u3088\u3046\u3067\u3059\u306d\u3002\u30d7\u30ed\u30d5\u30a3\u30fc\u30eb\u3092\u805e\u3044\u3066\u307f\u307e\u3057\u3087\u3046\u3002<\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">User: \u79c1\u306f\u8eab\u9577193cm\u3001\u4f53\u91cd95kg\u3067\u3059\u3002\n\u79c1\u306f\u8eab\u9577193cm\u3001\u4f53\u91cd95kg\u3067\u3059\u3002\n&#x2705;  Processing\n\u4e86\u89e3\u3057\u307e\u3057\u305f\u3002\u3042\u306a\u305f\u306f\u8eab\u9577193cm\u3001\u4f53\u91cd95kg\u3067\u3059\u306d\u3002\u4f55\u304b\u7279\u5b9a\u306e\u60c5\u5831\u3084\u8cea\u554f\u304c\u3042\u308c\u3070\u3001\u304a\u6c17\u8efd\u306b\u3069\u3046\u305e\u3002\nUser: \u79c1\u306e\u30d7\u30ed\u30d5\u30a3\u30fc\u30eb\u3092\u6559\u3048\u3066\u304f\u3060\u3055\u3044\u3002\n\u79c1\u306e\u30d7\u30ed\u30d5\u30a3\u30fc\u30eb\u3092\u6559\u3048\u3066\u304f\u3060\u3055\u3044\u3002\n&#x2705;  Processing\n\u3042\u306a\u305f\u304c\u63d0\u4f9b\u3057\u305f\u60c5\u5831\u306b\u57fa\u3065\u3044\u3066\u3001\u4ee5\u4e0b\u306e\u3088\u3046\u306a\u30d7\u30ed\u30d5\u30a3\u30fc\u30eb\u3092\u307e\u3068\u3081\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\uff1a\n\n- \u540d\u524d: \u30dc\u30d6\n- \u8eab\u9577: 193cm\n- \u4f53\u91cd: 95kg\n\n\u3053\u306e\u60c5\u5831\u4ee5\u5916\u306b\u3082\u3001\u3042\u306a\u305f\u306e\u8da3\u5473\u3001\u8208\u5473\u3001\u8077\u696d\u306a\u3069\u3001\u3055\u3089\u306b\u8a73\u3057\u3044\u30d7\u30ed\u30d5\u30a3\u30fc\u30eb\u3092\u5171\u6709\u3057\u305f\u3044\u5834\u5408\u306f\u3001\u8ffd\u52a0\u60c5\u5831\u3092\u6559\u3048\u3066\u304f\u3060\u3055\u3044\u3002\u30d7\u30ed\u30d5\u30a3\u30fc\u30eb\u306f\u500b\u4eba\u3092\u3088\u308a\u3088\u304f\u7406\u89e3\u3059\u308b\u305f\u3081\u306e\u57fa\u672c\u7684\u306a\u30c7\u30fc\u30bf\u3084\u8208\u5473\u3001\u6d3b\u52d5\u306a\u3069\u306b\u57fa\u3065\u3044\u3066\u4f5c\u6210\u3055\u308c\u307e\u3059\u3002\nUser: <\/pre>\n\n\n\n<p>\u76f4\u524d\u306e\u8eab\u9577\u30fb\u4f53\u91cd\u3060\u3051\u3067\u306a\u304f\u3001\u6700\u521d\u306b\u6559\u3048\u305f\u540d\u524d\u3082\u304d\u3061\u3093\u3068\u8fd4\u3057\u3066\u304f\u308c\u307e\u3057\u305f\u3002<\/p>\n\n\n\n<p>\u4e00\u65e6\u7d42\u4e86\u3057\u3066\u307f\u307e\u3057\u3087\u3046\u3002\u3053\u306e\u30b9\u30af\u30ea\u30d7\u30c8\u3067\u306f <code>quit<\/code> \u3068\u5165\u529b\u3059\u308b\u3068\u7d42\u4e86\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">\u3053\u306e\u60c5\u5831\u4ee5\u5916\u306b\u3082\u3001\u3042\u306a\u305f\u306e\u8da3\u5473\u3001\u8208\u5473\u3001\u8077\u696d\u306a\u3069\u3001\u3055\u3089\u306b\u8a73\u3057\u3044\u30d7\u30ed\u30d5\u30a3\u30fc\u30eb\u3092\u5171\u6709\u3057\u305f\u3044\u5834\u5408\u306f\u3001\u8ffd\u52a0\u60c5\u5831\u3092\u6559\u3048\u3066\u304f\u3060\u3055\u3044\u3002\u30d7\u30ed\u30d5\u30a3\u30fc\u30eb\u306f\u500b\u4eba\u3092\u3088\u308a\u3088\u304f\u7406\u89e3\u3059\u308b\u305f\u3081\u306e\u57fa\u672c\u7684\u306a\u30c7\u30fc\u30bf\u3084\u8208\u5473\u3001\u6d3b\u52d5\u306a\u3069\u306b\u57fa\u3065\u3044\u3066\u4f5c\u6210\u3055\u308c\u307e\u3059\u3002\nUser: quit\nGoodbye!<\/pre>\n\n\n\n<p>\u518d\u5ea6\u30b9\u30af\u30ea\u30d7\u30c8\u3092\u5b9f\u884c\u3057\u3001\u30d7\u30ed\u30d5\u30a3\u30fc\u30eb\u3092\u805e\u3044\u3066\u307f\u307e\u3059\u3002<\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">User: \u79c1\u306e\u30d7\u30ed\u30d5\u30a3\u30fc\u30eb\u3092\u6559\u3048\u3066\u304f\u3060\u3055\u3044\u3002\n\u79c1\u306e\u30d7\u30ed\u30d5\u30a3\u30fc\u30eb\u3092\u6559\u3048\u3066\u304f\u3060\u3055\u3044\u3002\n&#x2705;  Processing\n\u3059\u307f\u307e\u305b\u3093\u304c\u3001\u79c1\u306f\u3042\u306a\u305f\u306e\u30d7\u30ed\u30d5\u30a3\u30fc\u30eb\u306b\u95a2\u3059\u308b\u60c5\u5831\u3092\u6301\u3063\u3066\u3044\u307e\u305b\u3093\u3002\u79c1\u306fOpenAI\u306e\u4eba\u5de5\u77e5\u80fd\u30a2\u30b7\u30b9\u30bf\u30f3\u30c8\u3067\u3001\u500b\u4eba\u60c5\u5831\u3084\u30e6\u30fc\u30b6\u30fc\u30d7\u30ed\u30d5\u30a3\u30fc\u30eb\u306b\u30a2\u30af\u30bb\u30b9\u3059\u308b\u80fd\u529b\u304c\u3042\u308a\u307e\u305b\u3093\u3002\u79c1\u306e\u76ee\u7684\u306f\u3001\u8cea\u554f\u306b\u7b54\u3048\u305f\u308a\u3001\u4e00\u822c\u7684\u306a\u60c5\u5831\u3092\u63d0\u4f9b\u3057\u305f\u308a\u3059\u308b\u3053\u3068\u3067\u3059\u3002\u30d7\u30e9\u30a4\u30d0\u30b7\u30fc\u3068\u30bb\u30ad\u30e5\u30ea\u30c6\u30a3\u3092\u4fdd\u3064\u305f\u3081\u3001\u3053\u306e\u3088\u3046\u306a\u30b7\u30b9\u30c6\u30e0\u304c\u8a2d\u8a08\u3055\u308c\u3066\u3044\u307e\u3059\u3002\u4f55\u304b\u8cea\u554f\u304c\u3042\u308c\u3070\u3001\u305d\u308c\u306b\u95a2\u3059\u308b\u60c5\u5831\u3092\u63d0\u4f9b\u3059\u308b\u624b\u52a9\u3051\u3092\u3059\u308b\u3053\u3068\u306f\u3067\u304d\u307e\u3059\u304c\u3001\u500b\u4eba\u7684\u306a\u60c5\u5831\u306b\u3064\u3044\u3066\u306f\u304a\u624b\u4f1d\u3044\u3067\u304d\u307e\u305b\u3093\u3002\nUser:<\/pre>\n\n\n\n<p>\u4eca\u56de\u306f\u30e1\u30e2\u30ea\u306b\u8a18\u61b6\u3057\u3066\u3044\u308b\u306e\u3067\u3001\u30b9\u30af\u30ea\u30d7\u30c8\u3092\u4e00\u65e6\u7d42\u4e86\u3057\u305f\u3053\u3068\u306b\u3088\u308a\u30e1\u30e2\u30ea\u304c\u30af\u30ea\u30a2\u3055\u308c\u3001\u5148\u7a0b\u306e\u4f1a\u8a71\u306e\u5185\u5bb9\u3092\u3059\u3079\u3066\u5fd8\u308c\u3066\u3057\u307e\u3063\u305f\u3053\u3068\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">\u307e\u3068\u3081<\/h2>\n\n\n\n<p>\u672c\u7a3f\u3067\u306f\u3001LangGraph\u306e\u6a5f\u80fd\u3092\u4f7f\u3063\u3066\u3001\u751f\u6210AI\u3068\u306e\u3084\u308a\u3068\u308a\u306e\u5c65\u6b74\u3092\u30e1\u30e2\u30ea\u306b\u4fdd\u6301\u3057\u3001\u4f1a\u8a71\u304c\u3064\u306a\u304c\u308b\u3088\u3046\u306b\u3057\u3066\u307f\u307e\u3057\u305f\u3002\u307e\u305f\u4e00\u6b69\u3001\u5b9f\u7528\u7684\u306a\u30c1\u30e3\u30c3\u30c8\u30dc\u30c3\u30c8\u306b\u8fd1\u3065\u3044\u305f\u3053\u3068\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u305f\u3060\u5148\u306b\u8ff0\u3079\u305f\u901a\u308a\u3001\u4e00\u65e6\u30b9\u30af\u30ea\u30d7\u30c8\u3092\u518d\u8d77\u52d5\u3059\u308b\u3068\u4f1a\u8a71\u304c\u3064\u306a\u304c\u3089\u306a\u304b\u3063\u305f\u308a\u3001\u30b3\u30f3\u30bd\u30fc\u30eb\u30a2\u30d7\u30ea\u3067\u3042\u308b\u305f\u3081\u4f7f\u3044\u52dd\u624b\u304c\u3088\u304f\u306a\u304b\u3063\u305f\u308a\u3068\u3001\u307e\u3060\u307e\u3060\u5b9f\u7528\u306b\u306f\u9060\u3044\u3067\u3059\u3002<\/p>\n\n\n\n<p>\u5f15\u304d\u7d9a\u304d\u3001\u5b9f\u7528\u7684\u306a\u30c1\u30e3\u30c3\u30c8\u30dc\u30c3\u30c8\u306b\u5411\u3051\u3066\u6bb5\u968e\u7684\u306b\u5f37\u5316\u30fb\u6539\u826f\u3092\u9032\u3081\u3066\u3044\u304d\u307e\u3059\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u306f\u3058\u3081\u306b \u5f53\u30d6\u30ed\u30b0\u3067\u306f\u3053\u3053\u307e\u3067 \u306b\u3066\u3001LangGraph\u3092\u4f7f\u3063\u3066Azure OpenAI\u3068\u3084\u308a\u3068\u308a\u3059\u308b\u65b9\u5f0f\u3092\u898b\u3066\u304d\u307e\u3057\u305f\u3002 \u3053\u308c\u3089\u3067\u306e\u300c\u3084\u308a\u3068\u308a\u300d\u306f\u4e00\u554f\u4e00\u7b54\u30011\u56de\u304d\u308a\u3067\u3059\u3002\u8cea\u7591\u5fdc\u7b54\u306e\u5185\u5bb9\u306f\u76f4\u524d\u3067\u3042\u3063\u3066\u3082\u4e00\u5207\u899a\u3048\u3066\u3044\u307e\u305b\u3093 [&#8230;]<\/p>\n","protected":false},"author":2,"featured_media":75893,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"content-type":"","footnotes":""},"categories":[779,58,817,31,1004,323],"tags":[],"class_list":["post-75785","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-ai","category-azure","category-chatgpt-ai","category-higuchi","category-llm","category-python"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.4 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>LangGraph\u306e\u4f1a\u8a71\u5c65\u6b74\u3092\u30e1\u30e2\u30ea\u4fdd\u6301\u3057\u3088\u3046 #ai #langgraph #azure #openai #llm #python - Tech Blog\uff5c\u30af\u30ea\u30a8\u30fc\u30b7\u30e7\u30f3\u30e9\u30a4\u30f3<\/title>\n<meta name=\"description\" content=\"AI, Azure, ChatGPT\uff06AI, d-higuchi, LLM, Python |\u306f\u3058\u3081\u306b \u5f53\u30d6\u30ed\u30b0\u3067\u306f\u3053\u3053\u307e\u3067 LangGraph\u3068Azure OpenAI\u3092\u7d44\u307f\u5408\u308f\u305b\u3066\u307f\u3088\u3046 streamlit\u3067\u304a\u624b\u8efd\u30c1\u30e3\u30c3\u30c8WebUI\u3092\u4f5c\u308d\u3046\" \/>\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\/author\/higuchi\/75785\" \/>\n<meta property=\"og:locale\" content=\"ja_JP\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"LangGraph\u306e\u4f1a\u8a71\u5c65\u6b74\u3092\u30e1\u30e2\u30ea\u4fdd\u6301\u3057\u3088\u3046 #ai #langgraph #azure #openai #llm #python - Tech Blog\uff5c\u30af\u30ea\u30a8\u30fc\u30b7\u30e7\u30f3\u30e9\u30a4\u30f3\" \/>\n<meta property=\"og:description\" content=\"AI, Azure, ChatGPT\uff06AI, d-higuchi, LLM, Python |\u306f\u3058\u3081\u306b \u5f53\u30d6\u30ed\u30b0\u3067\u306f\u3053\u3053\u307e\u3067 LangGraph\u3068Azure OpenAI\u3092\u7d44\u307f\u5408\u308f\u305b\u3066\u307f\u3088\u3046 streamlit\u3067\u304a\u624b\u8efd\u30c1\u30e3\u30c3\u30c8WebUI\u3092\u4f5c\u308d\u3046\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.creationline.com\/tech-blog\/author\/higuchi\/75785\" \/>\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=\"2024-11-13T23:00:00+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-11-20T08:18:42+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.creationline.com\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2024\/11\/langgraph-checkpoint-memory_eyecatch.png\" \/>\n\t<meta property=\"og:image:width\" content=\"1280\" \/>\n\t<meta property=\"og:image:height\" content=\"785\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"Daisuke Higuchi\" \/>\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=\"Daisuke Higuchi\" \/>\n\t<meta name=\"twitter:label2\" content=\"\u63a8\u5b9a\u8aad\u307f\u53d6\u308a\u6642\u9593\" \/>\n\t<meta name=\"twitter:data2\" content=\"3\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\\\/author\\\/higuchi\\\/75785#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/author\\\/higuchi\\\/75785\"},\"author\":{\"name\":\"Daisuke Higuchi\",\"@id\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/#\\\/schema\\\/person\\\/16f1373831fb6fd17387f16ae1195206\"},\"headline\":\"LangGraph\u306e\u4f1a\u8a71\u5c65\u6b74\u3092\u30e1\u30e2\u30ea\u4fdd\u6301\u3057\u3088\u3046 #ai #langgraph #azure #openai #llm #python\",\"datePublished\":\"2024-11-13T23:00:00+00:00\",\"dateModified\":\"2024-11-20T08:18:42+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/author\\\/higuchi\\\/75785\"},\"wordCount\":33,\"image\":{\"@id\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/author\\\/higuchi\\\/75785#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/cms_x3GWkuX\\\/wp-content\\\/uploads\\\/2024\\\/11\\\/langgraph-checkpoint-memory_eyecatch.png\",\"articleSection\":[\"AI\",\"Azure\",\"ChatGPT\uff06AI\",\"d-higuchi\",\"LLM\",\"Python\"],\"inLanguage\":\"ja\"},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/author\\\/higuchi\\\/75785\",\"url\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/author\\\/higuchi\\\/75785\",\"name\":\"LangGraph\u306e\u4f1a\u8a71\u5c65\u6b74\u3092\u30e1\u30e2\u30ea\u4fdd\u6301\u3057\u3088\u3046 #ai #langgraph #azure #openai #llm #python - 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\\\/author\\\/higuchi\\\/75785#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/author\\\/higuchi\\\/75785#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/cms_x3GWkuX\\\/wp-content\\\/uploads\\\/2024\\\/11\\\/langgraph-checkpoint-memory_eyecatch.png\",\"datePublished\":\"2024-11-13T23:00:00+00:00\",\"dateModified\":\"2024-11-20T08:18:42+00:00\",\"author\":{\"@id\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/#\\\/schema\\\/person\\\/16f1373831fb6fd17387f16ae1195206\"},\"description\":\"AI, Azure, ChatGPT\uff06AI, d-higuchi, LLM, Python |\u306f\u3058\u3081\u306b \u5f53\u30d6\u30ed\u30b0\u3067\u306f\u3053\u3053\u307e\u3067 LangGraph\u3068Azure OpenAI\u3092\u7d44\u307f\u5408\u308f\u305b\u3066\u307f\u3088\u3046 streamlit\u3067\u304a\u624b\u8efd\u30c1\u30e3\u30c3\u30c8WebUI\u3092\u4f5c\u308d\u3046\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/author\\\/higuchi\\\/75785#breadcrumb\"},\"inLanguage\":\"ja\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/author\\\/higuchi\\\/75785\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"ja\",\"@id\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/author\\\/higuchi\\\/75785#primaryimage\",\"url\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/cms_x3GWkuX\\\/wp-content\\\/uploads\\\/2024\\\/11\\\/langgraph-checkpoint-memory_eyecatch.png\",\"contentUrl\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/cms_x3GWkuX\\\/wp-content\\\/uploads\\\/2024\\\/11\\\/langgraph-checkpoint-memory_eyecatch.png\",\"width\":1280,\"height\":785},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/author\\\/higuchi\\\/75785#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"HOME\",\"item\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"\u8457\u8005\uff08Author\uff09\",\"item\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/author\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"d-higuchi\",\"item\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/author\\\/higuchi\"},{\"@type\":\"ListItem\",\"position\":4,\"name\":\"LangGraph\u306e\u4f1a\u8a71\u5c65\u6b74\u3092\u30e1\u30e2\u30ea\u4fdd\u6301\u3057\u3088\u3046 #ai #langgraph #azure #openai #llm #python\"}]},{\"@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\\\/16f1373831fb6fd17387f16ae1195206\",\"name\":\"Daisuke Higuchi\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"ja\",\"@id\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/cms_x3GWkuX\\\/wp-content\\\/uploads\\\/2023\\\/08\\\/d-higuchi-wp-icon-230x230.png\",\"url\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/cms_x3GWkuX\\\/wp-content\\\/uploads\\\/2023\\\/08\\\/d-higuchi-wp-icon-230x230.png\",\"contentUrl\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/cms_x3GWkuX\\\/wp-content\\\/uploads\\\/2023\\\/08\\\/d-higuchi-wp-icon-230x230.png\",\"caption\":\"Daisuke Higuchi\"},\"description\":\"Chef\u30fbDocker\u30fbMirantis\u88fd\u54c1\u306a\u3069\u306e\u6280\u8853\u8981\u7d20\u306b\u52a0\u3048\u3066\u3001\u4f1a\u8b70\u306e\u9032\u3081\u65b9\u30fb\u6587\u7ae0\u306e\u66f8\u304d\u65b9\u306a\u3069\u306e\u696d\u52d9\u6539\u5584\u306b\u3082\u53d6\u308a\u7d44\u3093\u3067\u3044\u307e\u3059\u3002\u300cChef\u6d3b\u7528\u30ac\u30a4\u30c9\u300d\u5171\u8457\u306e\u307b\u304b\u3001Debian Official Developer\u3082\u3084\u3063\u3066\u3044\u307e\u3059\u3002\",\"url\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/author\\\/higuchi\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"LangGraph\u306e\u4f1a\u8a71\u5c65\u6b74\u3092\u30e1\u30e2\u30ea\u4fdd\u6301\u3057\u3088\u3046 #ai #langgraph #azure #openai #llm #python - Tech Blog\uff5c\u30af\u30ea\u30a8\u30fc\u30b7\u30e7\u30f3\u30e9\u30a4\u30f3","description":"AI, Azure, ChatGPT\uff06AI, d-higuchi, LLM, Python |\u306f\u3058\u3081\u306b \u5f53\u30d6\u30ed\u30b0\u3067\u306f\u3053\u3053\u307e\u3067 LangGraph\u3068Azure OpenAI\u3092\u7d44\u307f\u5408\u308f\u305b\u3066\u307f\u3088\u3046 streamlit\u3067\u304a\u624b\u8efd\u30c1\u30e3\u30c3\u30c8WebUI\u3092\u4f5c\u308d\u3046","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\/author\/higuchi\/75785","og_locale":"ja_JP","og_type":"article","og_title":"LangGraph\u306e\u4f1a\u8a71\u5c65\u6b74\u3092\u30e1\u30e2\u30ea\u4fdd\u6301\u3057\u3088\u3046 #ai #langgraph #azure #openai #llm #python - Tech Blog\uff5c\u30af\u30ea\u30a8\u30fc\u30b7\u30e7\u30f3\u30e9\u30a4\u30f3","og_description":"AI, Azure, ChatGPT\uff06AI, d-higuchi, LLM, Python |\u306f\u3058\u3081\u306b \u5f53\u30d6\u30ed\u30b0\u3067\u306f\u3053\u3053\u307e\u3067 LangGraph\u3068Azure OpenAI\u3092\u7d44\u307f\u5408\u308f\u305b\u3066\u307f\u3088\u3046 streamlit\u3067\u304a\u624b\u8efd\u30c1\u30e3\u30c3\u30c8WebUI\u3092\u4f5c\u308d\u3046","og_url":"https:\/\/www.creationline.com\/tech-blog\/author\/higuchi\/75785","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":"2024-11-13T23:00:00+00:00","article_modified_time":"2024-11-20T08:18:42+00:00","og_image":[{"width":1280,"height":785,"url":"https:\/\/www.creationline.com\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2024\/11\/langgraph-checkpoint-memory_eyecatch.png","type":"image\/png"}],"author":"Daisuke Higuchi","twitter_card":"summary_large_image","twitter_creator":"@creationline","twitter_site":"@creationline","twitter_misc":{"\u57f7\u7b46\u8005":"Daisuke Higuchi","\u63a8\u5b9a\u8aad\u307f\u53d6\u308a\u6642\u9593":"3\u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.creationline.com\/tech-blog\/author\/higuchi\/75785#article","isPartOf":{"@id":"https:\/\/www.creationline.com\/tech-blog\/author\/higuchi\/75785"},"author":{"name":"Daisuke Higuchi","@id":"https:\/\/www.creationline.com\/tech-blog\/#\/schema\/person\/16f1373831fb6fd17387f16ae1195206"},"headline":"LangGraph\u306e\u4f1a\u8a71\u5c65\u6b74\u3092\u30e1\u30e2\u30ea\u4fdd\u6301\u3057\u3088\u3046 #ai #langgraph #azure #openai #llm #python","datePublished":"2024-11-13T23:00:00+00:00","dateModified":"2024-11-20T08:18:42+00:00","mainEntityOfPage":{"@id":"https:\/\/www.creationline.com\/tech-blog\/author\/higuchi\/75785"},"wordCount":33,"image":{"@id":"https:\/\/www.creationline.com\/tech-blog\/author\/higuchi\/75785#primaryimage"},"thumbnailUrl":"https:\/\/www.creationline.com\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2024\/11\/langgraph-checkpoint-memory_eyecatch.png","articleSection":["AI","Azure","ChatGPT\uff06AI","d-higuchi","LLM","Python"],"inLanguage":"ja"},{"@type":"WebPage","@id":"https:\/\/www.creationline.com\/tech-blog\/author\/higuchi\/75785","url":"https:\/\/www.creationline.com\/tech-blog\/author\/higuchi\/75785","name":"LangGraph\u306e\u4f1a\u8a71\u5c65\u6b74\u3092\u30e1\u30e2\u30ea\u4fdd\u6301\u3057\u3088\u3046 #ai #langgraph #azure #openai #llm #python - 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\/author\/higuchi\/75785#primaryimage"},"image":{"@id":"https:\/\/www.creationline.com\/tech-blog\/author\/higuchi\/75785#primaryimage"},"thumbnailUrl":"https:\/\/www.creationline.com\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2024\/11\/langgraph-checkpoint-memory_eyecatch.png","datePublished":"2024-11-13T23:00:00+00:00","dateModified":"2024-11-20T08:18:42+00:00","author":{"@id":"https:\/\/www.creationline.com\/tech-blog\/#\/schema\/person\/16f1373831fb6fd17387f16ae1195206"},"description":"AI, Azure, ChatGPT\uff06AI, d-higuchi, LLM, Python |\u306f\u3058\u3081\u306b \u5f53\u30d6\u30ed\u30b0\u3067\u306f\u3053\u3053\u307e\u3067 LangGraph\u3068Azure OpenAI\u3092\u7d44\u307f\u5408\u308f\u305b\u3066\u307f\u3088\u3046 streamlit\u3067\u304a\u624b\u8efd\u30c1\u30e3\u30c3\u30c8WebUI\u3092\u4f5c\u308d\u3046","breadcrumb":{"@id":"https:\/\/www.creationline.com\/tech-blog\/author\/higuchi\/75785#breadcrumb"},"inLanguage":"ja","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.creationline.com\/tech-blog\/author\/higuchi\/75785"]}]},{"@type":"ImageObject","inLanguage":"ja","@id":"https:\/\/www.creationline.com\/tech-blog\/author\/higuchi\/75785#primaryimage","url":"https:\/\/www.creationline.com\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2024\/11\/langgraph-checkpoint-memory_eyecatch.png","contentUrl":"https:\/\/www.creationline.com\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2024\/11\/langgraph-checkpoint-memory_eyecatch.png","width":1280,"height":785},{"@type":"BreadcrumbList","@id":"https:\/\/www.creationline.com\/tech-blog\/author\/higuchi\/75785#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"HOME","item":"https:\/\/www.creationline.com\/tech-blog"},{"@type":"ListItem","position":2,"name":"\u8457\u8005\uff08Author\uff09","item":"https:\/\/www.creationline.com\/tech-blog\/author"},{"@type":"ListItem","position":3,"name":"d-higuchi","item":"https:\/\/www.creationline.com\/tech-blog\/author\/higuchi"},{"@type":"ListItem","position":4,"name":"LangGraph\u306e\u4f1a\u8a71\u5c65\u6b74\u3092\u30e1\u30e2\u30ea\u4fdd\u6301\u3057\u3088\u3046 #ai #langgraph #azure #openai #llm #python"}]},{"@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\/16f1373831fb6fd17387f16ae1195206","name":"Daisuke Higuchi","image":{"@type":"ImageObject","inLanguage":"ja","@id":"https:\/\/www.creationline.com\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2023\/08\/d-higuchi-wp-icon-230x230.png","url":"https:\/\/www.creationline.com\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2023\/08\/d-higuchi-wp-icon-230x230.png","contentUrl":"https:\/\/www.creationline.com\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2023\/08\/d-higuchi-wp-icon-230x230.png","caption":"Daisuke Higuchi"},"description":"Chef\u30fbDocker\u30fbMirantis\u88fd\u54c1\u306a\u3069\u306e\u6280\u8853\u8981\u7d20\u306b\u52a0\u3048\u3066\u3001\u4f1a\u8b70\u306e\u9032\u3081\u65b9\u30fb\u6587\u7ae0\u306e\u66f8\u304d\u65b9\u306a\u3069\u306e\u696d\u52d9\u6539\u5584\u306b\u3082\u53d6\u308a\u7d44\u3093\u3067\u3044\u307e\u3059\u3002\u300cChef\u6d3b\u7528\u30ac\u30a4\u30c9\u300d\u5171\u8457\u306e\u307b\u304b\u3001Debian Official Developer\u3082\u3084\u3063\u3066\u3044\u307e\u3059\u3002","url":"https:\/\/www.creationline.com\/tech-blog\/author\/higuchi"}]}},"_links":{"self":[{"href":"https:\/\/www.creationline.com\/tech-blog\/wp-json\/wp\/v2\/posts\/75785","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\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.creationline.com\/tech-blog\/wp-json\/wp\/v2\/comments?post=75785"}],"version-history":[{"count":1,"href":"https:\/\/www.creationline.com\/tech-blog\/wp-json\/wp\/v2\/posts\/75785\/revisions"}],"predecessor-version":[{"id":75787,"href":"https:\/\/www.creationline.com\/tech-blog\/wp-json\/wp\/v2\/posts\/75785\/revisions\/75787"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.creationline.com\/tech-blog\/wp-json\/wp\/v2\/media\/75893"}],"wp:attachment":[{"href":"https:\/\/www.creationline.com\/tech-blog\/wp-json\/wp\/v2\/media?parent=75785"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.creationline.com\/tech-blog\/wp-json\/wp\/v2\/categories?post=75785"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.creationline.com\/tech-blog\/wp-json\/wp\/v2\/tags?post=75785"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}