@agentica/core 0.11.1 → 0.12.1
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 +2 -2
- package/lib/Agentica.js +3 -1
- package/lib/Agentica.js.map +1 -1
- package/lib/chatgpt/ChatGptDescribeFunctionAgent.js +4 -3
- package/lib/chatgpt/ChatGptDescribeFunctionAgent.js.map +1 -1
- package/lib/context/internal/AgenticaTokenUsageAggregator.js +1 -1
- package/lib/context/internal/AgenticaTokenUsageAggregator.js.map +1 -1
- package/lib/events/AgenticaDescribeEvent.d.ts +4 -0
- package/lib/events/AgenticaDescribeEvent.js +4 -0
- package/lib/events/AgenticaDescribeEvent.js.map +1 -1
- package/lib/events/AgenticaTextEvent.d.ts +4 -0
- package/lib/events/AgenticaTextEvent.js +4 -0
- package/lib/events/AgenticaTextEvent.js.map +1 -1
- package/lib/functional/assertHttpLlmApplication.d.ts +32 -0
- package/lib/functional/assertHttpLlmApplication.js +9424 -0
- package/lib/functional/assertHttpLlmApplication.js.map +1 -0
- package/lib/functional/{createHttpLlmApplication.d.ts → validateHttpLlmApplication.d.ts} +7 -7
- package/lib/functional/{createHttpLlmApplication.js → validateHttpLlmApplication.js} +6 -6
- package/lib/functional/{createHttpLlmApplication.js.map → validateHttpLlmApplication.js.map} +1 -1
- package/lib/index.d.ts +2 -1
- package/lib/index.js +2 -1
- package/lib/index.js.map +1 -1
- package/lib/index.mjs +9225 -28
- package/lib/index.mjs.map +1 -1
- package/lib/internal/MPSCUtil.d.ts +16 -2
- package/lib/internal/MPSCUtil.js +26 -5
- package/lib/internal/MPSCUtil.js.map +1 -1
- package/lib/json/IAgenticaPromptJson.d.ts +1 -1
- package/lib/prompts/AgenticaDescribePrompt.js +1 -1
- package/lib/prompts/AgenticaDescribePrompt.js.map +1 -1
- package/lib/structures/IAgenticaConfig.d.ts +23 -23
- package/lib/structures/IAgenticaController.d.ts +1 -1
- package/lib/structures/IAgenticaProps.d.ts +1 -1
- package/lib/structures/IAgenticaSystemPrompt.d.ts +7 -7
- package/lib/transformers/AgenticaPromptTransformer.js +1 -1
- package/lib/transformers/AgenticaPromptTransformer.js.map +1 -1
- package/package.json +1 -1
- package/src/Agentica.ts +3 -0
- package/src/chatgpt/ChatGptDescribeFunctionAgent.ts +4 -3
- package/src/context/internal/AgenticaTokenUsageAggregator.ts +1 -1
- package/src/events/AgenticaDescribeEvent.ts +5 -0
- package/src/events/AgenticaTextEvent.ts +5 -0
- package/src/functional/assertHttpLlmApplication.ts +55 -0
- package/src/functional/{createHttpLlmApplication.ts → validateHttpLlmApplication.ts} +13 -10
- package/src/index.ts +2 -1
- package/src/internal/MPSCUtil.ts +43 -7
- package/src/json/IAgenticaPromptJson.ts +1 -1
- package/src/prompts/AgenticaDescribePrompt.ts +1 -1
- package/src/structures/IAgenticaConfig.ts +27 -27
- package/src/structures/IAgenticaController.ts +1 -1
- package/src/structures/IAgenticaProps.ts +1 -1
- package/src/structures/IAgenticaSystemPrompt.ts +7 -7
- package/src/transformers/AgenticaPromptTransformer.ts +1 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"assertHttpLlmApplication.js","sourceRoot":"","sources":["../../src/functional/assertHttpLlmApplication.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,8CAQ0B;AAC1B,kDAA0B;AAE1B;;;;;;;;;;;;;;;;GAgBG;AACI,MAAM,wBAAwB,GAAG,CAEtC,KAmBD,EAA8B,EAAE,CAC/B,iBAAO,CAAC,WAAW,CAAC;IAClB,KAAK,EAAE,KAAK,CAAC,KAAK;IAClB,QAAQ,EAAE,iBAAO,CAAC,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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AAK,CAAC,QAAQ,EAAE;IACvD,OAAO,EAAE,KAAK,CAAC,OAAO;CACvB,CAAC,CAAC;AA1BQ,QAAA,wBAAwB,4BA0BhC"}
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { IHttpLlmApplication, OpenApi, OpenApiV3, OpenApiV3_1, SwaggerV2 } from "@samchon/openapi";
|
|
1
|
+
import { IHttpLlmApplication, ILlmSchema, OpenApi, OpenApiV3, OpenApiV3_1, SwaggerV2 } from "@samchon/openapi";
|
|
2
2
|
import { IValidation } from "typia";
|
|
3
3
|
/**
|
|
4
|
-
* Create an HTTP LLM application instance.
|
|
4
|
+
* Create an HTTP LLM application instance with type validation.
|
|
5
5
|
*
|
|
6
6
|
* Create an {@link IHttpLlmApplication} instance which represents
|
|
7
7
|
* the LLM (Large Language Model) function calling application schema
|
|
8
8
|
* from the given Swagger/OpenAPI document and the target LLM model.
|
|
9
9
|
*
|
|
10
|
-
* By the way, even though this `
|
|
10
|
+
* By the way, even though this `validateHttpLlmApplication` function
|
|
11
11
|
* supports every version of Swagger/OpenAPI specification, there can
|
|
12
12
|
* be a type error in the given document. In that case, the function
|
|
13
13
|
* will return {@link IValidation.IFailure} instance with detailed
|
|
@@ -17,11 +17,11 @@ import { IValidation } from "typia";
|
|
|
17
17
|
* @returns Validation result of the HTTP LLM application composition
|
|
18
18
|
* @author Samchon
|
|
19
19
|
*/
|
|
20
|
-
export declare const
|
|
20
|
+
export declare const validateHttpLlmApplication: <Model extends ILlmSchema.Model>(props: {
|
|
21
21
|
/**
|
|
22
22
|
* Target LLM model.
|
|
23
23
|
*/
|
|
24
|
-
model:
|
|
24
|
+
model: Model;
|
|
25
25
|
/**
|
|
26
26
|
* Swagger/OpenAPI document.
|
|
27
27
|
*/
|
|
@@ -29,5 +29,5 @@ export declare const createHttpLlmApplication: (props: {
|
|
|
29
29
|
/**
|
|
30
30
|
* Options for the LLM function calling schema composition.
|
|
31
31
|
*/
|
|
32
|
-
options?: Partial<IHttpLlmApplication.IOptions<
|
|
33
|
-
}) => IValidation<IHttpLlmApplication<
|
|
32
|
+
options?: Partial<IHttpLlmApplication.IOptions<Model>>;
|
|
33
|
+
}) => IValidation<IHttpLlmApplication<Model>>;
|
|
@@ -36,19 +36,19 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
36
36
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
37
37
|
};
|
|
38
38
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
-
exports.
|
|
39
|
+
exports.validateHttpLlmApplication = void 0;
|
|
40
40
|
const __typia_transform__accessExpressionAsString = __importStar(require("typia/lib/internal/_accessExpressionAsString.js"));
|
|
41
41
|
const __typia_transform__validateReport = __importStar(require("typia/lib/internal/_validateReport.js"));
|
|
42
42
|
const openapi_1 = require("@samchon/openapi");
|
|
43
43
|
const typia_1 = __importDefault(require("typia"));
|
|
44
44
|
/**
|
|
45
|
-
* Create an HTTP LLM application instance.
|
|
45
|
+
* Create an HTTP LLM application instance with type validation.
|
|
46
46
|
*
|
|
47
47
|
* Create an {@link IHttpLlmApplication} instance which represents
|
|
48
48
|
* the LLM (Large Language Model) function calling application schema
|
|
49
49
|
* from the given Swagger/OpenAPI document and the target LLM model.
|
|
50
50
|
*
|
|
51
|
-
* By the way, even though this `
|
|
51
|
+
* By the way, even though this `validateHttpLlmApplication` function
|
|
52
52
|
* supports every version of Swagger/OpenAPI specification, there can
|
|
53
53
|
* be a type error in the given document. In that case, the function
|
|
54
54
|
* will return {@link IValidation.IFailure} instance with detailed
|
|
@@ -58,7 +58,7 @@ const typia_1 = __importDefault(require("typia"));
|
|
|
58
58
|
* @returns Validation result of the HTTP LLM application composition
|
|
59
59
|
* @author Samchon
|
|
60
60
|
*/
|
|
61
|
-
const
|
|
61
|
+
const validateHttpLlmApplication = (props) => {
|
|
62
62
|
const inspect = (() => { const _io0 = input => null !== input.swagger && undefined !== input.swagger && ("2.0" === input.swagger || "string" === typeof input.swagger && RegExp(/^2\.0\.[+-]?\d+(?:\.\d+)?(?:[eE][+-]?\d+)?$/).test(input.swagger)) && (undefined === input.info || "object" === typeof input.info && null !== input.info && _io1(input.info)) && (undefined === input.host || "string" === typeof input.host) && (undefined === input.basePath || "string" === typeof input.basePath) && (undefined === input.consumes || Array.isArray(input.consumes) && input.consumes.every(elem => "string" === typeof elem)) && (undefined === input.produces || Array.isArray(input.produces) && input.produces.every(elem => "string" === typeof elem)) && (undefined === input.definitions || "object" === typeof input.definitions && null !== input.definitions && false === Array.isArray(input.definitions) && _io4(input.definitions)) && (undefined === input.parameters || "object" === typeof input.parameters && null !== input.parameters && false === Array.isArray(input.parameters) && _io16(input.parameters)) && (undefined === input.responses || "object" === typeof input.responses && null !== input.responses && false === Array.isArray(input.responses) && _io29(input.responses)) && (undefined === input.securityDefinitions || "object" === typeof input.securityDefinitions && null !== input.securityDefinitions && false === Array.isArray(input.securityDefinitions) && _io31(input.securityDefinitions)) && (undefined === input.security || Array.isArray(input.security) && input.security.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _io39(elem))) && (undefined === input.paths || "object" === typeof input.paths && null !== input.paths && false === Array.isArray(input.paths) && _io40(input.paths)) && (undefined === input.tags || Array.isArray(input.tags) && input.tags.every(elem => "object" === typeof elem && null !== elem && _io47(elem))); const _io1 = input => "string" === typeof input.title && (undefined === input.description || "string" === typeof input.description) && (undefined === input.termsOfService || "string" === typeof input.termsOfService) && (undefined === input.contact || "object" === typeof input.contact && null !== input.contact && false === Array.isArray(input.contact) && _io2(input.contact)) && (undefined === input.license || "object" === typeof input.license && null !== input.license && _io3(input.license)) && "string" === typeof input.version; const _io2 = input => (undefined === input.name || "string" === typeof input.name) && (undefined === input.url || "string" === typeof input.url) && (undefined === input.email || "string" === typeof input.email); const _io3 = input => "string" === typeof input.name && (undefined === input.url || "string" === typeof input.url); const _io4 = input => Object.keys(input).every(key => {
|
|
63
63
|
const value = input[key];
|
|
64
64
|
if (undefined === value)
|
|
@@ -7790,5 +7790,5 @@ const createHttpLlmApplication = (props) => {
|
|
|
7790
7790
|
}),
|
|
7791
7791
|
};
|
|
7792
7792
|
};
|
|
7793
|
-
exports.
|
|
7794
|
-
//# sourceMappingURL=
|
|
7793
|
+
exports.validateHttpLlmApplication = validateHttpLlmApplication;
|
|
7794
|
+
//# sourceMappingURL=validateHttpLlmApplication.js.map
|
package/lib/functional/{createHttpLlmApplication.js.map → validateHttpLlmApplication.js.map}
RENAMED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"
|
|
1
|
+
{"version":3,"file":"validateHttpLlmApplication.js","sourceRoot":"","sources":["../../src/functional/validateHttpLlmApplication.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,8CAQ0B;AAC1B,kDAA2C;AAE3C;;;;;;;;;;;;;;;;GAgBG;AACI,MAAM,0BAA0B,GAAG,CAExC,KAmBD,EAA2C,EAAE;IAC5C,MAAM,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;YAKM,KAAK,CAAC,QAAQ,CAAC,CAAC;IACnC,IAAI,OAAO,CAAC,OAAO,KAAK,KAAK;QAAE,OAAO,OAAO,CAAC;IAC9C,OAAO;QACL,OAAO,EAAE,IAAI;QACb,IAAI,EAAE,iBAAO,CAAC,WAAW,CAAC;YACxB,KAAK,EAAE,KAAK,CAAC,KAAK;YAClB,QAAQ,EAAE,iBAAO,CAAC,OAAO,CAAC,KAAK,CAAC,QAAQ,CAAC;YACzC,OAAO,EAAE,KAAK,CAAC,OAAO;SACvB,CAAC;KACH,CAAC;AACJ,CAAC,CAAC;AArCW,QAAA,0BAA0B,8BAqCrC"}
|
package/lib/index.d.ts
CHANGED
|
@@ -30,5 +30,6 @@ export * from "./events/AgenticaRequestEvent";
|
|
|
30
30
|
export * from "./events/AgenticaResponseEvent";
|
|
31
31
|
export * from "./events/AgenticaSelectEvent";
|
|
32
32
|
export * from "./events/AgenticaTextEvent";
|
|
33
|
-
export * from "./functional/
|
|
33
|
+
export * from "./functional/assertHttpLlmApplication";
|
|
34
|
+
export * from "./functional/validateHttpLlmApplication";
|
|
34
35
|
export * from "./Agentica";
|
package/lib/index.js
CHANGED
|
@@ -50,6 +50,7 @@ __exportStar(require("./events/AgenticaResponseEvent"), exports);
|
|
|
50
50
|
__exportStar(require("./events/AgenticaSelectEvent"), exports);
|
|
51
51
|
__exportStar(require("./events/AgenticaTextEvent"), exports);
|
|
52
52
|
// FACADE CLASS
|
|
53
|
-
__exportStar(require("./functional/
|
|
53
|
+
__exportStar(require("./functional/assertHttpLlmApplication"), exports);
|
|
54
|
+
__exportStar(require("./functional/validateHttpLlmApplication"), exports);
|
|
54
55
|
__exportStar(require("./Agentica"), exports);
|
|
55
56
|
//# sourceMappingURL=index.js.map
|
package/lib/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;;;;;;;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