cat-llm 0.0.72__py3-none-any.whl → 0.0.73__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.
- {cat_llm-0.0.72.dist-info → cat_llm-0.0.73.dist-info}/METADATA +11 -5
- {cat_llm-0.0.72.dist-info → cat_llm-0.0.73.dist-info}/RECORD +6 -6
- catllm/__about__.py +1 -1
- catllm/text_functions.py +0 -1
- {cat_llm-0.0.72.dist-info → cat_llm-0.0.73.dist-info}/WHEEL +0 -0
- {cat_llm-0.0.72.dist-info → cat_llm-0.0.73.dist-info}/licenses/LICENSE +0 -0
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.4
|
2
2
|
Name: cat-llm
|
3
|
-
Version: 0.0.
|
3
|
+
Version: 0.0.73
|
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
|
@@ -189,16 +189,22 @@ Performs multi-label classification of text responses into user-defined categori
|
|
189
189
|
Processes each text response individually, assigning one or more categories from the provided list. Supports flexible output formatting and optional saving of results to CSV for easy integration with data analysis workflows.
|
190
190
|
|
191
191
|
**Parameters:**
|
192
|
-
- `survey_question` (str): The survey question being analyzed
|
193
192
|
- `survey_input` (list): List of text responses to classify
|
194
193
|
- `categories` (list): List of predefined categories for classification
|
195
194
|
- `api_key` (str): API key for the LLM service
|
196
|
-
- `user_model` (str, default="gpt-
|
197
|
-
- `
|
195
|
+
- `user_model` (str, default="gpt-5"): Specific model to use
|
196
|
+
- `user_prompt` (str, optional): Custom prompt template to override default prompting
|
197
|
+
- `survey_question` (str, default=""): The survey question being analyzed
|
198
|
+
- `example1` through `example6` (dict, optional): Few-shot learning examples (format: {"response": "...", "categories": [...]})
|
199
|
+
- `creativity` (float, optional): Temperature/randomness setting (0.0-1.0, varies by model)
|
198
200
|
- `safety` (bool, default=False): Enable safety checks on responses and saves to CSV at each API call step
|
201
|
+
- `to_csv` (bool, default=False): Whether to save results to CSV
|
202
|
+
- `chain_of_verification` (bool, default=False): Enable Chain-of-Verification prompting technique for improved accuracy
|
203
|
+
- `step_back_prompt` (bool, default=False): Enable step-back prompting to analyze higher-level context before classification
|
204
|
+
- `context_prompt` (bool, default=False): Add expert role and behavioral guidelines to the prompt
|
199
205
|
- `filename` (str, default="categorized_data.csv"): Filename for CSV output
|
200
206
|
- `save_directory` (str, optional): Directory path to save the CSV file
|
201
|
-
- `model_source` (str, default="
|
207
|
+
- `model_source` (str, default="auto"): Model provider ("auto", "OpenAI", "Anthropic", "Google", "Mistral", "Perplexity", "Huggingface")
|
202
208
|
|
203
209
|
**Returns:**
|
204
210
|
- `pandas.DataFrame`: DataFrame with classification results, columns formatted as specified
|
@@ -1,10 +1,10 @@
|
|
1
1
|
catllm/CERAD_functions.py,sha256=q4HbP5e2Yu8NnZZ-2eX4sImyj6u3i8xWcq0pYU81iis,22676
|
2
|
-
catllm/__about__.py,sha256=
|
2
|
+
catllm/__about__.py,sha256=QIxgPsG9zGrIHx80hZ1HkOlxVi_F52MocXySU5cHB7Q,430
|
3
3
|
catllm/__init__.py,sha256=sf02zp7N0NW0mAQi7eQ4gliWR1EwoqvXkHN2HwwjcTE,372
|
4
4
|
catllm/build_web_research.py,sha256=880dfE2bEQb-FrXP-42JoLLtyc9ox_sBULDr38xiTiQ,22655
|
5
5
|
catllm/image_functions.py,sha256=8_FftRU285x1HT-AgNkaobefQVD-5q7ZY_t7JFdL3Sg,36177
|
6
6
|
catllm/model_reference_list.py,sha256=37pWwMcgnf4biE3BVRluH5oz2P6ccdJJiCVNHodBH8k,2307
|
7
|
-
catllm/text_functions.py,sha256=
|
7
|
+
catllm/text_functions.py,sha256=Yhb4ukFjNE9jHFdDC8Qa9rFhYAiyS6FTwAM7pG5TzR8,32521
|
8
8
|
catllm/calls/CoVe.py,sha256=Y9OGJbaeJ3Odwira92cPXUlnm_ADFqvpOSFSNjFzMMU,10847
|
9
9
|
catllm/calls/__init__.py,sha256=fWuMwLeSGa6zXJYd4s8IyNblsD62G-1NMUsOKrNIkoI,725
|
10
10
|
catllm/calls/all_calls.py,sha256=E25KpZ_MakMDeCpNCOOM8kQvlfex6UMjnGN1wHkA4AI,14356
|
@@ -13,7 +13,7 @@ catllm/images/cube.png,sha256=nFec3e5bmRe4zrBCJ8QK-HcJLrG7u7dYdKhmdMfacfE,77275
|
|
13
13
|
catllm/images/diamond.png,sha256=rJDZKtsnBGRO8FPA0iHuA8FvHFGi9PkI_DWSFdw6iv0,99568
|
14
14
|
catllm/images/overlapping_pentagons.png,sha256=VO5plI6eoVRnjfqinn1nNzsCP2WQhuQy71V0EASouW4,71208
|
15
15
|
catllm/images/rectangles.png,sha256=2XM16HO9EYWj2yHgN4bPXaCwPfl7iYQy0tQUGaJX9xg,40692
|
16
|
-
cat_llm-0.0.
|
17
|
-
cat_llm-0.0.
|
18
|
-
cat_llm-0.0.
|
19
|
-
cat_llm-0.0.
|
16
|
+
cat_llm-0.0.73.dist-info/METADATA,sha256=bLNW2lUDfJ32VOX56JglxWRszev6oYXTNvGSn80CyWo,23104
|
17
|
+
cat_llm-0.0.73.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
|
18
|
+
cat_llm-0.0.73.dist-info/licenses/LICENSE,sha256=Vje2sS5WV4TnIwY5uQHrF4qnBAM3YOk1pGpdH0ot-2o,34969
|
19
|
+
cat_llm-0.0.73.dist-info/RECORD,,
|
catllm/__about__.py
CHANGED
catllm/text_functions.py
CHANGED
File without changes
|
File without changes
|