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

during extract,Judge and pop invalid single raw #53

Open
shuaidaming opened this issue Dec 23, 2024 · 3 comments
Open

during extract,Judge and pop invalid single raw #53

shuaidaming opened this issue Dec 23, 2024 · 3 comments

Comments

@shuaidaming
Copy link

★★★ Earlier ensure extract result quality instead of letting it enter embedding pipeline which occur error interrupt due to the super high cost of extract

@liukidar
Copy link
Contributor

Hello, what you suggest is perfectly reasonable, however we are relying on pydantic to validate the output of the llm and i'm not sure if it is possible to add a rule like "keep this output if there's at most one error". Something we could do is cache the output for x minutes only if it is a valid output, so when re running the code there would be no need to re evaluate all the correctly sampled chunks. What do you think?

@shuaidaming
Copy link
Author

i solve it

@liukidar
Copy link
Contributor

Hello! Can you comment on how you managed to solve this? It could be helpful for other people who may stumble on this thread!

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

2 participants