New function typia.llm.applicationOfValidate()
.
#1418
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 includes several updates and new features, particularly focusing on the introduction of LLM (Large Language Model) function calling with validators. The changes span across multiple files, introducing new interfaces, functions, and updates to existing logic.
Version Updates:
package.json
andpackages/typescript-json/package.json
to7.1.0-dev.20241209
. [1] [2] [3]New Features:
ILlmApplicationOfValidate
andILlmFunctionOfValidate
interfaces insrc/schemas/llm/
for LLM function calling with validators. [1] [2]applicationOfValidate
function insrc/llm.ts
to create LLM function calling applications with validators.LlmApplicationOfValidateProgrammer
insrc/programmers/llm/
to handle the validation logic for LLM applications.Code Enhancements:
LiteralFactory.write
method to handle arrow functions and call expressions.tsType
property toMetadataParameter
class insrc/schemas/metadata/MetadataParameter.ts
for better type handling. [1] [2]iterate_metadata_function
to includetsType
insrc/factories/internal/metadata/iterate_metadata_function.ts
.Transformer Updates:
LlmApplicationOfValidateTransformer
tosrc/transformers/CallExpressionTransformer.ts
and updated theFUNCTORS
record to include the new transformer. [1] [2]These changes collectively enhance the functionality and extend the capabilities of the project, particularly in the context of LLM function calling and validation.