Entire refactoring for concenstrate to the ILlmSchema
.
#90
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 changes to improve the OpenAPI definitions, converters, and the LLM function calling application composer. The most important changes include updates to the
README.md
file, modifications to JSON schema handling, and refactoring of TypeScript interfaces and functions for better consistency and simplicity.Documentation Updates:
README.md
: Updated the supported schemas section to remove redundant references and clarified the structure of the arguments in the example code. [1] [2] [3] [4]JSON Schema Handling:
examples/function-calling/arguments/claude.sale.input.json
: Reorganized the JSON structure by moving thefiles
array and updating the names of stocks to be more descriptive. [1] [2] [3] [4] [5]TypeScript Interface and Function Refactoring:
src/HttpLlm.ts
: Consolidated theIHttpLlmApplication
andILlmSchema
models, simplified theapplication
,execute
,propagate
, andmergeParameters
functions, and introduced theIApplicationProps
interface for better type safety. [1] [2] [3] [4] [5] [6] [7]Migration and Conversion Functions:
src/HttpMigration.ts
: Simplified theapplication
function to remove unnecessary generic parameters.src/OpenApi.ts
: Removed generic parameters fromconvert
anddowngrade
functions and related interfaces to streamline the code. [1] [2] [3] [4] [5] [6] [7]Package Version Update:
package.json
: Updated the package version from2.0.0-dev.20241126
to2.0.0-dev.20241127
.