cat-llm 0.0.60__py3-none-any.whl → 0.0.61__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.60
3
+ Version: 0.0.61
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
@@ -1,15 +1,15 @@
1
1
  catllm/CERAD_functions.py,sha256=05n7h27TuAp3klkOnrH--m1wMreYqYuObM9NIab934o,22603
2
- catllm/__about__.py,sha256=gKDClCOutqX8Ni28O3IFIGdeLkzJrrrx6miHt3rKX8g,408
2
+ catllm/__about__.py,sha256=kVSa5EnJdo6swDUoImNoZblgcdNnyj8uZIq8r4WrGQo,408
3
3
  catllm/__init__.py,sha256=sf02zp7N0NW0mAQi7eQ4gliWR1EwoqvXkHN2HwwjcTE,372
4
4
  catllm/build_web_research.py,sha256=1mp1z59ed5-wfG79xMDH0jjjQYZSuo1ko-i0_GO6iE4,8253
5
5
  catllm/image_functions.py,sha256=KDb2UxDLrioerlqKZjKAX7lqfW-S_TSQCK6YxtJRKwI,35958
6
- catllm/text_functions.py,sha256=XjhkwCEd3P9tYVvwASdVX7arUs74JIeX8tPsliMkmEs,18466
6
+ catllm/text_functions.py,sha256=xfpwAYivnPnDlsU21vp1Pma9mDR24tn1lcBZQfsyIrc,18467
7
7
  catllm/images/circle.png,sha256=JWujAWAh08-TajAoEr_TAeFNLlfbryOLw6cgIBREBuQ,86202
8
8
  catllm/images/cube.png,sha256=nFec3e5bmRe4zrBCJ8QK-HcJLrG7u7dYdKhmdMfacfE,77275
9
9
  catllm/images/diamond.png,sha256=rJDZKtsnBGRO8FPA0iHuA8FvHFGi9PkI_DWSFdw6iv0,99568
10
10
  catllm/images/overlapping_pentagons.png,sha256=VO5plI6eoVRnjfqinn1nNzsCP2WQhuQy71V0EASouW4,71208
11
11
  catllm/images/rectangles.png,sha256=2XM16HO9EYWj2yHgN4bPXaCwPfl7iYQy0tQUGaJX9xg,40692
12
- cat_llm-0.0.60.dist-info/METADATA,sha256=2ckdqzCdkO73slhe92-JfvYuhj5aBJj-rH7YIiHwQak,22370
13
- cat_llm-0.0.60.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
14
- cat_llm-0.0.60.dist-info/licenses/LICENSE,sha256=Vje2sS5WV4TnIwY5uQHrF4qnBAM3YOk1pGpdH0ot-2o,34969
15
- cat_llm-0.0.60.dist-info/RECORD,,
12
+ cat_llm-0.0.61.dist-info/METADATA,sha256=Dm51S7hYCKkZwBXXdCBUmL6N5j2pqP8ZLe9OSXvzATw,22370
13
+ cat_llm-0.0.61.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
14
+ cat_llm-0.0.61.dist-info/licenses/LICENSE,sha256=Vje2sS5WV4TnIwY5uQHrF4qnBAM3YOk1pGpdH0ot-2o,34969
15
+ cat_llm-0.0.61.dist-info/RECORD,,
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.60"
4
+ __version__ = "0.0.61"
5
5
  __author__ = "Chris Soria"
6
6
  __email__ = "chrissoria@berkeley.edu"
7
7
  __title__ = "cat-llm"
catllm/text_functions.py CHANGED
@@ -300,7 +300,7 @@ Provide your work in JSON format where the number belonging to each category is
300
300
  message = client.messages.create(
301
301
  model=user_model,
302
302
  max_tokens=1024,
303
- **({"temperature": creativity} if creativity is not None else {})
303
+ **({"temperature": creativity} if creativity is not None else {}),
304
304
  messages=[{"role": "user", "content": prompt}]
305
305
  )
306
306
  reply = message.content[0].text # Anthropic returns content as list