Skip to content

Commit cb72e4e

Browse files
vitaglianogmdr223
andauthored
Update datasources.py (#93)
* Update datasources.py Removing Hardcoded limit to pdf text. We kept it for a demo but now is undocumented behavior * bump version --------- Co-authored-by: Matthew Russo <mdrusso@mit.edu>
1 parent c4183e0 commit cb72e4e

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

docs/source/conf.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
project = "Palimpzest"
1717
copyright = "2025, MIT Data Systems Group"
1818
author = "MIT Data Systems Group"
19-
release = "0.5.1"
19+
release = "0.5.2"
2020

2121
# -- General configuration ---------------------------------------------------
2222
# https://www.sphinx-doc.org/en/master/usage/configuration.html#general-configuration

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[project]
22
name = "palimpzest"
3-
version = "0.5.1" # if you update this, be sure to update package version in `docs/source/conf.py` as well
3+
version = "0.5.2" # if you update this, be sure to update package version in `docs/source/conf.py` as well
44
description = "Palimpzest is a system which enables anyone to process AI-powered analytical queries simply by defining them in a declarative language"
55
readme = "README.md"
66
requires-python = ">=3.8"

src/palimpzest/core/data/datasources.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -287,7 +287,7 @@ def get_item(self, idx: int) -> DataRecord:
287287
dr = DataRecord(self.schema, source_id=filepath)
288288
dr.filename = pdf_filename
289289
dr.contents = pdf_bytes
290-
dr.text_contents = text_content[:15000] # TODO Very hacky
290+
dr.text_contents = text_content
291291

292292
return dr
293293

0 commit comments

Comments
 (0)