{"id":28018,"date":"2023-09-25T14:53:13","date_gmt":"2023-09-25T05:53:13","guid":{"rendered":"http:\/\/nori.company\/?p=28018"},"modified":"2023-09-25T14:53:13","modified_gmt":"2023-09-25T05:53:13","slug":"fastapi-depends-%ed%86%ba%ec%95%84%eb%b3%b4%ea%b8%b0","status":"publish","type":"post","link":"https:\/\/nori.company\/?p=28018","title":{"rendered":"FastAPI Depends \ud1ba\uc544\ubcf4\uae30"},"content":{"rendered":"<ul>\n<li>FastAPI \ub0b4\uc7a5\ud615 Dependency Injector: <code>Depends<\/code>\uc758 \ub3d9\uc791\uc744 \uc124\uba85\ud569\ub2c8\ub2e4.<\/li>\n<li>\n<code>Depends<\/code> \ub4f1\ub85d\ubd80\ud130 \uc2e4\ud589\uae4c\uc9c0 \ucf54\ub4dc\ub97c \ub530\ub77c\uac00\uba70 \ucf54\uba58\ud2b8\uac00 \uac19\uc774 \uc815\ub9ac\ub418\uc5b4 \uc788\uc2b5\ub2c8\ub2e4.<\/li>\n<li>\n<code>Depends<\/code> \ub97c \ud65c\uc6a9\ud55c Request Param \uacf5\ud1b5\ud654 \ubc29\ubc95 \ubca4\uce58\ub9c8\ud06c\uac00 \uc791\uc131\ub418\uc5b4 \uc788\uc2b5\ub2c8\ub2e4.<\/p>\n<ul>\n<li>class &#8230;\n<p>\ucd9c\ucc98 : <a href=\"https:\/\/news.hada.io\/topic?id=11047\" target=\"_blank\" rel=\"noopener\">GeekNews &#8211; \uac1c\ubc1c\/\uae30\uc220\/\uc2a4\ud0c0\ud2b8\uc5c5 \ub274\uc2a4 \uc11c\ube44\uc2a4 <\/a><\/li>\n<\/ul>\n<\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>FastAPI \ub0b4\uc7a5\ud615 Dependency Injector: Depends\uc758 \ub3d9\uc791\uc744 \uc124\uba85\ud569\ub2c8\ub2e4. Depends \ub4f1\ub85d\ubd80\ud130 \uc2e4\ud589\uae4c\uc9c0 \ucf54\ub4dc\ub97c \ub530\ub77c\uac00\uba70 \ucf54\uba58\ud2b8\uac00 \uac19\uc774 \uc815\ub9ac\ub418\uc5b4 \uc788\uc2b5\ub2c8\ub2e4. Depends \ub97c \ud65c\uc6a9\ud55c Request&hellip;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2}},"categories":[138],"tags":[163],"class_list":["post-28018","post","type-post","status-publish","format-standard","hentry","category-it","tag-geeknews-----"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/pa3PO4-7hU","jetpack-related-posts":[{"id":26476,"url":"https:\/\/nori.company\/?p=26476","url_meta":{"origin":28018,"position":0},"title":"FastAPI \ud55c\uc904\uc529 \ub530\ub77c\uc77d\uae30","author":"\ub178\ub9ac\ucef4\ud37c\ub2c8","date":"2023\ub144 8\uc6d4 21\uc77c","format":false,"excerpt":"Pycham \uc73c\ub85c \uc2a4\ud0dd \ucd94\uc801\ud574\ubcf4\uae30 \ud55c\ubc88 \ud574\ubcfc\ub9cc \ud569\ub2c8\ub2e4. \uc0ac\uc6a9\ub418\ub294 \ubcc0\uc218\ub4e4\uc774 \uc5b4\ub5a4 \uac12\uc778\uc9c0, \uc778\uc2a4\ud134\uc2a4\ub77c\uba74 \uc5b4\ub5a4 attr\uc744 \uac00\uc9c0\uace0 \uc788\ub294\uc9c0 \ud655\uc778 \ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4. FastAPI\ub294 Starlette \uc5c6\uc774\ub294 \uc874\uc7ac\ud560 \uc218 \uc5c6\uc744 \uac83\uc73c\ub85c \ubcf4\uc785\ub2c8\ub2e4. \uae30\ubcf8 \ud074\ub798\uc2a4\ub3c4 Starlette \uc0c1\uc18d\ubc1b\uc544 \ub9cc\ub4e4\uc5b4 \uc84c\uace0, Reque... \ucd9c\ucc98 : GeekNews - \uac1c\ubc1c\/\uae30\uc220\/\uc2a4\ud0c0\ud2b8\uc5c5 \ub274\uc2a4 \uc11c\ube44\uc2a4","rel":"","context":"&quot;IT&quot;\uc5d0\uc11c","block_context":{"text":"IT","link":"https:\/\/nori.company\/?cat=138"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":23946,"url":"https:\/\/nori.company\/?p=23946","url_meta":{"origin":28018,"position":1},"title":"ReactPy &#8211; Python\uc744 \uc704\ud55c React","author":"\ub178\ub9ac\ucef4\ud37c\ub2c8","date":"2023\ub144 6\uc6d4 11\uc77c","format":false,"excerpt":"\"React, but in Python\" Javascript\ub97c \uc0ac\uc6a9\ud558\uc9c0 \uc54a\uace0 \ud30c\uc774\uc36c\uc73c\ub85c UI\ub97c \ub9cc\ub4e4\uae30 ReactJS\uc758 \ucef4\ud3ec\ub10c\ud2b8\uc640 \ube44\uc2b7\ud558\uac8c \ub3d9\uc791 \uc9c0\uc6d0 \ubc31\uc5d4\ub4dc \ub0b4\uc7a5 : Flask, FastAPI, Sanic, Tornado \uc678\ubd80 : Django, Jupyter, Plotly-Dash ... \ucd9c\ucc98 : GeekNews - \uac1c\ubc1c\/\uae30\uc220\/\uc2a4\ud0c0\ud2b8\uc5c5 \ub274\uc2a4 \uc11c\ube44\uc2a4","rel":"","context":"&quot;IT&quot;\uc5d0\uc11c","block_context":{"text":"IT","link":"https:\/\/nori.company\/?cat=138"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":23645,"url":"https:\/\/nori.company\/?p=23645","url_meta":{"origin":28018,"position":2},"title":"SuperAgent &#8211; LLM \uc5d0\uc774\uc804\ud2b8\ub97c \ud504\ub85c\ub355\uc158\uc5d0 \ubc30\ud3ec\ud558\uae30","author":"\ub178\ub9ac\ucef4\ud37c\ub2c8","date":"2023\ub144 5\uc6d4 30\uc77c","format":false,"excerpt":"LLM \uc5d0\uc774\uc804\ud2b8\ub97c \uc124\uc815\ud558\uace0 \ubc30\ud3ec\ud558\ub294 \uacfc\uc815\uc744 \ub2e8\uc21c\ud654 \uc2dc\ud0a4\ub294 \ub3c4\uad6c FastAPI + Supabase + LangChain + Prisma + Pinecone ChatGPT\uc640 \ube44\uc2b7\ud55c \ub300\ud654\ud615 AI\uc9c0\uc6d0 \ub0b4\uc7a5 \uba54\ubaa8\ub9ac \uc9c0\uc6d0 (\ucf58\ud14d\uc2a4\ud2b8 \ubc0f \ud788\uc2a4\ud1a0\ub9ac \uc800\uc7a5) REST API \uc81c\uacf5 \uba40\ud2f0 LLM \uc9c0\uc6d0 \uc2e4\uc2dc\uac04 \ucee4\ubba4\ub2c8\ucf00\uc774\uc158\uc744... \ucd9c\ucc98 : GeekNews - \uac1c\ubc1c\/\uae30\uc220\/\uc2a4\ud0c0\ud2b8\uc5c5 \ub274\uc2a4 \uc11c\ube44\uc2a4","rel":"","context":"&quot;IT&quot;\uc5d0\uc11c","block_context":{"text":"IT","link":"https:\/\/nori.company\/?cat=138"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":24159,"url":"https:\/\/nori.company\/?p=24159","url_meta":{"origin":28018,"position":3},"title":"Lanarky &#8211; LLM\uc744 \ud504\ub85c\ub355\uc158\uc5d0 \ubc30\ud3ec\ud558\uae30 \uc704\ud55c \uc624\ud508\uc18c\uc2a4 \ud504\ub808\uc784\uc6cc\ud06c","author":"\ub178\ub9ac\ucef4\ud37c\ub2c8","date":"2023\ub144 6\uc6d4 18\uc77c","format":false,"excerpt":"FastAPI \uae30\ubc18 \uba40\ud2f0 \ubaa8\ub4dc \ud1a0\ud070 \uc2a4\ud2b8\ub9ac\ubc0d \ube60\ub978 \ud504\ub85c\ud1a0\ud0c0\uc774\ud551\uc744 \uc704\ud55c \uac04\ub2e8\ud55c gradio \ucc57\ubd07 LangChain \uc5b4\ud50c\ub9ac\ucf00\uc774\uc158 \uc9c0\uc6d0 \ub2e4\uc218\uc758 LLM \uce90\uc2f1 \uc804\ub7b5 \uc9c0\uc6d0 \uc608\uc815: LlamaIndex, Guidance, Rebuff \ub4f1 \uc9c0\uc6d0 \ubc0f SQL DB \uc5f0\ub3d9 ... \ucd9c\ucc98 : GeekNews - \uac1c\ubc1c\/\uae30\uc220\/\uc2a4\ud0c0\ud2b8\uc5c5 \ub274\uc2a4 \uc11c\ube44\uc2a4","rel":"","context":"&quot;IT&quot;\uc5d0\uc11c","block_context":{"text":"IT","link":"https:\/\/nori.company\/?cat=138"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":22076,"url":"https:\/\/nori.company\/?p=22076","url_meta":{"origin":28018,"position":4},"title":"Marvin &#8211; AI\ub97c \ucf54\ub4dc\uc5d0 \ubd99\uc774\uae30 \uc27d\uac8c \ud574\uc8fc\ub294 \uc624\ud508\uc18c\uc2a4 \ub77c\uc774\ube0c\ub7ec\ub9ac","author":"\ub178\ub9ac\ucef4\ud37c\ub2c8","date":"2023\ub144 4\uc6d4 5\uc77c","format":false,"excerpt":"AI Functions \ucee8\uc149\uc744 \ub3c4\uc785 : \uc18c\uc2a4\ucf54\ub4dc\uac00 \uc544\ub2cc AI\ub97c \uc774\uc6a9\ud574\uc11c \uacb0\uacfc\ub97c \ub0b4\uc8fc\ub294 \ud568\uc218 Bots \uae30\ub2a5\uc73c\ub85c \uc720\uc5f0\ud55c \ubd07\uc744 \uc0dd\uc131 \ucee4\uc2a4\ud140 \ud50c\ub7ec\uadf8\uc778\uc73c\ub85c \uae30\ub2a5\uc744 \ud655\uc7a5\ud558\uace0 \uc678\ubd80 \uc18c\uc2a4\uc5d0 \uc5f0\uacb0 \ubaa8\ub4e0 \ub300\ud654\uc758 \ud788\uc2a4\ud1a0\ub9ac \uc800\uc7a5 Python API, \uc778\ud130\ub799\ud2f0\ube0c CLI, FastAPI \uc11c\ubc84\ub85c \uc81c\uacf5 ... \ucd9c\ucc98 : GeekNews - \uac1c\ubc1c\/\uae30\uc220\/\uc2a4\ud0c0\ud2b8\uc5c5 \ub274\uc2a4 \uc11c\ube44\uc2a4","rel":"","context":"&quot;IT&quot;\uc5d0\uc11c","block_context":{"text":"IT","link":"https:\/\/nori.company\/?cat=138"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":30332,"url":"https:\/\/nori.company\/?p=30332","url_meta":{"origin":28018,"position":5},"title":"Screenshot-To-Code &#8211; GPT-4V\ub85c \ud654\uba74 \ucea1\uccd0\ub97c \ucf54\ub4dc\ub85c \ubcc0\ud658\ud558\uae30","author":"\ub178\ub9ac\ucef4\ud37c\ub2c8","date":"2023\ub144 11\uc6d4 19\uc77c","format":false,"excerpt":"GPT-4 Vision \uc744 \uc774\uc6a9\ud574\uc11c \ud654\uba74 \uc2a4\ud06c\ub9b0\uc0f7\uc744 HTML\/Tailwind CSS \ucf54\ub4dc\ub85c \ubcc0\ud658 \ud654\uba74\uc5d0 \uc774\ubbf8\uc9c0\ub294 DALL-E 3 \ub97c \uc774\uc6a9\ud574\uc11c \ube44\uc2b7\ud558\uac8c \ubcf4\uc774\ub294 \uc774\ubbf8\uc9c0\ub97c \uc0dd\uc131\ud574\uc11c \ub300\uccb4 \uac00\ub2a5 \ucd94\uac00 \ud504\ub86c\ud504\ud2b8\ub97c \uc785\ub825\ud574\uc11c \uc6d0\ud558\ub294 \ub300\ub85c \uc0dd\uc131\ub418\ub294 \ucf54\ub4dc\ub97c \uc218\uc815 \uac00\ub2a5 React\/Vite \ud504\ub860\ud2b8\uc5d4\ub4dc + FastAPI \ubc31\uc5d4\ub4dc ... \ucd9c\ucc98 : GeekNews - \uac1c\ubc1c\/\uae30\uc220\/\uc2a4\ud0c0\ud2b8\uc5c5 \ub274\uc2a4 \uc11c\ube44\uc2a4","rel":"","context":"&quot;IT&quot;\uc5d0\uc11c","block_context":{"text":"IT","link":"https:\/\/nori.company\/?cat=138"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]}],"_links":{"self":[{"href":"https:\/\/nori.company\/index.php?rest_route=\/wp\/v2\/posts\/28018","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/nori.company\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/nori.company\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/nori.company\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/nori.company\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=28018"}],"version-history":[{"count":1,"href":"https:\/\/nori.company\/index.php?rest_route=\/wp\/v2\/posts\/28018\/revisions"}],"predecessor-version":[{"id":28019,"href":"https:\/\/nori.company\/index.php?rest_route=\/wp\/v2\/posts\/28018\/revisions\/28019"}],"wp:attachment":[{"href":"https:\/\/nori.company\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=28018"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/nori.company\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=28018"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/nori.company\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=28018"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}