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

Parse the json output of the LLM for summarization in a more structured manner #40

Closed
Meteord opened this issue Jul 11, 2024 · 1 comment

Comments

@Meteord
Copy link
Contributor

Meteord commented Jul 11, 2024

Is your feature request related to a problem? Please describe.
The summarization code uses a lot of error prone custom logik, to parse the result of the LLM to a custom json model.
Describe the solution you'd like
Use langchains features to parse the output to a given class. Utilize_json-mode_ if the LLM supports that.

See:

@Meteord
Copy link
Contributor Author

Meteord commented Aug 29, 2024

Done with d27814d

@Meteord Meteord closed this as completed Aug 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant