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

ILlmFunction.ISeparated.llm to be not null. #125

Merged
merged 1 commit into from
Jan 13, 2025
Merged

Conversation

samchon
Copy link
Owner

@samchon samchon commented Jan 13, 2025

Even though no property exists in the LLM side (properties exist only in the Human side), the ILlmFunction.ISeparated.llm property value should be not null for covenience.

This PR enforces the ILlmFunction.ISeparated.llm not to be null.


This pull request includes several changes aimed at ensuring the llm property always has a defined structure, even when it would otherwise be null. The changes span multiple files and affect both the schema composers and the test files.

Schema Composer Changes:

Structure Changes:

Test File Changes:

Even though no property exists in the LLM side (properties exist only in the Human side), the `ILlmFunction.ISeparated.llm` property value should be not null for covenience.

This PR enforces the `ILlmFunction.ISeparated.llm` not to be `null`.
@samchon samchon added documentation Improvements or additions to documentation enhancement New feature or request labels Jan 13, 2025
@samchon samchon self-assigned this Jan 13, 2025
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.

Test OK.

@samchon samchon merged commit 3c4d258 into master Jan 13, 2025
3 checks passed
@samchon samchon deleted the feat/separate branch January 13, 2025 15:30
samchon added a commit to samchon/typia that referenced this pull request Jan 13, 2025
As OpenAI (ChatGPT) restricts function name and description lengths (64 and 1,024), `@samchon/openapi`'s `HttpLlm.application()` function converting OpenAPI document to LLM function calling application has adopted it.

Therefore, this PR makes `typia` to occur compilation error when 64 length over function name comes, or 1,024 length over descripted function comes.

Also, `typia` has allowed empty parameterized functions in the `typia.llm.application()` function.
samchon added a commit to samchon/typia that referenced this pull request Jan 13, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation enhancement New feature or request
Projects
Status: Done
Status: Done
Development

Successfully merging this pull request may close these issues.

1 participant