{"id":24079,"date":"2023-06-15T12:47:00","date_gmt":"2023-06-15T03:47:00","guid":{"rendered":"http:\/\/nori.company\/?p=24079"},"modified":"2023-06-15T12:47:00","modified_gmt":"2023-06-15T03:47:00","slug":"localai-%ec%85%80%ed%94%84%ed%98%b8%ec%8a%a4%ed%8a%b8-%ea%b0%80%eb%8a%a5%ed%95%9c-openai-%ed%98%b8%ed%99%98-api","status":"publish","type":"post","link":"https:\/\/nori.company\/?p=24079","title":{"rendered":"LocalAI &#8211; \uc140\ud504\ud638\uc2a4\ud2b8 \uac00\ub2a5\ud55c OpenAI \ud638\ud658 API"},"content":{"rendered":"<ul>\n<li>OpenAI\uc640 \ud638\ud658\ub418\ub294 REST API\ub85c \ub2e4\uc591\ud55c LLM\ub4e4\uc744 \uc774\uc6a9 \uac00\ub2a5<\/li>\n<li>GPU \uc5c6\uc774\ub3c4 \uac00\ub2a5. llama.cpp \ud638\ud658 LLM\uc5d0\uc11c\ub294 GPU \uac00\uc18d \uc9c0\uc6d0<\/li>\n<li>\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<\/li>\n<li>\ud55c\ubc88 \ub85c\ub529\ub418\uba74 \ubaa8\ub378\uc744 \uba54\ubaa8\ub9ac\uc5d0 \uc800\uc7a5\ud574\ub450\uace0 \ube60\ub978 \ucd94\ub860 \uc9c0\uc6d0<\/li>\n<p>&#8230;<\/p>\n<p>\ucd9c\ucc98 : <a href=\"https:\/\/news.hada.io\/topic?id=9399\" target=\"_blank\" rel=\"noopener\">GeekNews &#8211; \uac1c\ubc1c\/\uae30\uc220\/\uc2a4\ud0c0\ud2b8\uc5c5 \ub274\uc2a4 \uc11c\ube44\uc2a4 <\/a>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>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,&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-24079","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-6gn","jetpack-related-posts":[{"id":25781,"url":"https:\/\/nori.company\/?p=25781","url_meta":{"origin":24079,"position":0},"title":"Basaran &#8211; OpenAI Text Completion API\uc758 \uc624\ud508\uc18c\uc2a4 \ub300\uccb4\uc81c","author":"\ub178\ub9ac\ucef4\ud37c\ub2c8","date":"2023\ub144 8\uc6d4 4\uc77c","format":false,"excerpt":"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 \ub2e4\uc591\ud55c \ub514\ucf54\ub529 \uc804\ub7b5\uc744 \uc774\uc6a9\ud55c \uc2a4\ud2b8\ub9ac\ubc0d \uc0dd\uc131 \uac00\ub2a5 \ub514\ucf54\ub354-\uc628\ub9ac \ub610\ub294 \uc778\ucf54\ub354-\ub514\ucf54\ub354 \ubaa8\ub378 \ubaa8\ub450 \uc9c0\uc6d0 sur... \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":24079,"position":1},"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":[]},{"id":30524,"url":"https:\/\/nori.company\/?p=30524","url_meta":{"origin":24079,"position":2},"title":"LM \uc2a4\ud29c\ub514\uc624 &#8211; \ub85c\uceec LLM \ubc1c\uacac, \ub2e4\uc6b4\ub85c\ub4dc \ubc0f \uc2e4\ud589","author":"\ub178\ub9ac\ucef4\ud37c\ub2c8","date":"2023\ub144 11\uc6d4 23\uc77c","format":false,"excerpt":"LM Studio \uc18c\uac1c \ubc0f \uae30\ub2a5 LM Studio\ub294 \ub7a9\ud1b1\uc5d0\uc11c \uc644\uc804\ud788 \uc624\ud504\ub77c\uc778\uc73c\ub85c LLM(Local Large Language Models)\uc744 \uc2e4\ud589\ud560 \uc218 \uc788\ub294 \uc560\ud50c\ub9ac\ucf00\uc774\uc158\uc784. \uc571 \ub0b4 \ucc44\ud305 UI \ub610\ub294 OpenAI \ud638\ud658 \ub85c\uceec \uc11c\ubc84\ub97c \ud1b5\ud574 \ubaa8\ub378\uc744 \uc0ac\uc6a9\ud560 \uc218 \uc788\uc74c. HuggingFace \uc800\uc7a5\uc18c\uc5d0\uc11c \ud638\ud658 \uac00\ub2a5\ud55c \ubaa8\ub378 \ud30c\uc77c\uc744 \ub2e4\uc6b4\ub85c\ub4dc\ud560 \uc218... \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":26162,"url":"https:\/\/nori.company\/?p=26162","url_meta":{"origin":24079,"position":3},"title":"liteLLM &#8211; 50\uac1c \uc774\uc0c1\uc758 LLM\uc744 \uc9c0\uc6d0\ud558\ub294 \ud504\ub85d\uc2dc \uc11c\ubc84","author":"\ub178\ub9ac\ucef4\ud37c\ub2c8","date":"2023\ub144 8\uc6d4 14\uc77c","format":false,"excerpt":"\/chat\/completion API\ub97c Azure, OpenAI, Replicate, Anthropic, Hugging Face \ub4f1\uc758 \ub2e4\uc591\ud55c LLM\uc5d0 \ub300\ud574\uc11c \ud638\ucd9c \uac00\ub2a5 Input\/Ouput \ud3ec\ub9f7\uc744 OpenAI \ud3ec\ub9f7\uc73c\ub85c \ud1b5\uc77c \ubaa8\ub378 Fallback\uc744 \uc9c0\uc6d0(\uc608: GPT-4 \uc2e4\ud328\uc2dc llama2 \ud638\ucd9c) \ub85c\uae45 \uc9c0\uc6d0: Supabase, Posthog, Mixpanel, Sentry, Helicone ... \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":23144,"url":"https:\/\/nori.company\/?p=23144","url_meta":{"origin":24079,"position":4},"title":"MLC LLM &#8211; LLM\ubaa8\ub378\uc744 \uc5b4\ub5a4 \ub514\ubc14\uc774\uc2a4\uc5d0\ub4e0 \ubc30\ud3ec \uac00\ub2a5\ud558\uac8c \ud574\uc8fc\ub294 \uc624\ud508\uc18c\uc2a4 \uc194\ub8e8\uc158","author":"\ub178\ub9ac\ucef4\ud37c\ub2c8","date":"2023\ub144 5\uc6d4 11\uc77c","format":false,"excerpt":"\ub204\uad6c\ub098 AI \ubaa8\ub378\uc744 \uac1c\ubc1c\ud558\uace0 \ucd5c\uc801\ud654\ud574\uc11c \uc5b4\ub5a4 \ub514\ubc14\uc774\uc2a4\uc5d0\ub4e0 \ubc30\ud3ec \uac00\ub2a5\ud558\uac8c \ub9cc\ub4dc\ub294 \uac83\uc744 \ubaa9\ud45c MLC(Machine Learning Compilation) \uc640 Apache TVm Unity \ub97c \uc774\uc6a9 \uc9c0\uc6d0 \ud50c\ub7ab\ud3fc \uc544\uc774\ud3f0\/\uc544\uc774\ud328\ub4dc\/\uc548\ub4dc\ub85c\uc774\ub4dc Metal GPU \uc640 Intel&ARM \ub9e5\ubd81 AMD\/Intel \ubc0f NVidia GPU(... \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":31043,"url":"https:\/\/nori.company\/?p=31043","url_meta":{"origin":24079,"position":5},"title":"llamafile &#8211; \ub2e8\uc77c \ud30c\uc77c\ub85c LLM \ubc30\ud3ec \ubc0f \uc2e4\ud589 \ud558\uae30","author":"\ub178\ub9ac\ucef4\ud37c\ub2c8","date":"2023\ub144 12\uc6d4 4\uc77c","format":false,"excerpt":"1\uac1c\uc758 \ud30c\uc77c\ub85c \ub300\ubd80\ubd84\uc758 \ucef4\ud4e8\ud130\uc5d0\uc11c \uc124\uce58\uc5c6\uc774 LLM\uc744 \uc27d\uac8c \uc2e4\ud589 \uc9c0\uc6d0 llama.cpp\uc640 Cosmopolitan Libc\ub97c \uacb0\ud569\ud55c \ud504\ub808\uc784\uc6cc\ud06c 1\uac1c\uc758 \ube4c\ub4dc\ub85c \uc5ec\ub7ec OS, \ub2e4\uc591\ud55c CPU \uc544\ud0a4\ud14d\ucc98\uc5d0\uc11c \uc2e4\ud589 \uac00\ub2a5 \ucc44\ud305 \ubc0f \uc774\ubbf8\uc9c0 \uc778\uc2dd\uc774 \uac00\ub2a5\ud55c LLaVA \ubaa8\ub378\uc744 \uc608\uc81c\ub85c \uc81c\uacf5 4GB \ud30c\uc77c\uc778 ... \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\/24079","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=24079"}],"version-history":[{"count":1,"href":"https:\/\/nori.company\/index.php?rest_route=\/wp\/v2\/posts\/24079\/revisions"}],"predecessor-version":[{"id":24080,"href":"https:\/\/nori.company\/index.php?rest_route=\/wp\/v2\/posts\/24079\/revisions\/24080"}],"wp:attachment":[{"href":"https:\/\/nori.company\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=24079"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/nori.company\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=24079"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/nori.company\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=24079"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}