@agentica/chat 0.15.4 → 0.15.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/dist/assets/{Divider-DaLcPLlq.js → Divider-U2p72sQ2.js} +1 -1
- package/dist/assets/_accessExpressionAsString-J5NhZ9FO.js +1 -0
- package/dist/assets/_isFormatUri-Czmim0us.js +3162 -0
- package/dist/assets/bbs/index-CdF6qCrg.js +115 -0
- package/dist/assets/{client-BVv4NBtY.js → client-nQAh1QKo.js} +1 -1
- package/dist/assets/{index-BjONR16U.js → index-DmJqXwCp.js} +1 -1
- package/dist/assets/index-af7ihIz8.js +1641 -0
- package/dist/assets/shopping/index.html-C5MFMT7t.js +1 -0
- package/dist/assets/uploader/index.html-CH6UMGAK.js +27 -0
- package/dist/bbs/index.html +31 -24
- package/dist/index.html +29 -22
- package/dist/shopping/index.html +32 -24
- package/dist/uploader/index.html +30 -22
- package/lib/AgenticaChatApplication.d.ts +3 -3
- package/lib/components/MarkdownViewer.d.ts +1 -1
- package/lib/examples/bbs/BbsArticleService.d.ts +2 -2
- package/lib/examples/bbs/BbsChatApplication.d.ts +1 -1
- package/lib/examples/bbs/IBbsArticle.d.ts +1 -1
- package/lib/examples/shopping/ShoppingChatApplication.d.ts +3 -3
- package/lib/examples/uploader/AgenticaChatPlaygroundApplication.d.ts +3 -2
- package/lib/examples/uploader/AgenticaChatUploaderMovie.d.ts +2 -2
- package/lib/index.mjs +155 -146
- package/lib/index.mjs.map +1 -1
- package/lib/movies/messages/AgenticaChatDescribeMessageMovie.d.ts +3 -3
- package/lib/movies/messages/AgenticaChatExecuteMessageMovie.d.ts +3 -3
- package/lib/movies/messages/AgenticaChatMessageMovie.d.ts +3 -3
- package/lib/movies/messages/AgenticaChatSelectMessageMovie.d.ts +3 -3
- package/lib/movies/messages/AgenticaChatTextMessageMovie.d.ts +2 -2
- package/lib/movies/sides/AgenticaChatFunctionStackSideMovie.d.ts +3 -3
- package/lib/movies/sides/AgenticaChatSideMovie.d.ts +3 -3
- package/lib/movies/sides/AgenticaChatTokenUsageSideMovie.d.ts +2 -2
- package/package.json +21 -22
- package/src/AgenticaChatApplication.tsx +4 -6
- package/src/README.md +5 -2
- package/src/components/MarkdownViewer.tsx +2 -2
- package/src/movies/AgenticaChatMovie.tsx +22 -22
- package/src/movies/messages/AgenticaChatDescribeMessageMovie.tsx +10 -8
- package/src/movies/messages/AgenticaChatExecuteMessageMovie.tsx +14 -10
- package/src/movies/messages/AgenticaChatMessageMovie.tsx +12 -9
- package/src/movies/messages/AgenticaChatSelectMessageMovie.tsx +18 -15
- package/src/movies/messages/AgenticaChatTextMessageMovie.tsx +5 -4
- package/src/movies/sides/AgenticaChatFunctionStackSideMovie.tsx +7 -8
- package/src/movies/sides/AgenticaChatSideMovie.tsx +36 -26
- package/src/movies/sides/AgenticaChatTokenUsageSideMovie.tsx +22 -14
- package/dist/assets/AgenticaChatApplication-lWIm50QF.js +0 -4821
- package/dist/assets/_isFormatUri-YqTfGpHo.js +0 -1
- package/dist/assets/bbs/index-DQHKfogj.js +0 -97
- package/dist/assets/shopping/index.html-FHl0O6gf.js +0 -1
- package/dist/assets/uploader/index.html-CIM-e8Kh.js +0 -27
package/dist/bbs/index.html
CHANGED
|
@@ -1,26 +1,33 @@
|
|
|
1
1
|
<html lang="en">
|
|
2
|
+
<head>
|
|
3
|
+
<meta charset="UTF-8" />
|
|
4
|
+
<meta
|
|
5
|
+
name="viewport"
|
|
6
|
+
content="width=device-width, height=device-height, initial-scale=1, minimum-scale=1.0, maximum-scale=3.0s"
|
|
7
|
+
/>
|
|
8
|
+
<script type="text/javascript">
|
|
9
|
+
(function (c, l, a, r, i, t, y) {
|
|
10
|
+
c[a] =
|
|
11
|
+
c[a] ||
|
|
12
|
+
function () {
|
|
13
|
+
(c[a].q = c[a].q || []).push(arguments);
|
|
14
|
+
};
|
|
15
|
+
t = l.createElement(r);
|
|
16
|
+
t.async = 1;
|
|
17
|
+
t.src = "https://www.clarity.ms/tag/" + i;
|
|
18
|
+
y = l.getElementsByTagName(r)[0];
|
|
19
|
+
y.parentNode.insertBefore(t, y);
|
|
20
|
+
})(window, document, "clarity", "script", "gu5qz1srj3");
|
|
21
|
+
</script>
|
|
22
|
+
<title>Agentica Playground > TypeScript Class Demonstration</title>
|
|
23
|
+
<script type="module" src="../assets/bbs/index-CdF6qCrg.js"></script>
|
|
24
|
+
<link rel="modulepreload" crossorigin href="../assets/client-nQAh1QKo.js">
|
|
25
|
+
<link rel="modulepreload" crossorigin href="../assets/index-af7ihIz8.js">
|
|
26
|
+
<link rel="modulepreload" crossorigin href="../assets/_isFormatUri-Czmim0us.js">
|
|
27
|
+
<link rel="modulepreload" crossorigin href="../assets/Divider-U2p72sQ2.js">
|
|
28
|
+
</head>
|
|
2
29
|
|
|
3
|
-
<
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
<script type="text/javascript">
|
|
8
|
-
(function (c, l, a, r, i, t, y) {
|
|
9
|
-
c[a] = c[a] || function () { (c[a].q = c[a].q || []).push(arguments) };
|
|
10
|
-
t = l.createElement(r); t.async = 1; t.src = "https://www.clarity.ms/tag/" + i;
|
|
11
|
-
y = l.getElementsByTagName(r)[0]; y.parentNode.insertBefore(t, y);
|
|
12
|
-
})(window, document, "clarity", "script", "gu5qz1srj3");
|
|
13
|
-
</script>
|
|
14
|
-
<title>Agentica Playground > TypeScript Class Demonstration</title>
|
|
15
|
-
<script type="module" src="../assets/bbs/index-DQHKfogj.js"></script>
|
|
16
|
-
<link rel="modulepreload" crossorigin href="../assets/client-BVv4NBtY.js">
|
|
17
|
-
<link rel="modulepreload" crossorigin href="../assets/AgenticaChatApplication-lWIm50QF.js">
|
|
18
|
-
<link rel="modulepreload" crossorigin href="../assets/_isFormatUri-YqTfGpHo.js">
|
|
19
|
-
<link rel="modulepreload" crossorigin href="../assets/Divider-DaLcPLlq.js">
|
|
20
|
-
</head>
|
|
21
|
-
|
|
22
|
-
<body style="width: 100%; height: 100%; margin: 0px; overflow: hidden;">
|
|
23
|
-
<div id="root" style="width: 100%; height: 100%"></div>
|
|
24
|
-
</body>
|
|
25
|
-
|
|
26
|
-
</html>
|
|
30
|
+
<body style="width: 100%; height: 100%; margin: 0px; overflow: hidden">
|
|
31
|
+
<div id="root" style="width: 100%; height: 100%"></div>
|
|
32
|
+
</body>
|
|
33
|
+
</html>
|
package/dist/index.html
CHANGED
|
@@ -1,24 +1,31 @@
|
|
|
1
1
|
<html lang="en">
|
|
2
|
+
<head>
|
|
3
|
+
<meta charset="UTF-8" />
|
|
4
|
+
<meta
|
|
5
|
+
name="viewport"
|
|
6
|
+
content="width=device-width, height=device-height, initial-scale=1, minimum-scale=1.0, maximum-scale=3.0s"
|
|
7
|
+
/>
|
|
8
|
+
<script type="text/javascript">
|
|
9
|
+
(function (c, l, a, r, i, t, y) {
|
|
10
|
+
c[a] =
|
|
11
|
+
c[a] ||
|
|
12
|
+
function () {
|
|
13
|
+
(c[a].q = c[a].q || []).push(arguments);
|
|
14
|
+
};
|
|
15
|
+
t = l.createElement(r);
|
|
16
|
+
t.async = 1;
|
|
17
|
+
t.src = "https://www.clarity.ms/tag/" + i;
|
|
18
|
+
y = l.getElementsByTagName(r)[0];
|
|
19
|
+
y.parentNode.insertBefore(t, y);
|
|
20
|
+
})(window, document, "clarity", "script", "gu5qz1srj3");
|
|
21
|
+
</script>
|
|
22
|
+
<title>Agentica Playground</title>
|
|
23
|
+
<script type="module" src="./assets/index-DmJqXwCp.js"></script>
|
|
24
|
+
<link rel="modulepreload" crossorigin href="./assets/client-nQAh1QKo.js">
|
|
25
|
+
<link rel="modulepreload" crossorigin href="./assets/Divider-U2p72sQ2.js">
|
|
26
|
+
</head>
|
|
2
27
|
|
|
3
|
-
<
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
<script type="text/javascript">
|
|
8
|
-
(function (c, l, a, r, i, t, y) {
|
|
9
|
-
c[a] = c[a] || function () { (c[a].q = c[a].q || []).push(arguments) };
|
|
10
|
-
t = l.createElement(r); t.async = 1; t.src = "https://www.clarity.ms/tag/" + i;
|
|
11
|
-
y = l.getElementsByTagName(r)[0]; y.parentNode.insertBefore(t, y);
|
|
12
|
-
})(window, document, "clarity", "script", "gu5qz1srj3");
|
|
13
|
-
</script>
|
|
14
|
-
<title>Agentica Playground</title>
|
|
15
|
-
<script type="module" src="./assets/index-BjONR16U.js"></script>
|
|
16
|
-
<link rel="modulepreload" crossorigin href="./assets/client-BVv4NBtY.js">
|
|
17
|
-
<link rel="modulepreload" crossorigin href="./assets/Divider-DaLcPLlq.js">
|
|
18
|
-
</head>
|
|
19
|
-
|
|
20
|
-
<body>
|
|
21
|
-
<div id="root" style="width: 100%; height: 100%"></div>
|
|
22
|
-
</body>
|
|
23
|
-
|
|
24
|
-
</html>
|
|
28
|
+
<body>
|
|
29
|
+
<div id="root" style="width: 100%; height: 100%"></div>
|
|
30
|
+
</body>
|
|
31
|
+
</html>
|
package/dist/shopping/index.html
CHANGED
|
@@ -1,26 +1,34 @@
|
|
|
1
1
|
<html lang="en">
|
|
2
|
+
<head>
|
|
3
|
+
<meta charset="UTF-8" />
|
|
4
|
+
<meta
|
|
5
|
+
name="viewport"
|
|
6
|
+
content="width=device-width, height=device-height, initial-scale=1, minimum-scale=1.0, maximum-scale=3.0s"
|
|
7
|
+
/>
|
|
8
|
+
<script type="text/javascript">
|
|
9
|
+
(function (c, l, a, r, i, t, y) {
|
|
10
|
+
c[a] =
|
|
11
|
+
c[a] ||
|
|
12
|
+
function () {
|
|
13
|
+
(c[a].q = c[a].q || []).push(arguments);
|
|
14
|
+
};
|
|
15
|
+
t = l.createElement(r);
|
|
16
|
+
t.async = 1;
|
|
17
|
+
t.src = "https://www.clarity.ms/tag/" + i;
|
|
18
|
+
y = l.getElementsByTagName(r)[0];
|
|
19
|
+
y.parentNode.insertBefore(t, y);
|
|
20
|
+
})(window, document, "clarity", "script", "gu5qz1srj3");
|
|
21
|
+
</script>
|
|
22
|
+
<title>Agentica Playground > Shopping Mall Demonstration</title>
|
|
23
|
+
<script type="module" src="../assets/shopping/index.html-C5MFMT7t.js"></script>
|
|
24
|
+
<link rel="modulepreload" crossorigin href="../assets/client-nQAh1QKo.js">
|
|
25
|
+
<link rel="modulepreload" crossorigin href="../assets/index-af7ihIz8.js">
|
|
26
|
+
<link rel="modulepreload" crossorigin href="../assets/_isFormatUri-Czmim0us.js">
|
|
27
|
+
<link rel="modulepreload" crossorigin href="../assets/_accessExpressionAsString-J5NhZ9FO.js">
|
|
28
|
+
<link rel="modulepreload" crossorigin href="../assets/Divider-U2p72sQ2.js">
|
|
29
|
+
</head>
|
|
2
30
|
|
|
3
|
-
<
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
<script type="text/javascript">
|
|
8
|
-
(function (c, l, a, r, i, t, y) {
|
|
9
|
-
c[a] = c[a] || function () { (c[a].q = c[a].q || []).push(arguments) };
|
|
10
|
-
t = l.createElement(r); t.async = 1; t.src = "https://www.clarity.ms/tag/" + i;
|
|
11
|
-
y = l.getElementsByTagName(r)[0]; y.parentNode.insertBefore(t, y);
|
|
12
|
-
})(window, document, "clarity", "script", "gu5qz1srj3");
|
|
13
|
-
</script>
|
|
14
|
-
<title>Agentica Playground > Shopping Mall Demonstration</title>
|
|
15
|
-
<script type="module" src="../assets/shopping/index.html-FHl0O6gf.js"></script>
|
|
16
|
-
<link rel="modulepreload" crossorigin href="../assets/client-BVv4NBtY.js">
|
|
17
|
-
<link rel="modulepreload" crossorigin href="../assets/AgenticaChatApplication-lWIm50QF.js">
|
|
18
|
-
<link rel="modulepreload" crossorigin href="../assets/_isFormatUri-YqTfGpHo.js">
|
|
19
|
-
<link rel="modulepreload" crossorigin href="../assets/Divider-DaLcPLlq.js">
|
|
20
|
-
</head>
|
|
21
|
-
|
|
22
|
-
<body style="width: 100%; height: 100%; margin: 0px; overflow: hidden;">
|
|
23
|
-
<div id="root" style="width: 100%; height: 100%"></div>
|
|
24
|
-
</body>
|
|
25
|
-
|
|
26
|
-
</html>
|
|
31
|
+
<body style="width: 100%; height: 100%; margin: 0px; overflow: hidden">
|
|
32
|
+
<div id="root" style="width: 100%; height: 100%"></div>
|
|
33
|
+
</body>
|
|
34
|
+
</html>
|
package/dist/uploader/index.html
CHANGED
|
@@ -1,24 +1,32 @@
|
|
|
1
1
|
<html lang="en">
|
|
2
|
+
<head>
|
|
3
|
+
<meta charset="UTF-8" />
|
|
4
|
+
<meta
|
|
5
|
+
name="viewport"
|
|
6
|
+
content="width=device-width, height=device-height, initial-scale=1, minimum-scale=1.0, maximum-scale=3.0s"
|
|
7
|
+
/>
|
|
8
|
+
<script type="text/javascript">
|
|
9
|
+
(function (c, l, a, r, i, t, y) {
|
|
10
|
+
c[a] =
|
|
11
|
+
c[a] ||
|
|
12
|
+
function () {
|
|
13
|
+
(c[a].q = c[a].q || []).push(arguments);
|
|
14
|
+
};
|
|
15
|
+
t = l.createElement(r);
|
|
16
|
+
t.async = 1;
|
|
17
|
+
t.src = "https://www.clarity.ms/tag/" + i;
|
|
18
|
+
y = l.getElementsByTagName(r)[0];
|
|
19
|
+
y.parentNode.insertBefore(t, y);
|
|
20
|
+
})(window, document, "clarity", "script", "gu5qz1srj3");
|
|
21
|
+
</script>
|
|
22
|
+
<title>Agentica Playground > Uploader</title>
|
|
23
|
+
<script type="module" src="../assets/uploader/index.html-CH6UMGAK.js"></script>
|
|
24
|
+
<link rel="modulepreload" crossorigin href="../assets/client-nQAh1QKo.js">
|
|
25
|
+
<link rel="modulepreload" crossorigin href="../assets/index-af7ihIz8.js">
|
|
26
|
+
<link rel="modulepreload" crossorigin href="../assets/_accessExpressionAsString-J5NhZ9FO.js">
|
|
27
|
+
</head>
|
|
2
28
|
|
|
3
|
-
<
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
<script type="text/javascript">
|
|
8
|
-
(function (c, l, a, r, i, t, y) {
|
|
9
|
-
c[a] = c[a] || function () { (c[a].q = c[a].q || []).push(arguments) };
|
|
10
|
-
t = l.createElement(r); t.async = 1; t.src = "https://www.clarity.ms/tag/" + i;
|
|
11
|
-
y = l.getElementsByTagName(r)[0]; y.parentNode.insertBefore(t, y);
|
|
12
|
-
})(window, document, "clarity", "script", "gu5qz1srj3");
|
|
13
|
-
</script>
|
|
14
|
-
<title>Agentica Playground > Uploader</title>
|
|
15
|
-
<script type="module" src="../assets/uploader/index.html-CIM-e8Kh.js"></script>
|
|
16
|
-
<link rel="modulepreload" crossorigin href="../assets/client-BVv4NBtY.js">
|
|
17
|
-
<link rel="modulepreload" crossorigin href="../assets/AgenticaChatApplication-lWIm50QF.js">
|
|
18
|
-
</head>
|
|
19
|
-
|
|
20
|
-
<body style="width: 100%; height: 100%; margin: 0px; overflow: hidden;">
|
|
21
|
-
<div id="root" style="width: 100%; height: 100%"></div>
|
|
22
|
-
</body>
|
|
23
|
-
|
|
24
|
-
</html>
|
|
29
|
+
<body style="width: 100%; height: 100%; margin: 0px; overflow: hidden">
|
|
30
|
+
<div id="root" style="width: 100%; height: 100%"></div>
|
|
31
|
+
</body>
|
|
32
|
+
</html>
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { Agentica } from "@agentica/core";
|
|
2
|
-
import { ILlmSchema } from "@samchon/openapi";
|
|
3
|
-
export declare
|
|
1
|
+
import type { Agentica } from "@agentica/core";
|
|
2
|
+
import type { ILlmSchema } from "@samchon/openapi";
|
|
3
|
+
export declare function AgenticaChatApplication<Model extends ILlmSchema.Model>(props: AgenticaChatApplication.IProps<Model>): import("react/jsx-runtime").JSX.Element;
|
|
4
4
|
export declare namespace AgenticaChatApplication {
|
|
5
5
|
interface IProps<Model extends ILlmSchema.Model> {
|
|
6
6
|
agent: Agentica<Model>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export declare
|
|
1
|
+
export declare function MarkdownViewer(props: MarkdownViewer.IProps): import("react/jsx-runtime").JSX.Element;
|
|
2
2
|
export declare namespace MarkdownViewer {
|
|
3
3
|
interface IProps {
|
|
4
4
|
children: string | null | undefined;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import OpenAI from "openai";
|
|
2
|
-
export declare
|
|
2
|
+
export declare function BbsChatApplication(props: BbsChatApplication.IProps): import("react/jsx-runtime").JSX.Element;
|
|
3
3
|
export declare namespace BbsChatApplication {
|
|
4
4
|
interface IProps {
|
|
5
5
|
apiKey: string;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { IHttpConnection } from "@samchon/openapi";
|
|
2
|
-
import OpenAI from "openai";
|
|
3
|
-
export declare
|
|
1
|
+
import type { IHttpConnection } from "@samchon/openapi";
|
|
2
|
+
import type OpenAI from "openai";
|
|
3
|
+
export declare function ShoppingChatApplication(props: ShoppingChatApplication.IProps): import("react/jsx-runtime").JSX.Element;
|
|
4
4
|
export declare namespace ShoppingChatApplication {
|
|
5
5
|
interface IProps {
|
|
6
6
|
api: OpenAI;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
1
|
+
import type { ReactElement } from "react";
|
|
2
|
+
import React from "react";
|
|
3
|
+
export declare function AgenticaChatUploaderApplication(props: AgenticaChatUploaderApplication.IProps): import("react/jsx-runtime").JSX.Element;
|
|
3
4
|
export declare namespace AgenticaChatUploaderApplication {
|
|
4
5
|
interface IProps {
|
|
5
6
|
style?: React.CSSProperties;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { IHttpLlmApplication } from "@samchon/openapi";
|
|
2
|
-
export declare
|
|
1
|
+
import type { IHttpLlmApplication } from "@samchon/openapi";
|
|
2
|
+
export declare function AgenticaChatUploaderMovie(props: AgenticaChatUploaderMovie.IProps): import("react/jsx-runtime").JSX.Element;
|
|
3
3
|
export declare namespace AgenticaChatUploaderMovie {
|
|
4
4
|
interface IProps {
|
|
5
5
|
onChange: (application: IHttpLlmApplication<"chatgpt"> | null, error: string | null) => void;
|