cat-llm 0.0.35__py3-none-any.whl → 0.0.36__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.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: cat-llm
3
- Version: 0.0.35
3
+ Version: 0.0.36
4
4
  Summary: A tool for categorizing text data and images using LLMs and vision models
5
5
  Project-URL: Documentation, https://github.com/chrissoria/cat-llm#readme
6
6
  Project-URL: Issues, https://github.com/chrissoria/cat-llm/issues
@@ -0,0 +1,14 @@
1
+ catllm/CERAD_functions.py,sha256=3eGLrJAYkUt47eappuf0EECSNK1OmjofHQ1jMsNEWeg,19641
2
+ catllm/__about__.py,sha256=xSQKWBq3GkAJZfrOyxQHQpuNDgMmxUTiAryYKvsN1KM,404
3
+ catllm/__init__.py,sha256=BpAG8nPhM3ZQRd0WqkubI_36-VCOs4eCYtGVgzz48Bs,337
4
+ catllm/image_functions.py,sha256=7nw0HDvacYUVo_VLcy-6Pi8QcmDbPtKVKPJITAK19RQ,31311
5
+ catllm/text_functions.py,sha256=K6oetWYk25PwsllWSZP4cFrz7kyxJg0plPRvpmQkCsU,16846
6
+ catllm/images/circle.png,sha256=JWujAWAh08-TajAoEr_TAeFNLlfbryOLw6cgIBREBuQ,86202
7
+ catllm/images/cube.png,sha256=nFec3e5bmRe4zrBCJ8QK-HcJLrG7u7dYdKhmdMfacfE,77275
8
+ catllm/images/diamond.png,sha256=rJDZKtsnBGRO8FPA0iHuA8FvHFGi9PkI_DWSFdw6iv0,99568
9
+ catllm/images/overlapping_pentagons.png,sha256=VO5plI6eoVRnjfqinn1nNzsCP2WQhuQy71V0EASouW4,71208
10
+ catllm/images/rectangles.png,sha256=2XM16HO9EYWj2yHgN4bPXaCwPfl7iYQy0tQUGaJX9xg,40692
11
+ cat_llm-0.0.36.dist-info/METADATA,sha256=ri1Cqd4xGLB6G2hAOXsPyaZgt2MaNqGynSxK2sR4m2E,17232
12
+ cat_llm-0.0.36.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
13
+ cat_llm-0.0.36.dist-info/licenses/LICENSE,sha256=YYp5RSBpti1KKIJO0aV0GTRgQNLIsB7TEYivC3QkCOo,788
14
+ cat_llm-0.0.36.dist-info/RECORD,,
catllm/CERAD_functions.py CHANGED
@@ -108,9 +108,10 @@ def cerad_drawn_score(
108
108
  cat_num = len(categories)
109
109
  category_dict = {str(i+1): "0" for i in range(cat_num)}
110
110
  example_JSON = json.dumps(category_dict, indent=4)
111
+
111
112
  #pulling in the reference image if provided
112
113
  if provide_reference:
113
- reference_image = pkg_resources.resource_filename(
114
+ reference_image_path = pkg_resources.resource_filename(
114
115
  'catllm',
115
116
  f'images/{shape}.png' # e.g., "circle.png"
116
117
  )
@@ -171,7 +172,8 @@ def cerad_drawn_score(
171
172
  "type": "image_url",
172
173
  "image_url": {"url": encoded_image, "detail": "high"}
173
174
  })
174
-
175
+ print(prompt)
176
+
175
177
  elif model_source == "Anthropic":
176
178
  prompt = [
177
179
  {
catllm/__about__.py CHANGED
@@ -1,7 +1,7 @@
1
1
  # SPDX-FileCopyrightText: 2025-present Christopher Soria <chrissoria@berkeley.edu>
2
2
  #
3
3
  # SPDX-License-Identifier: MIT
4
- __version__ = "0.0.35"
4
+ __version__ = "0.0.36"
5
5
  __author__ = "Chris Soria"
6
6
  __email__ = "chrissoria@berkeley.edu"
7
7
  __title__ = "cat-llm"
Binary file
catllm/images/cube.png ADDED
Binary file
Binary file
Binary file
Binary file
@@ -1,9 +0,0 @@
1
- catllm/CERAD_functions.py,sha256=lAsp4LIQljLvRMSHsQ370xy64SjxuqpXhe67TKUNbp0,19599
2
- catllm/__about__.py,sha256=lb4phssjPwS1P2N0rFiuJsycy3UuRJwVqs1hs3N247o,404
3
- catllm/__init__.py,sha256=BpAG8nPhM3ZQRd0WqkubI_36-VCOs4eCYtGVgzz48Bs,337
4
- catllm/image_functions.py,sha256=7nw0HDvacYUVo_VLcy-6Pi8QcmDbPtKVKPJITAK19RQ,31311
5
- catllm/text_functions.py,sha256=K6oetWYk25PwsllWSZP4cFrz7kyxJg0plPRvpmQkCsU,16846
6
- cat_llm-0.0.35.dist-info/METADATA,sha256=23wj7L2KrPkH6QKUEr22TMlY8mBosmGZVwDIbiDJ9Hs,17232
7
- cat_llm-0.0.35.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
8
- cat_llm-0.0.35.dist-info/licenses/LICENSE,sha256=YYp5RSBpti1KKIJO0aV0GTRgQNLIsB7TEYivC3QkCOo,788
9
- cat_llm-0.0.35.dist-info/RECORD,,