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

PDF metadata + list defaults #2341

Merged
merged 8 commits into from
Sep 6, 2024
Merged

PDF metadata + list defaults #2341

merged 8 commits into from
Sep 6, 2024

Conversation

pablonyx
Copy link
Contributor

@pablonyx pablonyx commented Sep 6, 2024

Description

  • PDF metadata robustified
  • Intuitive "list" interface
  • Indexing status table widths
  • Background colors standardized (no cutoffs)
Screen.Recording.2024-09-06.at.9.33.58.AM.mov

Copy link

vercel bot commented Sep 6, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
internal-search ✅ Ready (Inspect) Visit Preview 💬 Add feedback Sep 6, 2024 6:51pm

}
metadata = {}
for key, value in pdf_reader.metadata.items():
if isinstance(value, str):
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can we also allow list of strings?

Copy link
Contributor

@yuhongsun96 yuhongsun96 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@pablonyx pablonyx enabled auto-merge September 6, 2024 18:47
@pablonyx pablonyx added this pull request to the merge queue Sep 6, 2024
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Sep 6, 2024
@pablonyx pablonyx added this pull request to the merge queue Sep 6, 2024
Merged via the queue into main with commit 5abf67f Sep 6, 2024
7 checks passed
rajivml pushed a commit to UiPath/danswer that referenced this pull request Oct 2, 2024
* validate web list

* update pdf extraction of metadat

* remove pdf + log

* stricter type enforcing

* fix up indexing widths

* minor formatting

* add list case

* check for empty metadata
rajivml pushed a commit to UiPath/danswer that referenced this pull request Oct 2, 2024
* validate web list

* update pdf extraction of metadat

* remove pdf + log

* stricter type enforcing

* fix up indexing widths

* minor formatting

* add list case

* check for empty metadata
@pablonyx pablonyx deleted the update_form branch October 17, 2024 23:15
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

Successfully merging this pull request may close these issues.

2 participants