palimpzest 0.7.3__py3-none-any.whl → 0.7.5__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -367,8 +367,8 @@ class BaseGenerator(Generic[ContextType, InputType], ABC):
367
367
  logger.debug(f"Generated completion in {end_time - start_time:.2f} seconds")
368
368
  # if there's an error generating the completion, we have to return an empty answer
369
369
  # and can only account for the time spent performing the failed generation
370
- except Exception as e:
371
- logger.error(f"Error generating completion: {e}")
370
+ except Exception:
371
+ # logger.error(f"Error generating completion: {e}")
372
372
  field_answers = {field_name: None for field_name in fields}
373
373
  reasoning = None
374
374
  generation_stats = GenerationStats(
@@ -423,15 +423,17 @@ class BaseGenerator(Generic[ContextType, InputType], ABC):
423
423
  reasoning = None
424
424
  try:
425
425
  reasoning = self._parse_reasoning(completion_text, **kwargs)
426
- except Exception as e:
427
- logger.error(f"Error parsing reasoning and answers: {e}")
426
+ except Exception:
427
+ # logger.error(f"Error parsing reasoning and answers: {e}")
428
+ logger.debug("TODO: undo this")
429
+ pass
428
430
 
429
431
  # parse field answers
430
432
  field_answers = None if fields is None else {field_name: None for field_name in fields}
431
433
  try:
432
434
  field_answers = self._parse_answer(completion_text, fields, json_output, **kwargs)
433
435
  except Exception as e:
434
- logger.error(f"Error parsing answers: {e}")
436
+ # logger.error(f"Error parsing answers: {e}")
435
437
  os.makedirs("parse-answer-errors", exist_ok=True)
436
438
  ts = time.time()
437
439
  with open(f"parse-answer-errors/error-{ts}.txt", "w") as f:
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: palimpzest
3
- Version: 0.7.3
3
+ Version: 0.7.5
4
4
  Summary: Palimpzest is a system which enables anyone to process AI-powered analytical queries simply by defining them in a declarative language
5
5
  Author-email: MIT DSG Semantic Management Lab <michjc@csail.mit.edu>
6
6
  Project-URL: homepage, https://palimpzest.org
@@ -18,17 +18,13 @@ License-File: LICENSE
18
18
  Requires-Dist: chromadb>=0.6.3
19
19
  Requires-Dist: fastapi~=0.115.0
20
20
  Requires-Dist: gradio>=5.26.0
21
- Requires-Dist: mkdocs>=1.6.1
22
- Requires-Dist: mkdocs-material>=9.6.3
23
- Requires-Dist: mkdocs-material[imaging]
24
- Requires-Dist: mkdocstrings-python>=1.15.0
25
21
  Requires-Dist: numpy>=1.23.2
26
22
  Requires-Dist: openai>=1.0
27
23
  Requires-Dist: pandas>=2.1.1
28
24
  Requires-Dist: pytest>=8.2.2
29
- Requires-Dist: pillow
25
+ Requires-Dist: pillow==11.1.0
30
26
  Requires-Dist: prettytable>=3.9.0
31
- Requires-Dist: psutil>=7.0.0
27
+ Requires-Dist: psutil==5.9.5
32
28
  Requires-Dist: PyLD>=2.0.4
33
29
  Requires-Dist: pyarrow<15.0.0,>=13.0.0; python_version < "3.12"
34
30
  Requires-Dist: pyarrow<19.0.0,>=15.0.0; python_version >= "3.12"
@@ -40,10 +36,15 @@ Requires-Dist: requests>=2.25
40
36
  Requires-Dist: ruff>=0.9.0
41
37
  Requires-Dist: setuptools>=70.1.1
42
38
  Requires-Dist: tabulate>=0.9.0
43
- Requires-Dist: together>=1.3.1
39
+ Requires-Dist: together>=1.5.5
44
40
  Requires-Dist: tqdm~=4.66.1
45
41
  Requires-Dist: transformers<4.50.0,>=4.41.3
46
42
  Requires-Dist: rich[jupyter]>=13.9.2
43
+ Provides-Extra: docs
44
+ Requires-Dist: mkdocs>=1.6.1; extra == "docs"
45
+ Requires-Dist: mkdocs-material>=9.6.3; extra == "docs"
46
+ Requires-Dist: mkdocstrings-python>=1.15.0; extra == "docs"
47
+ Requires-Dist: mkdocs-material[imaging]; extra == "docs"
47
48
  Dynamic: license-file
48
49
 
49
50
  ![pz-banner](https://palimpzest-workloads.s3.us-east-1.amazonaws.com/palimpzest-cropped.png)
@@ -35,7 +35,7 @@ palimpzest/query/execution/random_sampling_execution_strategy.py,sha256=jWPd-sBs
35
35
  palimpzest/query/execution/single_threaded_execution_strategy.py,sha256=2EAYfO3qXf5HFmCZGGL_vtLHHA6kHOlQaaJaifRhHdE,12259
36
36
  palimpzest/query/generators/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
37
37
  palimpzest/query/generators/api_client_factory.py,sha256=IxRLUcU4YXpW2Dy4ka-R7idWZ0WOKofI2JgzA_Drv3s,1091
38
- palimpzest/query/generators/generators.py,sha256=A-JqTe-rRIBj44I_Pp27n2HTi6Fz6_MS_cCi-dOruCo,26260
38
+ palimpzest/query/generators/generators.py,sha256=Ty8yABC8jInBU0Z9KdMT98-BBIZJDsG0sVDMxJ-mKNI,26317
39
39
  palimpzest/query/operators/__init__.py,sha256=fq0YvXuqxLtQyI_LuyOe02KYqYCmD-Sh1M-FcVWnr_A,3163
40
40
  palimpzest/query/operators/aggregate.py,sha256=nVLgJkB8oWj4Urclr8TV2w0fL9LZwU6x0Cf4dxMy19A,10212
41
41
  palimpzest/query/operators/code_synthesis_convert.py,sha256=Oki3ZJi6lRD3NFKylulmreFniRVYjrbuKWFe_M90HXM,20992
@@ -87,8 +87,8 @@ palimpzest/utils/model_helpers.py,sha256=LO_Bw2P0if4BjNj6ss9X09x_jJ7013N-UBqRPuw
87
87
  palimpzest/utils/progress.py,sha256=9k3RuUHaptZQVmg3VpUfDhLZrNbPSHXznoGw6B_Sb0U,17455
88
88
  palimpzest/utils/sandbox.py,sha256=Ge96gmzqeOGlNkMCG9A95_PB8wRQbvTFua136of8FcA,6465
89
89
  palimpzest/utils/udfs.py,sha256=LjHic54B1az-rKgNLur0wOpaz2ko_UodjLEJrazkxvY,1854
90
- palimpzest-0.7.3.dist-info/licenses/LICENSE,sha256=5GUlHy9lr-Py9kvV38FF1m3yy3NqM18fefuE9wkWumo,1079
91
- palimpzest-0.7.3.dist-info/METADATA,sha256=wsV6xphlQtdnk8WTnsZ7lXTYBUDgI0TVVpxPwGPjty8,7054
92
- palimpzest-0.7.3.dist-info/WHEEL,sha256=SmOxYU7pzNKBqASvQJ7DjX3XGUF92lrGhMb3R6_iiqI,91
93
- palimpzest-0.7.3.dist-info/top_level.txt,sha256=raV06dJUgohefUn3ZyJS2uqp_Y76EOLA9Y2e_fxt8Ew,11
94
- palimpzest-0.7.3.dist-info/RECORD,,
90
+ palimpzest-0.7.5.dist-info/licenses/LICENSE,sha256=5GUlHy9lr-Py9kvV38FF1m3yy3NqM18fefuE9wkWumo,1079
91
+ palimpzest-0.7.5.dist-info/METADATA,sha256=nXwMH0QPVeUU-4da9JowXyt1ji158Dn57GVPgeKiXdk,7151
92
+ palimpzest-0.7.5.dist-info/WHEEL,sha256=SmOxYU7pzNKBqASvQJ7DjX3XGUF92lrGhMb3R6_iiqI,91
93
+ palimpzest-0.7.5.dist-info/top_level.txt,sha256=raV06dJUgohefUn3ZyJS2uqp_Y76EOLA9Y2e_fxt8Ew,11
94
+ palimpzest-0.7.5.dist-info/RECORD,,