{"id":25781,"date":"2023-08-04T11:54:04","date_gmt":"2023-08-04T02:54:04","guid":{"rendered":"http:\/\/nori.company\/?p=25781"},"modified":"2023-08-04T11:54:04","modified_gmt":"2023-08-04T02:54:04","slug":"basaran-openai-text-completion-api%ec%9d%98-%ec%98%a4%ed%94%88%ec%86%8c%ec%8a%a4-%eb%8c%80%ec%b2%b4%ec%a0%9c","status":"publish","type":"post","link":"https:\/\/nori.company\/?p=25781","title":{"rendered":"Basaran &#8211; OpenAI Text Completion API\uc758 \uc624\ud508\uc18c\uc2a4 \ub300\uccb4\uc81c"},"content":{"rendered":"<ul>\n<li>Hugging Face Transformer \uae30\ubc18\uc758 \ud14d\uc2a4\ud2b8 \uc0dd\uc131 \ubaa8\ub378\uc5d0 \ub300\ud574\uc11c OpenAI\uc640 \ud638\ud658\ub418\ub294 \uc2a4\ud2b8\ub9ac\ubc0d API\ub97c \uc81c\uacf5\n<ul>\n<li>\ub2e4\ub978 LLM\uc744 \uc774\uc6a9\ud574\uc11c OpenAI \uc11c\ube44\uc2a4\ucc98\ub7fc \uc774\uc6a9 \uac00\ub2a5<\/li>\n<\/ul>\n<\/li>\n<li>\ub2e4\uc591\ud55c \ub514\ucf54\ub529 \uc804\ub7b5\uc744 \uc774\uc6a9\ud55c \uc2a4\ud2b8\ub9ac\ubc0d \uc0dd\uc131 \uac00\ub2a5<\/li>\n<li>\ub514\ucf54\ub354-\uc628\ub9ac \ub610\ub294 \uc778\ucf54\ub354-\ub514\ucf54\ub354 \ubaa8\ub378 \ubaa8\ub450 \uc9c0\uc6d0<\/li>\n<li>sur&#8230;\n<p>\ucd9c\ucc98 : <a href=\"https:\/\/news.hada.io\/topic?id=10178\" target=\"_blank\" rel=\"noopener\">GeekNews &#8211; \uac1c\ubc1c\/\uae30\uc220\/\uc2a4\ud0c0\ud2b8\uc5c5 \ub274\uc2a4 \uc11c\ube44\uc2a4 <\/a><\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>Hugging Face Transformer \uae30\ubc18\uc758 \ud14d\uc2a4\ud2b8 \uc0dd\uc131 \ubaa8\ub378\uc5d0 \ub300\ud574\uc11c OpenAI\uc640 \ud638\ud658\ub418\ub294 \uc2a4\ud2b8\ub9ac\ubc0d API\ub97c \uc81c\uacf5 \ub2e4\ub978 LLM\uc744 \uc774\uc6a9\ud574\uc11c OpenAI \uc11c\ube44\uc2a4\ucc98\ub7fc \uc774\uc6a9 \uac00\ub2a5&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-25781","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-6HP","jetpack-related-posts":[{"id":24079,"url":"https:\/\/nori.company\/?p=24079","url_meta":{"origin":25781,"position":0},"title":"LocalAI &#8211; \uc140\ud504\ud638\uc2a4\ud2b8 \uac00\ub2a5\ud55c OpenAI \ud638\ud658 API","author":"\ub178\ub9ac\ucef4\ud37c\ub2c8","date":"2023\ub144 6\uc6d4 15\uc77c","format":false,"excerpt":"OpenAI\uc640 \ud638\ud658\ub418\ub294 REST API\ub85c \ub2e4\uc591\ud55c LLM\ub4e4\uc744 \uc774\uc6a9 \uac00\ub2a5 GPU \uc5c6\uc774\ub3c4 \uac00\ub2a5. llama.cpp \ud638\ud658 LLM\uc5d0\uc11c\ub294 GPU \uac00\uc18d \uc9c0\uc6d0 \ub2e4\uc911 \ubaa8\ub378\uc744 \uc9c0\uc6d0\ud558\uba70, \uc624\ub514\uc624 \ud2b8\ub79c\uc2a4\ud06c\ub9bd\uc158, \ud14d\uc2a4\ud2b8 \uc0dd\uc131, \uc774\ubbf8\uc9c0 \uc0dd\uc131(Stable Diffusion) \uc9c0\uc6d0 \ud55c\ubc88 \ub85c\ub529\ub418\uba74 \ubaa8\ub378\uc744 \uba54\ubaa8\ub9ac\uc5d0 \uc800\uc7a5\ud574\ub450\uace0 \ube60\ub978 \ucd94\ub860 \uc9c0\uc6d0... \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":29735,"url":"https:\/\/nori.company\/?p=29735","url_meta":{"origin":25781,"position":1},"title":"GPTs: \ub9de\ucda4\ud615 ChatGPT \ubc84\uc804\ub4e4","author":"\ub178\ub9ac\ucef4\ud37c\ub2c8","date":"2023\ub144 11\uc6d4 7\uc77c","format":false,"excerpt":"OpenAI, \ub9de\ucda4\ud615 ChatGPT\uc778 GPTs \uc18c\uac1c GPTs, \ubcf4\ub4dc \uac8c\uc784 \uaddc\uce59 \ud559\uc2b5, \uc218\ud559 \uac00\ub974\uce58\uae30, \uc2a4\ud2f0\ucee4 \ub514\uc790\uc778 \ub4f1 \ud2b9\uc815 \uc791\uc5c5\uc744 \uc704\ud55c ChatGPT \ub9de\ucda4\ud615 \uc0dd\uc131 \uac00\ub2a5 GPT \uad6c\ucd95\uc5d0 \ucf54\ub529 \ud544\uc694 \uc5c6\uc74c, \uac1c\uc778 \uc0ac\uc6a9, \ud68c\uc0ac \uc0ac\uc6a9, \uacf5\uacf5 \uc0ac\uc6a9\uc744 \uc704\ud574 \uc0dd\uc131 \uac00\ub2a5 \ub300\ud654 \uc2dc\uc791, \uc9c0\uc2dc \ubc0f \ucd94\uac00 \uc9c0\uc2dd \uc81c\uacf5, \uc6f9 \uac80\uc0c9, \uc774\ubbf8\uc9c0... \ucd9c\ucc98 : GeekNews -\u2026","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":22320,"url":"https:\/\/nori.company\/?p=22320","url_meta":{"origin":25781,"position":2},"title":"OpenAI, 1\ub2e8\uacc4 \ub9cc\uc73c\ub85c \uc0dd\uc131 \uac00\ub2a5\ud55c Consistency Model\uc758 \ucf54\ub4dc \uacf5\uac1c","author":"\ub178\ub9ac\ucef4\ud37c\ub2c8","date":"2023\ub144 4\uc6d4 13\uc77c","format":false,"excerpt":"Diffusion \ubaa8\ub378\uc740 \uc774\ubbf8\uc9c0, \uc624\ub514\uc624, \ube44\ub514\uc624 \uc0dd\uc131\uc5d0\uc11c \ud601\uc2e0\uc744 \uac00\uc838\uc654\uc74c \ud558\uc9c0\ub9cc \ubc18\ubcf5\uc801\uc778 \uc0dd\uc131 \ud504\ub85c\uc138\uc2a4\ub97c \uac70\uccd0\uc57c \ud558\ubbc0\ub85c \uc18d\ub3c4\uac00 \ub290\ub824\uc11c \uc2e4\uc2dc\uac04\uc5d0\ub294 \uc801\uc6a9\uc774 \uc5b4\ub824\uc6c0 Consistency \ubaa8\ub378\uc740 Adversarial Training \uc5c6\uc774 \ub2e8 1~2\ub2e8\uacc4\ub9cc\uc73c\ub85c \ud6cc\ub96d\ud55c \ud488\uc9c8\uc758 \uc0dd\uc131\uc774 \uac00\ub2a5 \uc774 \ubaa8\ub378\ub3c4 \uc5ec... \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":22576,"url":"https:\/\/nori.company\/?p=22576","url_meta":{"origin":25781,"position":3},"title":"GPT4 &#038; LangChain &#8211; PDF\ub97c \uc704\ud55c ChatGPT \ucc57\ubd07 \ub9cc\ub4e4\uae30","author":"\ub178\ub9ac\ucef4\ud37c\ub2c8","date":"2023\ub144 4\uc6d4 21\uc77c","format":false,"excerpt":"\ub2e4\uc218\uc758 \ud070 PDF \ud30c\uc77c\uc744 LLM\uc5d0 \ub85c\ub529\ud574\uc11c \ud30c\uc77c \ub0b4\uc6a9\uc5d0 \ub300\ud574 \ub300\ud654 \uac00\ub2a5 PDF\ub97c \ub123\uc73c\uba74 \ud14d\uc2a4\ud2b8\ub97c \ucd94\ucd9c\ud558\uc5ec \ub2e4\uc218\uc758 Chunk\ub85c \ub9cc\ub4e4\uace0, Embedding\uc744 \uc0dd\uc131\ud558\uc5ec Pinecone \ubca1\ud130\uc2a4\ud1a0\uc5b4\uc5d0 \uc800\uc7a5 \uc9c8\ubb38\uc5d0 \ub300\ud574\uc11c OpenAI Embeddings API\ub85c \ubb38\uc11c\uc758 \uad00\ub828 \ubd80\ubd84\uc744 \ucc3e\uc544\uc11c GPT\uc5d0 \ub123\uace0 \ub2f5\ubcc0\uc744 \uc0dd\uc131 LangChain... \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":23598,"url":"https:\/\/nori.company\/?p=23598","url_meta":{"origin":25781,"position":4},"title":"GPT-Code UI &#8211; OpenAI ChatGPT \uc758 Code Interpreter \uc624\ud508\uc18c\uc2a4 \uad6c\ud604\ubc84\uc804","author":"\ub178\ub9ac\ucef4\ud37c\ub2c8","date":"2023\ub144 5\uc6d4 27\uc77c","format":false,"excerpt":"ChatGPT \ub0b4\uc5d0\uc11c \ucf54\ub4dc REPL \ub85c \ub3d9\uc791\ud558\ub294 \ubd80\ubd84\uc744 \uc624\ud508\uc18c\uc2a4\ub85c \uadf8\ub300\ub85c \uad6c\ud604 (StarCoder \uac19\uc740 \ubaa8\ub378\uc5d0\uc11c \ud65c\uc6a9 \uac00\ub2a5) Context Awareness (\uae30\uc874 \uba54\uc2dc\uc9c0 \ucc38\uc870 \uac00\ub2a5) \ucf54\ub4dc \uc0dd\uc131 \ubc0f \uc2e4\ud589 (Python \ucee4\ub110) \ud30c\uc77c \uc5c5\ub85c\ub4dc\/\ub2e4\uc6b4\ub85c\ub4dc GPT-3.5 \uc640 GPT-4 \uac04 \ubaa8\ub378 \uad50\ud658 \uc9c0\uc6d0 ... \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":23181,"url":"https:\/\/nori.company\/?p=23181","url_meta":{"origin":25781,"position":5},"title":"OpenLM &#8211; \uc5ec\ub7ec LLM \ud638\ucd9c\uc774 \uac00\ub2a5\ud55c OpenAI \ud638\ud658 \ud30c\uc774\uc36c \ud074\ub77c\uc774\uc5b8\ud2b8","author":"\ub178\ub9ac\ucef4\ud37c\ub2c8","date":"2023\ub144 5\uc6d4 13\uc77c","format":false,"excerpt":"OpenAI\uc758 API\uc640 \ub611\uac19\uc740 \ud30c\ub77c\ubbf8\ud130\ub85c HuggingFace, Cohere \ubc0f \uc790\uc2e0\uc758 \ubaa8\ub378\ub4f1 \ub2e4\ub978 LLM\uc744 \ud638\ucd9c \uac00\ub2a5 \ud604\uc7ac\ub294 Completion Endpoint\ub9cc \uc9c0\uc6d0\ud558\uc9c0\ub9cc, Streaming\/Embeddings \uac19\uc740 \uc5d4\ub4dc\ud3ec\uc778\ud2b8\ub3c4 \ucd94\uac00\uc608\uc815 \uae30\uc874 \ucf54\ub4dc\uc5d0 import openlm as openai \ud574\uc11c \uadf8\ub300\ub85c \uc774\uc6a9 \uac00\ub2a5 ... \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\/25781","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=25781"}],"version-history":[{"count":1,"href":"https:\/\/nori.company\/index.php?rest_route=\/wp\/v2\/posts\/25781\/revisions"}],"predecessor-version":[{"id":25782,"href":"https:\/\/nori.company\/index.php?rest_route=\/wp\/v2\/posts\/25781\/revisions\/25782"}],"wp:attachment":[{"href":"https:\/\/nori.company\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=25781"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/nori.company\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=25781"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/nori.company\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=25781"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}