From 14dea893f07cc7dcaed955a5bbfc1e41282f8f5a Mon Sep 17 00:00:00 2001 From: leunge Date: Mon, 15 Jul 2024 07:56:06 +0000 Subject: [PATCH] deploy: 836c25111154050165b1baf074a75a9cfc7f6023 --- 2024/07/{12 => 15}/hello-world/index.html | 20 +- archives/2024/07/index.html | 4 +- archives/2024/index.html | 4 +- archives/index.html | 4 +- entryjs/api/2024-02-29-api.html | 14 +- entryjs/api/2024-02-29-data.html | 14 +- entryjs/api/2024-02-29-event.html | 14 +- entryjs/api/2024-02-29-popup.html | 14 +- entryjs/api/2024-03-05-static.html | 14 +- entryjs/api/2024-03-05-util.html | 14 +- entryjs/api/2024-04-24-ml.html | 21 +- .../blocks/2024-03-25-expansion-block.html | 14 +- entryjs/blocks/2024-04-17-ai-block.html | 14 +- entryjs/faq/2024-02-29-faq.html | 14 +- entryjs/index.html | 14 +- entryjs/started/2024-02-29-installation.html | 14 +- entryjs/started/2024-02-29-structure.html | 14 +- entryjs/started/2024-03-05-example.html | 14 +- entryjs/started/2024-03-05-run.html | 14 +- entryjs/started/2024-05-03-example.html | 14 +- entryjs/typedef/2024-03-11-init-options.html | 14 +- entryjs/typedef/2024-03-15-function-data.html | 14 +- .../typedef/2024-03-15-interface-state.html | 14 +- entryjs/typedef/2024-03-15-message-data.html | 14 +- entryjs/typedef/2024-03-15-object-data.html | 14 +- entryjs/typedef/2024-03-15-project-data.html | 14 +- entryjs/typedef/2024-03-15-scene-data.html | 14 +- entryjs/typedef/2024-03-15-table-data.html | 14 +- entryjs/typedef/2024-03-15-variable-data.html | 14 +- guide/basic/2016-07-07-faq.html | 8 +- guide/basic/2023-05-25-common_problem.html | 6 +- guide/basic/pull_request.html | 6 +- guide/basic/setting_environment.html | 6 +- .../entry-hw/2016-05-01-getting_started.html | 6 +- guide/entry-hw/2016-05-03-add_module.html | 6 +- .../entry-hw/2017-05-16-enroll_entry-hw.html | 6 +- .../2024-07-03-entry_hw_web_connect.html | 6 +- guide/entry-hw/add_bluetooth_hardware.html | 6 +- guide/entry-hw/cli_test_hardware.html | 6 +- .../2017-12-20-getting_started.html | 6 +- .../2017-12-21-project_structure.html | 6 +- guide/entry-offline/2017-12-27-develop.html | 6 +- guide/entry-offline/2017-12-28-translate.html | 6 +- guide/entry-offline/2018-01-09-build.html | 6 +- .../entry-offline/2018-01-10-add_objects.html | 6 +- .../2018-10-30-custom_project.html | 6 +- guide/entryjs/2016-05-22-add_new_blocks.html | 6 +- guide/entryjs/2016-05-26-add_new_blocks2.html | 6 +- guide/entryjs/2016-05-26-add_new_blocks3.html | 6 +- guide/entryjs/2016-07-08-add_new_blocks4.html | 6 +- guide/entryjs/2018-03-09-getting_started.html | 6 +- guide/entryjs/2018-03-09-translate.html | 6 +- guide/entryjs/2018-03-14-add_hardware.html | 6 +- guide/entryjs/2018-03-23-test_project.html | 6 +- guide/etc/2016-05-03-git_fork.html | 6 +- guide/etc/2019-12-11-updates.html | 2 +- guide/etc/2020-06-24-doc_contribution.html | 6 +- guide/quick_start/2018-07-30-tutorial.html | 2 +- index.html | 4 +- sitemap.xml | 204 +++++++++--------- user/block_ai_face.html | 2 +- user/block_ai_hand.html | 2 +- user/block_ai_human.html | 2 +- user/block_ai_object.html | 2 +- user/block_ai_stt.html | 2 +- user/block_ai_translate.html | 2 +- user/block_ai_tts.html | 2 +- user/block_brush.html | 2 +- user/block_decision.html | 2 +- user/block_extension.html | 2 +- user/block_figures.html | 2 +- user/block_flow.html | 2 +- user/block_function.html | 2 +- user/block_hardware.html | 2 +- user/block_looks.html | 2 +- user/block_model_classification.html | 2 +- user/block_model_clustering.html | 2 +- user/block_model_image.html | 2 +- user/block_model_prediction.html | 2 +- user/block_model_sound.html | 2 +- user/block_model_text.html | 2 +- user/block_motion.html | 2 +- user/block_sound.html | 2 +- user/block_start.html | 2 +- user/block_table.html | 2 +- user/block_text.html | 2 +- user/block_variable.html | 2 +- user/header.html | 2 +- user/index.html | 2 +- user/others.html | 2 +- user/popup_model.html | 2 +- user/popup_object.html | 2 +- user/popup_table.html | 2 +- user/screen.html | 2 +- user/sub-space.html | 2 +- user/tab_attribute.html | 2 +- user/tab_block.html | 2 +- user/tab_shape.html | 2 +- user/tab_sound.html | 2 +- user/what-is-ai.html | 2 +- user/what-is-model.html | 2 +- user/what-is-project.html | 2 +- 102 files changed, 427 insertions(+), 422 deletions(-) rename 2024/07/{12 => 15}/hello-world/index.html (96%) diff --git a/2024/07/12/hello-world/index.html b/2024/07/15/hello-world/index.html similarity index 96% rename from 2024/07/12/hello-world/index.html rename to 2024/07/15/hello-world/index.html index 25e8b9ad..83088331 100644 --- a/2024/07/12/hello-world/index.html +++ b/2024/07/15/hello-world/index.html @@ -8,7 +8,7 @@ - + @@ -76,16 +76,16 @@ "image": "https://docs.playentry.org/images/logo.png", - "datePublished": "2024-07-12", - "dateCreated": "2024-07-12", - "dateModified": "2024-07-12", - "url": "https://docs.playentry.org/2024/07/12/hello-world/", + "datePublished": "2024-07-15", + "dateCreated": "2024-07-15", + "dateModified": "2024-07-15", + "url": "https://docs.playentry.org/2024/07/15/hello-world/", "description": "Entry Docs - 엔트리 개발 가이드&위키", "wordCount": "120", "publisher": "Entrylabs", "mainEntityOfPage": { "@type": "WebPage", - "@id": "https://docs.playentry.org/2024/07/12/hello-world/" + "@id": "https://docs.playentry.org/2024/07/15/hello-world/" } } @@ -151,7 +151,7 @@

@@ -159,7 +159,7 @@

Hello World

-

Jul 12, 2024

+

Jul 15, 2024

Welcome to Hexo! This is your very first post. Check documentation for more info. If you get any problems when using Hexo, you can find the answer in troubleshooting or you can ask me on GitHub.

Quick Start

Create a new post

$ hexo new "My New Post"
@@ -177,8 +177,8 @@

Caught a mistake or want to contribute to the documentation? - - + + Edit this page on Github!

diff --git a/archives/2024/07/index.html b/archives/2024/07/index.html index 7eee68c4..2ff844d5 100644 --- a/archives/2024/07/index.html +++ b/archives/2024/07/index.html @@ -76,8 +76,8 @@ "image": "https://docs.playentry.org/images/logo.png", - "datePublished": "2024-07-12", - "dateCreated": "2024-07-12", + "datePublished": "2024-07-15", + "dateCreated": "2024-07-15", "url": "https://docs.playentry.org/archives/2024/07/index.html", "description": "Entry Docs - 엔트리 개발 가이드&위키", diff --git a/archives/2024/index.html b/archives/2024/index.html index 7ab660cc..cc3f6737 100644 --- a/archives/2024/index.html +++ b/archives/2024/index.html @@ -76,8 +76,8 @@ "image": "https://docs.playentry.org/images/logo.png", - "datePublished": "2024-07-12", - "dateCreated": "2024-07-12", + "datePublished": "2024-07-15", + "dateCreated": "2024-07-15", "url": "https://docs.playentry.org/archives/2024/index.html", "description": "Entry Docs - 엔트리 개발 가이드&위키", diff --git a/archives/index.html b/archives/index.html index 2dbd0e81..332d6786 100644 --- a/archives/index.html +++ b/archives/index.html @@ -76,8 +76,8 @@ "image": "https://docs.playentry.org/images/logo.png", - "datePublished": "2024-07-12", - "dateCreated": "2024-07-12", + "datePublished": "2024-07-15", + "dateCreated": "2024-07-15", "url": "https://docs.playentry.org/archives/index.html", "description": "Entry Docs - 엔트리 개발 가이드&위키", diff --git a/entryjs/api/2024-02-29-api.html b/entryjs/api/2024-02-29-api.html index 7bbd4c2b..67d15a82 100644 --- a/entryjs/api/2024-02-29-api.html +++ b/entryjs/api/2024-02-29-api.html @@ -300,7 +300,7 @@
  • - +
  • @@ -308,7 +308,7 @@
  • - +
  • @@ -329,7 +329,7 @@
  • - +
  • @@ -337,7 +337,7 @@
  • - +
  • @@ -345,7 +345,7 @@
  • - +
  • @@ -353,7 +353,7 @@
  • - +
  • @@ -361,7 +361,7 @@
  • - +
  • diff --git a/entryjs/api/2024-02-29-data.html b/entryjs/api/2024-02-29-data.html index 81e6b67a..2d1f2694 100644 --- a/entryjs/api/2024-02-29-data.html +++ b/entryjs/api/2024-02-29-data.html @@ -300,7 +300,7 @@
  • - +
  • @@ -308,7 +308,7 @@
  • - +
  • @@ -329,7 +329,7 @@
  • - +
  • @@ -337,7 +337,7 @@
  • - +
  • @@ -345,7 +345,7 @@
  • - +
  • @@ -353,7 +353,7 @@
  • - +
  • @@ -361,7 +361,7 @@
  • - +
  • diff --git a/entryjs/api/2024-02-29-event.html b/entryjs/api/2024-02-29-event.html index a0829c08..48b71100 100644 --- a/entryjs/api/2024-02-29-event.html +++ b/entryjs/api/2024-02-29-event.html @@ -300,7 +300,7 @@
  • - +
  • @@ -308,7 +308,7 @@
  • - +
  • @@ -329,7 +329,7 @@
  • - +
  • @@ -337,7 +337,7 @@
  • - +
  • @@ -345,7 +345,7 @@
  • - +
  • @@ -353,7 +353,7 @@
  • - +
  • @@ -361,7 +361,7 @@
  • - +
  • diff --git a/entryjs/api/2024-02-29-popup.html b/entryjs/api/2024-02-29-popup.html index 601ac660..27841c24 100644 --- a/entryjs/api/2024-02-29-popup.html +++ b/entryjs/api/2024-02-29-popup.html @@ -300,7 +300,7 @@
  • - +
  • @@ -308,7 +308,7 @@
  • - +
  • @@ -329,7 +329,7 @@
  • - +
  • @@ -337,7 +337,7 @@
  • - +
  • @@ -345,7 +345,7 @@
  • - +
  • @@ -353,7 +353,7 @@
  • - +
  • @@ -361,7 +361,7 @@
  • - +
  • diff --git a/entryjs/api/2024-03-05-static.html b/entryjs/api/2024-03-05-static.html index 1a5724d7..3ecfb814 100644 --- a/entryjs/api/2024-03-05-static.html +++ b/entryjs/api/2024-03-05-static.html @@ -300,7 +300,7 @@
  • - +
  • @@ -308,7 +308,7 @@
  • - +
  • @@ -329,7 +329,7 @@
  • - +
  • @@ -337,7 +337,7 @@
  • - +
  • @@ -345,7 +345,7 @@
  • - +
  • @@ -353,7 +353,7 @@
  • - +
  • @@ -361,7 +361,7 @@
  • - +
  • diff --git a/entryjs/api/2024-03-05-util.html b/entryjs/api/2024-03-05-util.html index 039c674b..b5bcaa65 100644 --- a/entryjs/api/2024-03-05-util.html +++ b/entryjs/api/2024-03-05-util.html @@ -300,7 +300,7 @@
  • - +
  • @@ -308,7 +308,7 @@
  • - +
  • @@ -329,7 +329,7 @@
  • - +
  • @@ -337,7 +337,7 @@
  • - +
  • @@ -345,7 +345,7 @@
  • - +
  • @@ -353,7 +353,7 @@
  • - +
  • @@ -361,7 +361,7 @@
  • - +
  • diff --git a/entryjs/api/2024-04-24-ml.html b/entryjs/api/2024-04-24-ml.html index 5e19c851..34846ad4 100644 --- a/entryjs/api/2024-04-24-ml.html +++ b/entryjs/api/2024-04-24-ml.html @@ -81,7 +81,7 @@ "dateModified": "2024-05-22", "url": "https://docs.playentry.org/entryjs/api/2024-04-24-ml.html", "description": "Entry Docs - 엔트리 개발 가이드&위키", - "wordCount": "22917", + "wordCount": "23425", "publisher": "Entrylabs", "mainEntityOfPage": { "@type": "WebPage", @@ -300,7 +300,7 @@
  • - +
  • @@ -308,7 +308,7 @@
  • - +
  • @@ -329,7 +329,7 @@
  • - +
  • @@ -337,7 +337,7 @@
  • - +
  • @@ -345,7 +345,7 @@
  • - +
  • @@ -353,7 +353,7 @@
  • - +
  • @@ -361,7 +361,7 @@
  • - +
  • @@ -613,6 +613,11 @@

    Popup 인스턴스 생성 및 초기화

    사용자들이 인공지능 모델을 학습하는 UI를 팝업형태로 생성합니다.

    entry-tool을 활용한 팝업과 유사합니다.

    +

    Vanilla JS

    <!DOCTYPE html>
    <html lang="ko">
    <head>
    <meta charset="UTF-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <meta http-equiv="X-UA-Compatible" content="ie=edge" />
    <title>EntryJS Base Example</title>
    <link rel="stylesheet" href="./test/ai/entry-ml.css" />
    </head>
    <body>
    <button onClick={loadPopup()}>show</button>
    <div id="popupContainer"></div>
    <script type="text/javascript" src="./test/ai/entry-ml.js"></script>
    <script>
    learningPopup = new Entryml.Popup({
    container: document.getElementById('popupContainer'),
    isShow: false,
    data: {
    tokenizerPath: '/test/ai/resources',
    },
    });
    const loadPopup = () => {
    learningPopup.show();
    }
    </script>
    </body>
    </html>
    +

    next.js

    webpack externals. 설정을 이용하여 아래와 같이 사용 가능합니다.

    +

    webpack 설정.

    +
    config.externals = [
    {
    '@entrylabs/tool': 'EntryTool',
    '@entrylabs/tool/component': 'EntryTool.Component',
    '@entrylabs/ml': 'Entryml',
    },
    ];
    +
    const learningPopup = {};
    const learningContainer = {};

    // entrylabs/ml 라이브러리 import
    const { Popup } = await import('@entrylabs/ml');
    // 팝업 인스턴스가 없는 경우, 팝업을 띄울 DOM 컨테이너 생성
    if (!Popup.instance) {
    this.learningContainer = this.createContainer('EntryLearningContainer');
    }
    // 팝업 초기화에 파라미터로 넣어줄 테이블 데이터를 WS에서 로드
    const tables = Entry.playground.dataTable.getTableJSON();

    // 팝업을 초기화하고 생성
    this.learningPopup = new Popup({
    container: this.learningContainer,
    isShow: false,
    dataApi: this.dataApi,
    i18n: {
    ko: {
    learning: {
    menu_my_model: 'my model',
    },
    },
    },
    data: {
    tables,
    tokenizerPath: '[entry-ml 파일경로]/resources',
    },
    })