Adapt samchon/openapi#112: ChatGPT strict mode configurable. #1434
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 improvements across multiple files, primarily focusing on updating package versions, enhancing the validation logic for LLM models, and adding support for stricter validation configurations.
Package Updates:
typia
to7.4.0-dev.20241215
and@samchon/openapi
dependency to^2.2.0
inpackage.json
andpackages/typescript-json/package.json
. [1] [2] [3] [4] [5]Validation Enhancements:
validate
function inLlmApplicationProgrammer
,LlmParametersProgrammer
, andLlmSchemaProgrammer
to accept a configuration object, allowing for more flexible validation based on model-specific configurations. [1] [2] [3] [4] [5] [6] [7]Transformer Updates:
LlmApplicationOfValidateTransformer
,LlmApplicationTransformer
,LlmParametersTransformer
,LlmSchemaTransformer
) to utilize the new configuration-based validation approach. This includes fetching and passing the configuration to the validation functions. [1] [2] [3] [4] [5] [6] [7] [8] [9] [10] [11] [12]Test Additions:
chatgpt
model, ensuring that additional properties and optional properties are correctly handled. [1] [2] [3]Minor Fixes:
gemini
model inTestLlmApplicationGenerator
.