Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Strict JSON/LLM schema of object type #1372

Merged
merged 1 commit into from
Nov 22, 2024
Merged

Strict JSON/LLM schema of object type #1372

merged 1 commit into from
Nov 22, 2024

Conversation

samchon
Copy link
Owner

@samchon samchon commented Nov 22, 2024

This pull request includes several updates to enhance the type definitions, update dependencies, and improve schema handling. The most important changes include modifications to function signatures, dependency updates, and schema adjustments.

Type Definitions:

  • Updated application and schema functions in README.md and packages/typescript-json/README.md to include the Model type parameter. [1] [2]

Dependency Updates:

  • Updated typia dependency versions in multiple package.json files to 7.0.0-dev.20241123. [1] [2] [3] [4] [5] [6] [7] [8]

Schema Handling:

LLM Schema Validation:

  • Added validation to ensure LLM schemas do not support dynamic properties in objects.

Test Enhancements:

  • Added checks in TestLlmApplicationGenerator and TestLlmSchemaGenerator to skip schemas with additionalProperties. [1] [2]

@samchon samchon added the enhancement New feature or request label Nov 22, 2024
@samchon samchon self-assigned this Nov 22, 2024
Copy link

pkg-pr-new bot commented Nov 22, 2024

Open in Stackblitz

npm i https://pkg.pr.new/typia@1372

commit: 3e591ee

Copy link

New and removed dependencies detected. Learn more about Socket for GitHub ↗︎

Package New capabilities Transitives Size Publisher
npm/@rollup/plugin-commonjs@26.0.3 None +8 1.07 MB guybedford, lukastaegert, rich_harris, ...1 more
npm/@rollup/plugin-node-resolve@15.3.0 None +7 417 kB guybedford, lukastaegert, rich_harris, ...1 more
npm/@rollup/plugin-typescript@11.1.6 environment, filesystem +5 444 kB shellscape
npm/@samchon/openapi@2.0.0-dev.20241123-3 network 0 1.52 MB samchon
npm/@types/cli@0.11.25 None 0 5.1 kB types
npm/@types/inquirer@8.2.10 None +3 4.67 MB types
npm/@typescript-eslint/eslint-plugin@7.18.0 Transitive: environment, eval, filesystem, unsafe +105 16.9 MB jameshenry
npm/@typescript-eslint/parser@7.18.0 Transitive: environment, eval, filesystem, unsafe +103 13.6 MB jameshenry
npm/rollup@4.27.3 environment, filesystem +20 47.2 MB eventualbuddha, lukastaegert, rich_harris, ...2 more
npm/suppress-warnings@1.0.2 None 0 10.3 kB donovan_dmc
npm/ts-expose-internals@5.5.4 None 0 1.53 MB nonara
npm/ts-patch@3.2.1 environment, filesystem +21 858 kB nonara
npm/typia@7.0.0-dev.20241123 None 0 3.87 MB samchon

🚮 Removed packages: npm/lz-string@1.5.0, npm/monaco-editor@0.50.0, npm/next-sitemap@4.2.3, npm/next@14.2.18, npm/nextra-theme-docs@2.13.4, npm/nextra@2.13.4, npm/path@0.12.7, npm/process@0.11.10, npm/react-dom@18.3.1, npm/react@18.3.1, npm/tgrid@1.0.3, npm/ts-loader@9.5.1, npm/tstl@3.0.0, npm/typedoc-github-theme@0.1.2, npm/typedoc@0.26.11, npm/typia@6.12.0, npm/typia@7.0.0-dev.20241122, npm/write-file-webpack-plugin@4.5.1

View full report↗︎

Copy link
Owner Author

@samchon samchon left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

OK, no problem.

@samchon samchon merged commit 4cfc667 into v7.0 Nov 22, 2024
10 checks passed
@samchon samchon deleted the feat/llm branch November 22, 2024 19:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

1 participant