typia 12.0.1 → 12.0.2

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.
Files changed (2) hide show
  1. package/README.md +9 -8
  2. package/package.json +5 -5
package/README.md CHANGED
@@ -23,12 +23,12 @@ export namespace json {
23
23
  export function assertStringify<T>(input: T): string; // safe and faster
24
24
  }
25
25
 
26
- // AI FUNCTION CALLING SCHEMA
26
+ // AI FUNCTION CALLING HARNESS
27
27
  export namespace llm {
28
28
  // collection of function calling schemas + validators/parsers
29
29
  export function application<Class>(): ILlmApplication<Class>;
30
30
  export function structuredOutput<P>(): ILlmStructuredOutput;
31
- // lenient json parser + type corecion
31
+ // lenient json parser + type coercion
32
32
  export function parse<T>(str: string): T;
33
33
  }
34
34
 
@@ -47,7 +47,7 @@ export function random<T>(g?: Partial<IRandomGenerator>): T;
47
47
 
48
48
  - Super-fast Runtime Validators
49
49
  - Enhanced JSON schema and serde functions
50
- - LLM function calling schema and structured output
50
+ - LLM function calling harness
51
51
  - Protocol Buffer encoder and decoder
52
52
  - Random data generator
53
53
 
@@ -56,6 +56,7 @@ export function random<T>(g?: Partial<IRandomGenerator>): T;
56
56
  > - **Only one line** required, with pure TypeScript type
57
57
  > - Runtime validator is **20,000x faster** than `class-validator`
58
58
  > - JSON serialization is **200x faster** than `class-transformer`
59
+ > - LLM function calling harness turns **6.75% → 100%** accuracy
59
60
 
60
61
  ## Transformation
61
62
  If you call `typia` function, it would be compiled like below.
@@ -87,10 +88,7 @@ Thanks for your support.
87
88
 
88
89
  Your donation encourages `typia` development.
89
90
 
90
- Also, `typia` is re-distributing half of donations to core contributors of `typia`.
91
-
92
- - [`nonara/ts-patch`](https://github.com/nonara/ts-patch)
93
- - [`ryoppippi/unplugin-typia`](https://github.com/ryoppippi/unplugin-typia)
91
+ Also, `typia` is re-distributing quarter of donations to [`nonara/ts-patch`](https://github.com/nonara/ts-patch).
94
92
 
95
93
  [![Sponsors](https://opencollective.com/typia/badge.svg?avatarHeight=75&width=600)](https://opencollective.com/typia)
96
94
 
@@ -124,7 +122,7 @@ Check out the document in the [website](https://typia.io/docs/):
124
122
  - [JSON Schema](https://typia.io/docs/json/schema/)
125
123
  - [`stringify()` functions](https://typia.io/docs/json/stringify/)
126
124
  - [`parse()` functions](https://typia.io/docs/json/parse/)
127
- - LLM Function Calling
125
+ - LLM Function Calling Harness
128
126
  - [`application()` function](https://typia.io/docs/llm/application/)
129
127
  - [`structuredOutput()` function](https://typia.io/docs/llm/structuredOutput/)
130
128
  - [`HttpLlm` module](https://typia.io/docs/llm/http/)
@@ -139,6 +137,9 @@ Check out the document in the [website](https://typia.io/docs/):
139
137
  ### 🔗 Appendix
140
138
  - [API Documents](https://typia.io/api)
141
139
  - Utilization Cases
140
+ - [MCP](https://typia.io/docs/utilization/mcp/)
141
+ - [Vercel AI SDK](https://typia.io/docs/utilization/vercel/)
142
+ - [LangChain](https://typia.io/docs/utilization/langchain/)
142
143
  - [NestJS](https://typia.io/docs/utilization/nestjs/)
143
144
  - [tRPC](https://typia.io/docs/utilization/trpc/)
144
145
  - [⇲ Benchmark Result](https://github.com/samchon/typia/tree/master/benchmark/results/11th%20Gen%20Intel(R)%20Core(TM)%20i5-1135G7%20%40%202.40GHz)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "typia",
3
- "version": "12.0.1",
3
+ "version": "12.0.2",
4
4
  "description": "Superfast runtime validators with only one line",
5
5
  "main": "lib/index.js",
6
6
  "exports": {
@@ -46,10 +46,10 @@
46
46
  "inquirer": "^8.2.5",
47
47
  "package-manager-detector": "^0.2.0",
48
48
  "randexp": "^0.5.3",
49
- "@typia/core": "^12.0.1",
50
- "@typia/interface": "^12.0.1",
51
- "@typia/transform": "^12.0.1",
52
- "@typia/utils": "^12.0.1"
49
+ "@typia/interface": "^12.0.2",
50
+ "@typia/transform": "^12.0.2",
51
+ "@typia/utils": "^12.0.2",
52
+ "@typia/core": "^12.0.2"
53
53
  },
54
54
  "peerDependencies": {
55
55
  "typescript": ">=4.8.0 <5.10.0"