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

Ban constraint fields IChatGptSchema. #86

Merged
merged 2 commits into from
Nov 24, 2024
Merged

Ban constraint fields IChatGptSchema. #86

merged 2 commits into from
Nov 24, 2024

Conversation

samchon
Copy link
Owner

@samchon samchon commented Nov 24, 2024

This pull request includes several changes to input JSON files, schema JSON files, and TypeScript files. The main focus is on updating input data formats, refining schema definitions, and adjusting TypeScript configurations.

Input JSON files updates:

  • Added default input data for chatgpt, claude, and gemini in examples/function-calling/arguments directory. [1] [2] [3] [4]

Schema JSON files updates:

  • Added new schema definitions for chatgpt, claude, and gemini in examples/function-calling/schemas directory. [1] [2] [3]
  • Refined existing schema definitions by reordering properties and removing redundant constraints in claude.sale.schema.json.

TypeScript files updates:

  • Updated ChatGptConverter to use a new configuration format that includes reference and constraint properties. [1] [2]
  • Removed an unused import in GeminiConverter.ts and adjusted logic to handle object properties more efficiently. [1] [2]
  • Added OpenApiContraintShifter import and updated LlmConverterV3 to handle numeric and string constraints based on the new configuration. [1] [2]
  • Adjusted default configurations in LlmSchemaConverter.ts to remove the constraint property.
  • Removed several constraint properties from IChatGptSchema in IChatGptSchema.ts. [1] [2] [3] [4] [5] [6] [7]

Package update:

  • Updated the version in package.json to 2.0.0-dev.20241125-2.

@samchon samchon added bug Something isn't working documentation Improvements or additions to documentation enhancement New feature or request labels Nov 24, 2024
@samchon samchon self-assigned this Nov 24, 2024
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, everything is fine.

@samchon samchon merged commit 0752e19 into master Nov 24, 2024
4 checks passed
@samchon samchon deleted the feat/chatgpt branch November 24, 2024 17:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working documentation Improvements or additions to documentation enhancement New feature or request
Projects
No open projects
Status: Done
Development

Successfully merging this pull request may close these issues.

1 participant