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

Don't raise errors when attempting to parse "accessory" text #466

Open
caufieldjh opened this issue Oct 25, 2024 · 0 comments
Open

Don't raise errors when attempting to parse "accessory" text #466

caufieldjh opened this issue Oct 25, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@caufieldjh
Copy link
Member

LLM completions frequently include bits of accessory text like "Here are the fields you requested" etc etc.
This happens even when the prompt includes explicit instructions to provide only a given set of results.

OntoGPT attempts to parse these because it doesn't know they aren't part of the split data, resulting in errors like:

ERROR:root:Cannot find slot for here_is_the_text_split_into_the_specified_field in Here is the text split into the specified fields:

This doesn't impact the overall results but it's not entirely an error, and could be ignored.

@caufieldjh caufieldjh added the enhancement New feature or request label Nov 10, 2024
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
None yet
Development

No branches or pull requests

1 participant