New embedded function IHttpLlmFunction.validate()
for validation feedback
#147
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 multiple changes primarily focusing on updates to dependencies, refactoring of import paths, and the addition of new utility functions. The most significant changes include updating the version in
package.json
, refactoring import paths for consistency, and adding new utility functions for various format validations.Dependency Updates:
package.json
: Updated the version from3.0.0-dev.20250226
to3.0.0-dev.20250301
and added therandexp
dependency. [1] [2]Refactoring:
IResult
from../../typings/IResult
to../../structures/IResult
in multiple files for consistency:src/composers/llm/ChatGptSchemaComposer.ts
src/composers/llm/ClaudeSchemaComposer.ts
src/composers/llm/GeminiSchemaComposer.ts
src/composers/llm/LlamaSchemaComposer.ts
src/composers/llm/LlmParametersComposer.ts
src/composers/llm/LlmSchemaV3Composer.ts
src/composers/llm/LlmSchemaV3_1Composer.ts
Code Refactoring:
src/composers/HttpLlmApplicationComposer.ts
: Major refactoring to renameoptions
toconfig
, improve error handling, and enhance schema construction. [1] [2] [3] [4]New Utility Functions:
_isBigintString
_isFormatByte
_isFormatDate
_isFormatDateTime
_isFormatDuration
_isFormatEmail
_isFormatHostname
_isFormatIdnEmail
_isFormatIdnHostname
_isFormatIpv4