cat-llm 0.0.66__tar.gz → 0.0.67__tar.gz
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.66 → cat_llm-0.0.67}/PKG-INFO +1 -1
- {cat_llm-0.0.66 → cat_llm-0.0.67}/src/catllm/__about__.py +1 -1
- {cat_llm-0.0.66 → cat_llm-0.0.67}/src/catllm/text_functions.py +5 -5
- {cat_llm-0.0.66 → cat_llm-0.0.67}/.gitignore +0 -0
- {cat_llm-0.0.66 → cat_llm-0.0.67}/LICENSE +0 -0
- {cat_llm-0.0.66 → cat_llm-0.0.67}/README.md +0 -0
- {cat_llm-0.0.66 → cat_llm-0.0.67}/pyproject.toml +0 -0
- {cat_llm-0.0.66 → cat_llm-0.0.67}/src/catllm/CERAD_functions.py +0 -0
- {cat_llm-0.0.66 → cat_llm-0.0.67}/src/catllm/__init__.py +0 -0
- {cat_llm-0.0.66 → cat_llm-0.0.67}/src/catllm/build_web_research.py +0 -0
- {cat_llm-0.0.66 → cat_llm-0.0.67}/src/catllm/image_functions.py +0 -0
- {cat_llm-0.0.66 → cat_llm-0.0.67}/src/catllm/images/circle.png +0 -0
- {cat_llm-0.0.66 → cat_llm-0.0.67}/src/catllm/images/cube.png +0 -0
- {cat_llm-0.0.66 → cat_llm-0.0.67}/src/catllm/images/diamond.png +0 -0
- {cat_llm-0.0.66 → cat_llm-0.0.67}/src/catllm/images/overlapping_pentagons.png +0 -0
- {cat_llm-0.0.66 → cat_llm-0.0.67}/src/catllm/images/rectangles.png +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.67
|
|
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
|
|
@@ -7,7 +7,7 @@ def explore_corpus(
|
|
|
7
7
|
specificity="broad",
|
|
8
8
|
cat_num=10,
|
|
9
9
|
divisions=5,
|
|
10
|
-
user_model="gpt-
|
|
10
|
+
user_model="gpt-5",
|
|
11
11
|
creativity=None,
|
|
12
12
|
filename="corpus_exploration.csv",
|
|
13
13
|
model_source="OpenAI"
|
|
@@ -108,7 +108,7 @@ def explore_common_categories(
|
|
|
108
108
|
top_n=10,
|
|
109
109
|
cat_num=10,
|
|
110
110
|
divisions=5,
|
|
111
|
-
user_model="gpt-
|
|
111
|
+
user_model="gpt-5",
|
|
112
112
|
creativity=None,
|
|
113
113
|
specificity="broad",
|
|
114
114
|
research_question=None,
|
|
@@ -226,17 +226,17 @@ Return the top {top_n} categories as a numbered list sorted from the most to lea
|
|
|
226
226
|
# what this function does:
|
|
227
227
|
# does context prompting, giving the model a background on the task at hand and the user's survey question
|
|
228
228
|
# system prompting, overall context and purpose for the language model
|
|
229
|
-
# role
|
|
229
|
+
# role prompting, assings a spacific identity to the model
|
|
230
230
|
# also enables few shot prompting, allowing the user to input a few examples
|
|
231
231
|
# provides POSITIVE INSTRUCTIONS reather than limitations/restrictions
|
|
232
232
|
# GOAL: enable step-back prompting
|
|
233
233
|
# GOAL 2: enable self-consistency
|
|
234
|
-
def
|
|
234
|
+
def multi_class(
|
|
235
235
|
survey_question,
|
|
236
236
|
survey_input,
|
|
237
237
|
categories,
|
|
238
238
|
api_key,
|
|
239
|
-
user_model="gpt-
|
|
239
|
+
user_model="gpt-5",
|
|
240
240
|
user_prompt = None,
|
|
241
241
|
example1 = None,
|
|
242
242
|
example2 = None,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|