New function typia.llm.controller<Class, Model>()
.
#1582
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This pull request introduces several updates and enhancements, primarily focusing on dependency upgrades, new functionality for LLM (Large Language Model) controllers, and improvements to the transformer logic. Below is a summary of the most significant changes grouped by theme.
Dependency Updates
@samchon/openapi
dependency to version4.3.0-dev.20250511
inpackage.json
andpnpm-lock.yaml
. This includes updates to the dependency specification, resolution integrity, and associated snapshots. [1] [2] [3] [4]LLM Controller Enhancements
controller
function insrc/llm.ts
to define LLM controllers with support for execution logic and optional configuration. [1] [2] [3] [4]LlmControllerTransformer
insrc/transformers/features/llm/LlmControllerTransformer.ts
for handling LLM controller transformations, including validation and property assignments.LlmControllerTransformer
into the transformation pipeline by updatingCallExpressionTransformer.ts
to include thecontroller
functor. [1] [2]Transformer Logic Improvements
LlmApplicationTransformer
to modularize and improve the decomposition logic for LLM applications, enabling better reuse and error handling. [1] [2]ExpressionFactory
to support optional type parameters in theselfCall
method, improving its flexibility. [1] [2]Test Suite Updates
ILlmApplication
usage withILlmController
intest-esm/generate/input/index.ts
andtest-esm/generate/output/index.ts
. [1] [2] [3] [4] [5] [6] [7]Versioning
9.3.0-dev.20250511
inpackage.json
.