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

Detailed description of typia.llm.parameters() function. #1450

Merged
merged 1 commit into from
Dec 30, 2024

Conversation

samchon
Copy link
Owner

@samchon samchon commented Dec 30, 2024

This pull request includes significant updates to the documentation for LLM (Large Language Model) applications, focusing on structured output and validation feedback strategies. The changes introduce new sections and examples to enhance understanding of these features.

Key changes include:

Documentation Enhancements:

  • Added a detailed explanation and example of structured output in LLMs, demonstrating how to use the typia.llm.parameters<Parameters, Model>() function to generate structured data from LLM responses. (website/pages/docs/llm/parameters.mdx)
  • Introduced a new section on validation feedback, providing a comprehensive example of how to use validation error messages to guide LLMs in correcting typed structured data in subsequent steps. (website/pages/docs/llm/parameters.mdx)

Code Adjustments:

  • Updated the step function to accept IValidation.IFailure | undefined for the previous parameter, improving flexibility in handling validation failures. (website/pages/docs/llm/application.mdx)

Additional Notes:

  • Added a note emphasizing the importance of validation feedback strategies in A.I. chatbot projects for both LLM function calling and structured output features. (website/pages/docs/llm/application.mdx)

@samchon samchon added documentation Improvements or additions to documentation enhancement New feature or request labels Dec 30, 2024
@samchon samchon self-assigned this Dec 30, 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, no problem.

@samchon samchon merged commit 397b686 into master Dec 30, 2024
2 checks passed
@samchon samchon deleted the doc/llm-parameters branch December 30, 2024 17:23
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
Development

Successfully merging this pull request may close these issues.

1 participant