@typia/interface 12.0.0-dev.20260303 → 12.0.0-dev.20260305

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.
@@ -46,8 +46,14 @@ export interface IHttpLlmFunction {
46
46
  * set.
47
47
  */
48
48
  separated?: IHttpLlmFunction.ISeparated;
49
- /** Return type schema. Undefined if void. */
50
- output?: ILlmSchema | undefined;
49
+ /**
50
+ * Return type as an object parameters schema.
51
+ *
52
+ * Wraps the return type in an {@link ILlmSchema.IParameters} object with
53
+ * `$defs` for shared type definitions and `properties` for the structured
54
+ * output. `undefined` if the endpoint returns void.
55
+ */
56
+ output?: ILlmSchema.IParameters | undefined;
51
57
  /** Function description for LLM context. Critical for function selection. */
52
58
  description?: string | undefined;
53
59
  /** Whether the function is deprecated. */
@@ -49,10 +49,14 @@ export interface ILlmFunction {
49
49
  /**
50
50
  * Schema for the return type.
51
51
  *
52
- * Defines the expected output type as a JSON Schema. `undefined` when the
53
- * function returns `void` or has no meaningful return value.
52
+ * Defines the expected output type as an object parameters schema, wrapping
53
+ * the return type in an {@link ILlmSchema.IParameters} object with `$defs`
54
+ * for shared type definitions and `properties` for the structured output.
55
+ *
56
+ * `undefined` when the function returns `void` or has no meaningful return
57
+ * value.
54
58
  */
55
- output?: ILlmSchema | undefined;
59
+ output?: ILlmSchema.IParameters | undefined;
56
60
  /**
57
61
  * Human-readable function description.
58
62
  *
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@typia/interface",
3
- "version": "12.0.0-dev.20260303",
3
+ "version": "12.0.0-dev.20260305",
4
4
  "description": "Superfast runtime validators with only one line",
5
5
  "main": "lib/index.js",
6
6
  "exports": {
@@ -52,8 +52,14 @@ export interface IHttpLlmFunction {
52
52
  */
53
53
  separated?: IHttpLlmFunction.ISeparated;
54
54
 
55
- /** Return type schema. Undefined if void. */
56
- output?: ILlmSchema | undefined;
55
+ /**
56
+ * Return type as an object parameters schema.
57
+ *
58
+ * Wraps the return type in an {@link ILlmSchema.IParameters} object with
59
+ * `$defs` for shared type definitions and `properties` for the structured
60
+ * output. `undefined` if the endpoint returns void.
61
+ */
62
+ output?: ILlmSchema.IParameters | undefined;
57
63
 
58
64
  /** Function description for LLM context. Critical for function selection. */
59
65
  description?: string | undefined;
@@ -53,10 +53,14 @@ export interface ILlmFunction {
53
53
  /**
54
54
  * Schema for the return type.
55
55
  *
56
- * Defines the expected output type as a JSON Schema. `undefined` when the
57
- * function returns `void` or has no meaningful return value.
56
+ * Defines the expected output type as an object parameters schema, wrapping
57
+ * the return type in an {@link ILlmSchema.IParameters} object with `$defs`
58
+ * for shared type definitions and `properties` for the structured output.
59
+ *
60
+ * `undefined` when the function returns `void` or has no meaningful return
61
+ * value.
58
62
  */
59
- output?: ILlmSchema | undefined;
63
+ output?: ILlmSchema.IParameters | undefined;
60
64
 
61
65
  /**
62
66
  * Human-readable function description.