typia 6.10.0-dev.20240908 → 6.10.0-dev.20240909
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 +19 -7
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -16,16 +16,23 @@ export function validate<T>(input: unknown): IValidation<T>; // detailed
|
|
|
16
16
|
|
|
17
17
|
// JSON FUNCTIONS
|
|
18
18
|
export namespace json {
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
19
|
+
export function application<T>(): IJsonApplication; // JSON schema
|
|
20
|
+
export function assertParse<T>(input: string): T; // type safe parser
|
|
21
|
+
export function assertStringify<T>(input: T): string; // safe and faster
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
// LLM FUNCTION CALLING APPLICATION
|
|
25
|
+
export namespace llm {
|
|
26
|
+
// LLM function calling application from a class or interface type
|
|
27
|
+
export function application<App>(): ILlmApplication;
|
|
28
|
+
export function schema<T>(): ILlmSchema; // LLM type schema
|
|
22
29
|
}
|
|
23
30
|
|
|
24
31
|
// PROTOCOL BUFFER
|
|
25
32
|
export namespace protobuf {
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
33
|
+
export function message<T>(): string; // Protocol Buffer message
|
|
34
|
+
export function assertDecode<T>(buffer: Uint8Array): T; // safe decoder
|
|
35
|
+
export function assertEncode<T>(input: T): Uint8Array; // safe encoder
|
|
29
36
|
}
|
|
30
37
|
|
|
31
38
|
// RANDOM GENERATOR
|
|
@@ -36,6 +43,7 @@ Typia is a transformer library supporting below features:
|
|
|
36
43
|
|
|
37
44
|
- Super-fast Runtime Validators
|
|
38
45
|
- Enhanced JSON functions
|
|
46
|
+
- LLM function calling application composer
|
|
39
47
|
- Protocol Buffer encoder and decoder
|
|
40
48
|
- Random data generator
|
|
41
49
|
|
|
@@ -62,6 +70,7 @@ Also, `typia` is re-distributing half of donations to core contributors of `typi
|
|
|
62
70
|
|
|
63
71
|
|
|
64
72
|
|
|
73
|
+
|
|
65
74
|
## Playground
|
|
66
75
|
You can experience how typia works by [playground website](https://typia.io/playground):
|
|
67
76
|
|
|
@@ -86,9 +95,12 @@ Check out the document in the [website](https://typia.io/docs/):
|
|
|
86
95
|
- [Functional Module](https://typia.io/docs/validators/functional)
|
|
87
96
|
- [Special Tags](https://typia.io/docs/validators/tags/)
|
|
88
97
|
- Enhanced JSON
|
|
89
|
-
- [JSON Schema](https://typia.io/docs/json/schema)
|
|
98
|
+
- [JSON Schema](https://typia.io/docs/json/schema/)
|
|
90
99
|
- [`stringify()` functions](https://typia.io/docs/json/stringify/)
|
|
91
100
|
- [`parse()` functions](https://typia.io/docs/json/parse/)
|
|
101
|
+
- LLM Function Calling
|
|
102
|
+
- [`application()` function](https://typia.io/docs/llm/application/)
|
|
103
|
+
- [`schema()` function](https://typia.io/docs/llm/schema/)
|
|
92
104
|
- Protocol Buffer
|
|
93
105
|
- [Message Schema](https://typia.io/docs/protobuf/message)
|
|
94
106
|
- [`decode()` functions](https://typia.io/docs/protobuf/decode/)
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "typia",
|
|
3
|
-
"version": "6.10.0-dev.
|
|
3
|
+
"version": "6.10.0-dev.20240909",
|
|
4
4
|
"description": "Superfast runtime validators with only one line",
|
|
5
5
|
"main": "lib/index.js",
|
|
6
6
|
"typings": "lib/index.d.ts",
|
|
@@ -67,7 +67,7 @@
|
|
|
67
67
|
},
|
|
68
68
|
"homepage": "https://typia.io",
|
|
69
69
|
"dependencies": {
|
|
70
|
-
"@samchon/openapi": "^0.
|
|
70
|
+
"@samchon/openapi": "^1.0.0",
|
|
71
71
|
"commander": "^10.0.0",
|
|
72
72
|
"comment-json": "^4.2.3",
|
|
73
73
|
"inquirer": "^8.2.5",
|