{"id":16645,"date":"2026-01-20T16:10:55","date_gmt":"2026-01-20T07:10:55","guid":{"rendered":"http:\/\/www.gisdeveloper.co.kr\/?p=16645"},"modified":"2026-01-20T16:45:32","modified_gmt":"2026-01-20T07:45:32","slug":"langsmith-hub%eb%a1%9c-%ec%82%b4%ed%8e%b4%eb%b3%b4%eb%8a%94-prompt","status":"publish","type":"post","link":"http:\/\/www.gisdeveloper.co.kr\/?p=16645","title":{"rendered":"langsmith hub\ub85c \uc0b4\ud3b4\ubcf4\ub294 prompt"},"content":{"rendered":"<p>\ubbf8\ub798\uc758 \ucf54\ub529\uc740 \uc778\uac04\uc774 \uc9c1\uc811 \uc791\uc131\ud558\ub294 code \ube44\uc911 \ubcf4\ub2e4 prompt\uc758 \ube44\uc911\uc774 \ub354 \ucee4\uc9c8 \uac83\uc740 \ub2f9\uc5f0\ud55c \uc0ac\uc2e4\uc774\ub2e4. \ub610\ud55c \uc2e4\uc81c \ucf54\ub4dc \uc791\uc131\uc740 \uc778\uac04\ubcf4\ub2e4 AI\uac00 \uc791\uc131\ud558\ub294 \uc591\uc774 \ub354 \ub9ce\uc544 \uc9c8 \uac83\uc774\ub2e4. \ud604\uc7ac \uc2dc\uc810\uc5d0\uc11c \ub098\ub294 prompt\uac00 \uace7 code\ub77c\uace0 \uc0dd\uac01\ud55c\ub2e4. \ubb3c\ub860 \uac00\uae4c\uc6b4 \uc2dc\uc810\uc5d0 \uc774\ub7f0 \uc0dd\uac01\uc740 \ub9de\uc9c0 \uc54a\uaca0\uc9c0\ub9cc \ub9d0\uc774\ub2e4. \uc608\ub97c\ub4e4\uc5b4 code\ub85c \uacb0\uacfc\ub97c OK\ub098 DENY\ub77c\ub294 \ubb38\uc790\uc5f4 \uc911 \ud558\ub098\ub9cc\uc744 \uc5bb\uc5b4\uc57c \ud560\ub54c \uc5b4\ub5bb\uac8c \ucf54\ub4dc\ub97c \uc791\uc131\ud560 \uac83\uc778\uac00.. \ub77c\ub294 \ubb3c\uc74c\uc5d0 \ub300\ud55c \ucf54\ub4dc\ub97c \ub300\uc2e0\ud558\ub294 \ud504\ub86c\ud504\ud2b8\ub294 &#8216;\ub108\ub294 \uacb0\uacfc\ub97c \ubc18\ub4dc\uc2dc &#8220;OK&#8221; \ub610\ub294 &#8220;DENY&#8221; \ub458 \uc911\uc5d0 \ud558\ub098\ub85c\ub9cc \ub2f5\ud574\uc57c \ud55c\ub2e4.&#8217; \uc815\ub3c4\uac00 \ub41c\ub2e4. \uacb0\uad6d LLM\uc744 \ud1b5\ud574 \uc880\ub354 \uc815\ud655\ud55c \uacb0\uacfc\ub97c \uc5bb\uae30 \uc704\ud574\uc11c \ud504\ub86c\ud504\ud2b8\uc758 \uc791\uc131 \ubc29\ubc95\uc744 \uc774\ud574\ud558\ub294 \uac83\uc740 \uac1c\ubc1c\uc790\uc758 \ud575\uc2ec \uc5ed\ub7c9\uc774\ub2e4.<\/p>\n<p>\uc774\ucc98\ub7fc \uc911\uc694\ud55c \ud504\ub86c\ud504\ud2b8\uc5d0 \ub300\ud55c \uc88b\uc740 \uc608\uc2dc\ub97c \ud1b5\ud574 \ud504\ub86c\ud504\ud2b8\uc5d0 \ub300\ud55c \uc791\uc131 \ubc29\ubc95\uc744 \ud559\uc2b5\ud560 \uc218 \uc788\ub2e4. \uc88b\uc740 \ud504\ub86c\ud504\ud2b8 \uc608\uc2dc\ub294 \uc5b4\ub514\uc11c \uad6c\ud560 \uc218 \uc788\uc744\uae4c? langchain \ud504\ub808\uc784\uc6cc\ud06c\uc758 \uc18c\uc2a4\ucf54\ub4dc\ub97c \uc0b4\ud3b4\ubcf4\uba74 \ucf54\ub4dc \uacf3\uacf3\uc5d0 \uc0ac\uc6a9\ub41c \ud504\ub86c\ud504\ud2b8\uac00 \uc874\uc7ac\ud558\uba70 \uc774\ub4e4 \uc5ed\uc2dc \uc88b\uc740 \uc608\uc2dc\ub2e4. \ucd94\uac00\ub85c langchain\uc758 \uac1c\ubc1c\uc0ac\ub294 <a href='https:\/\/smith.langchain.com\/hub'>langsmith hub<\/a>\ub97c \ud1b5\ud574 prompt\ub97c \ub4f1\ub85d\ud560 \uc218 \uc788\ub3c4\ub85d \ud574 \ub450\uc5c8\ub294\ub370, \uc5ec\uae30\uc5d0 \ub4f1\ub85d\ub41c \ud504\ub86c\ud504\ud2b8 \uc911 \uc0ac\uc6a9 \ud69f\uc218\uac00 \ub9ce\uc740 \ub188\ub4e4\uc744 \ubd84\uc11d\ud574 \ubcf4\ub294 \uac83\uc744 \uac15\ub825\ud788 \ucd94\ucc9c\ud55c\ub2e4. \uadf8 \uc911 3\uac1c \uc815\ub3c4\ub9cc \ubd84\uc11d\ud574 \ubcf4\uc790.<\/p>\n<p>\uba3c\uc800 2\ucc9c7\ubc31\ub9cc\ubc88 \uc0ac\uc6a9\ub41c rlm\/rag-prompt\uc774\ub2e4. RAG\ub97c \ud1b5\ud574 context\ub97c \uc81c\uacf5\ud558\ub294 \ud615\ud0dc\uc774\ub2e4.<\/p>\n<h3>human<\/h3>\n<pre style='background:#fff'>\r\nYou are an assistant for question-answering tasks. Use the following pieces of retrieved context to answer the question. If you don't know the answer, just say that you don't know. Use three sentences maximum and keep the answer concise.\r\nQuestion: {question} \r\nContext: {context} \r\nAnswer:\r\n<\/pre>\n<p>\ub2e4\uc74c\uc740 8\ubc31\ub9cc\ubc88 \uc0ac\uc6a9\ub41c \ud504\ub86c\ud504\ud2b8\uc778 hwchase17\/react \uc774\ub2e4.<\/p>\n<h3>human<\/h3>\n<pre style='background:#fff'>\r\nAnswer the following questions as best you can. You have access to the following tools:\r\n\r\n{tools}\r\n\r\nUse the following format:\r\n\r\nQuestion: the input question you must answer\r\nThought: you should always think about what to do\r\nAction: the action to take, should be one of [{tool_names}]\r\nAction Input: the input to the action\r\nObservation: the result of the action\r\n... (this Thought\/Action\/Action Input\/Observation can repeat N times)\r\nThought: I now know the final answer\r\nFinal Answer: the final answer to the original input question\r\n\r\nBegin!\r\n\r\nQuestion: {input}\r\nThought:{agent_scratchpad}\r\n<\/pre>\n<p>\ub9c8\uc9c0\ub9c9\uc73c\ub85c 5\ub9cc\ubc88 \uc815\ub3c4 \uc0ac\uc6a9\ub41c hardkothari\/prompt-marker \uc758 \ud504\ub86c\ud504\ud2b8\ub294 \ub2e4\uc74c\uacfc \uac19\ub2e4. \ud504\ub86c\ud504\ud2b8\ub97c \uc880\ub354 \uac1c\uc120\ud558\uae30 \uc704\ud55c \uc6a9\ub3c4\uc774\ub2e4.<\/p>\n<h3>system<\/h3>\n<pre style='background:#fff'>\r\nYou are an expert Prompt Writer for Large Language Models.\r\n<\/pre>\n<h3>human<\/h3>\n<pre style='background:#fff'>\r\nYour goal is to improve the prompt given below for {task} :\r\n--------------------\r\n\r\nPrompt: {lazy_prompt}\r\n--------------------\r\n\r\nHere are several tips on writing great prompts:\r\n-------\r\n\r\nStart the prompt by stating that it is an expert in the subject.\r\nPut instructions at the beginning of the prompt and use ### or to separate the instruction and context \r\nBe specific, descriptive and as detailed as possible about the desired context, outcome, length, format, style, etc \r\n---------\r\n\r\nHere's an example of a great prompt:\r\nAs a master YouTube content creator, develop an engaging script that revolves around the theme of \"Exploring Ancient Ruins.\"\r\nYour script should encompass exciting discoveries, historical insights, and a sense of adventure.\r\nInclude a mix of on-screen narration, engaging visuals, and possibly interactions with co-hosts or experts.\r\nThe script should ideally result in a video of around 10-15 minutes, providing viewers with a captivating journey through the secrets of the past.\r\n\r\nExample:\r\n\"Welcome back, fellow history enthusiasts, to our channel! Today, we embark on a thrilling expedition...\"\r\n-----\r\n\r\nNow, improve the prompt.\r\n\r\nIMPROVED PROMPT:\r\n<\/pre>\n<p>\uc5b8\uae09\ub41c \ud504\ub86c\ud504\ud2b8\ub97c \uc0b4\ud3b4\ubcf4\ub2c8, \uc774\ub7f0 \ub2e4\uc18c \uc5b4\ub824\uc6b4 \ud504\ub86c\ud504\ud2b8\ub4e4\uc744 \uc798\ub3c4 \uc774\ud574\ud558\ub294 LLM\uc774 \ub300\ub2e8\uc2a4\ub7fd\ub2e8 \uc0dd\uac01\uc774 \ub4e0\ub2e4. \uac1c\uc778\uc801\uc73c\ub85c \ub098\ub294 \ud504\ub86c\ud504\ud2b8\ub97c \uc704\ucc98\ub7fc \uc791\uc131\ud558\uc9c0 \uc54a\uace0 \ub9c8\ud06c\ub2e4\uc6b4 \ud615\uc2dd\uc73c\ub85c \uc791\uc131\ud55c\ub2e4.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\ubbf8\ub798\uc758 \ucf54\ub529\uc740 \uc778\uac04\uc774 \uc9c1\uc811 \uc791\uc131\ud558\ub294 code \ube44\uc911 \ubcf4\ub2e4 prompt\uc758 \ube44\uc911\uc774 \ub354 \ucee4\uc9c8 \uac83\uc740 \ub2f9\uc5f0\ud55c \uc0ac\uc2e4\uc774\ub2e4. \ub610\ud55c \uc2e4\uc81c \ucf54\ub4dc \uc791\uc131\uc740 \uc778\uac04\ubcf4\ub2e4 AI\uac00 \uc791\uc131\ud558\ub294 \uc591\uc774 \ub354 \ub9ce\uc544 \uc9c8 \uac83\uc774\ub2e4. \ud604\uc7ac \uc2dc\uc810\uc5d0\uc11c \ub098\ub294 prompt\uac00 \uace7 code\ub77c\uace0 \uc0dd\uac01\ud55c\ub2e4. \ubb3c\ub860 \uac00\uae4c\uc6b4 \uc2dc\uc810\uc5d0 \uc774\ub7f0 \uc0dd\uac01\uc740 \ub9de\uc9c0 \uc54a\uaca0\uc9c0\ub9cc \ub9d0\uc774\ub2e4. \uc608\ub97c\ub4e4\uc5b4 code\ub85c \uacb0\uacfc\ub97c OK\ub098 DENY\ub77c\ub294 \ubb38\uc790\uc5f4 \uc911 \ud558\ub098\ub9cc\uc744 \uc5bb\uc5b4\uc57c \ud560\ub54c \uc5b4\ub5bb\uac8c \ucf54\ub4dc\ub97c \uc791\uc131\ud560 &hellip; <\/p>\n<p class=\"link-more\"><a href=\"http:\/\/www.gisdeveloper.co.kr\/?p=16645\" class=\"more-link\">\ub354 \ubcf4\uae30<span class=\"screen-reader-text\"> &#8220;langsmith hub\ub85c \uc0b4\ud3b4\ubcf4\ub294 prompt&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-16645","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"http:\/\/www.gisdeveloper.co.kr\/index.php?rest_route=\/wp\/v2\/posts\/16645","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/www.gisdeveloper.co.kr\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.gisdeveloper.co.kr\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.gisdeveloper.co.kr\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/www.gisdeveloper.co.kr\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=16645"}],"version-history":[{"count":19,"href":"http:\/\/www.gisdeveloper.co.kr\/index.php?rest_route=\/wp\/v2\/posts\/16645\/revisions"}],"predecessor-version":[{"id":16664,"href":"http:\/\/www.gisdeveloper.co.kr\/index.php?rest_route=\/wp\/v2\/posts\/16645\/revisions\/16664"}],"wp:attachment":[{"href":"http:\/\/www.gisdeveloper.co.kr\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=16645"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.gisdeveloper.co.kr\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=16645"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.gisdeveloper.co.kr\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=16645"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}