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

Kor with long documents #176

Open
MauroLondon opened this issue Jun 24, 2023 · 2 comments
Open

Kor with long documents #176

MauroLondon opened this issue Jun 24, 2023 · 2 comments

Comments

@MauroLondon
Copy link

I really like Kor, it's very helpful, congratulations for taking the time to create such a fantastic solution....

How can I use Kor with an accounts payable document with many pages and tables that exceed the total token allowed by OpenAI?

Can you use embeds?

Could you post an example code of a pdf document with many invoices?

@eyurtsev
Copy link
Owner

eyurtsev commented Jun 25, 2023

Hi Mauro,

check out: https://eyurtsev.github.io/kor/document_extraction.html

Use a text splitter to break the document into smaller chunks and then combine the results from the different chunks.

I'm out on vacation until August so limited keyboard time until then so may take a few days until i can respond to questions.

All the best,

Eugene

@MauroLondon
Copy link
Author

Hi Mauro,

check out: https://eyurtsev.github.io/kor/document_extraction.html

Use a text splitter to break the document into smaller chunks and then combine the results from the different chunks.

I'm out on vacation until August so limited keyboard time until then so may take a few days until i can respond to questions.

All the best,

Eugene

Thanks, you're very kind. Happy Holidays

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