xlang-ai / OpenAgents

[COLM 2024] OpenAgents: An Open Platform for Language Agents in the Wild
https://arxiv.org/abs/2310.10634
Apache License 2.0
4.01k stars 446 forks source link

add pdf support #105

Open freetown113 opened 1 year ago

freetown113 commented 1 year ago

add minimal necessary logic to support handling of the files in pdf format

Timothyxxx commented 1 year ago

Nice work, we will go through it very soon!

BlankCheng commented 1 year ago

Hi, thanks for your great contribution. The code has some circular import issues. I think it is because DocumentSummaryExecutor is imported in document.py but it also imports DocumentDataModel from document.py. Would you mind trying to fix that and testing it on the local host? Thanks.

freetown113 commented 12 months ago

Yes, I shouldn't leave this part of the code in the PR. It was a kind of a draft for the next possible enhancement. I removed it. Please check it now.

github-actions[bot] commented 11 months ago

This PR is stale because it has been open 3 days with no activity.

BlankCheng commented 11 months ago

Hi, I've fixed extra imports to avoid circular imports and added .pdf extension support to let it successfully be run locally. I think it looks good to me overall. However, due to some openai key issue, I cannot test the full functionality as proposed. Would you or other participants be able to local host it and test the pdf functionalities?

Timothyxxx commented 11 months ago

@freetown113

github-actions[bot] commented 11 months ago

This PR is stale because it has been open 3 days with no activity.