File size: 3,455 Bytes
d3410d9
c222eeb
 
 
 
 
 
 
 
 
 
 
 
2823106
c222eeb
af3a153
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
3ccad14
 
af3a153
 
 
dc524c6
af3a153
 
 
91acf6d
af3a153
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
c222eeb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
<!doctype html>
<html style="height:100%;">
<head>
    <meta charset="utf-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1" />
    <title>My static Space</title>
    <link rel="stylesheet" href="style.css" />
</head>
<body style="margin:0; height:100%; overflow:hidden;">
    <iframe src="https://partner.novamsg.org:8030/"
            style="width:100%; height:100%; border:none; display:block;"
            allowfullscreen>
        Your browser does not support iframes.
    </iframe>
</body>



  
<!------------------------------- view_layouts_base_body_bottom  ------------------------->

 
<!------------------------------- view_layouts_base_body_bottom  ------------------------->


 <script>
    // ํ˜„์žฌ URL ๊ฒฝ๋กœ ๊ฐ€์ ธ์˜ค๊ธฐ
    const currentPath = window.location.pathname;

    // ๋žœ๋ค ๋ฉ”์‹œ์ง€ ๋ฐฐ์—ด
    const defaultMessages = [
      "React์™€ Vue์˜ ์ฐจ์ด์ ์€ ๋ฌด์—‡์ธ๊ฐ€์š”?",
      "JavaScript์—์„œ ๋น„๋™๊ธฐ ํ”„๋กœ๊ทธ๋ž˜๋ฐ์„ ์–ด๋–ป๊ฒŒ ๊ตฌํ˜„ํ•˜๋‚˜์š”?",
      "TypeScript์˜ ์ฃผ์š” ํŠน์ง•๊ณผ ์žฅ์ ์€ ๋ฌด์—‡์ธ๊ฐ€์š”?",
      "์›น ์ ‘๊ทผ์„ฑ์„ ํ–ฅ์ƒ์‹œํ‚ค๋Š” ๋ฐฉ๋ฒ•์—๋Š” ์–ด๋–ค ๊ฒƒ๋“ค์ด ์žˆ๋‚˜์š”?",
      "์ตœ์‹  CSS ๊ธฐ์ˆ ์ธ Flexbox์™€ Grid์˜ ์ฃผ์š” ์šฉ๋„๋Š” ๋ฌด์—‡์ธ๊ฐ€์š”?"
    ];

    // ๋žœ๋ค ๋ฉ”์‹œ์ง€ ์„ ํƒ
    const randomMessage = defaultMessages[Math.floor(Math.random() * defaultMessages.length)];

    // ์Šคํฌ๋ฆฝํŠธ ์†์„ฑ ์„ค์ •
    let scriptAttributes = {
      "data-embed-id": "dc588ca9-bf9b-406b-a511-73ea3485c175", // ๊ธฐ๋ณธ๊ฐ’
      "data-chat-icon": "chatBubble",
      "data-sponsor-text": "๋ฏธ๋””์–ด๋กœ๊ทธ AX์†”๋ฃจ์…˜๊ธฐ์ˆ  TF",
      "data-sponsor-link": "https://www.medialog.co.kr",
      "data-open-on-load": "๋„ˆ๋Š” ์–ด๋–ค ์ผ์„ ํ• ์ˆ˜ ์žˆ์–ด?",
      "data-window-height": "800px",
      "data-window-width": "500px",
      "data-brand-image-url": "https://partner.novamsg.org/cms/assets/download/9192/exaone_banner.png",
      "data-assistant-icon": "https://partner.novamsg.org/cms/assets/download/9177/exaone.png",
      "data-base-api-url": "https://partner.novamsg.org:5004/api/embed",
      "data-assistant-name": "์ง€์‹๊ธฐ๋ฐ˜ ์ฑ—๋ด‡ (All in AI)",
      "data-greeting": "๊ธฐ์—…/์†”๋ฃจ์…˜๋‹ด๋‹น AX์†”๋ฃจ์…˜๊ธฐ์ˆ  TF ์—์„œ ์šด์˜ํ•˜๋Š” ์•ก์‚ฌ์› ์ฑ—๋ด‡ ์ž…๋‹ˆ๋‹ค.",
      "data-default-messages": randomMessage
    };

    // URL์— ๋”ฐ๋ผ ํŠน์ • ์†์„ฑ ์ˆ˜์ •
    if (currentPath === "/projects/ax-tf") {
      scriptAttributes["data-embed-id"] = "8794b20f-68e4-4c7e-8f4c-b3fc4ffbc5d5";
      scriptAttributes["data-chat-icon"] = "plus";
      scriptAttributes["data-brand-image-url"] = "https://partner.novamsg.org/cms/assets/download/9192/exaone_banner.png";
      scriptAttributes["data-greeting"] ="๊ธฐ์—…/์†”๋ฃจ์…˜๋‹ด๋‹น AX์†”๋ฃจ์…˜๊ธฐ์ˆ  TF์—์„œ ์šด์˜ํ•˜๋Š” ์—‘์‚ฌ์› LLM ์ž…๋‹ˆ๋‹ค.";
    }

    // ๋™์  ์Šคํฌ๋ฆฝํŠธ ์ƒ์„ฑ
    const script = document.createElement("script");
    Object.entries(scriptAttributes).forEach(([key, value]) => {
      script.setAttribute(key, value);
    });
    script.src = "https://partner.novamsg.org:5004/embed/anythingllm-chat-widget.min.js";

    // ์Šคํฌ๋ฆฝํŠธ๋ฅผ body์— ์ถ”๊ฐ€
    document.body.appendChild(script);
  </script>

<!--
Paste this script at the bottom of your HTML before the </body> tag.
See more style and config options on our docs
https://github.com/Mintplex-Labs/anything-llm/tree/master/embed/README.md
-->


<!-- AnythingLLM (https://anythingllm.com) -->


  

  
</html>