cat-llm 0.0.50__tar.gz → 0.0.52__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.50 → cat_llm-0.0.52}/PKG-INFO +1 -1
- {cat_llm-0.0.50 → cat_llm-0.0.52}/src/catllm/__about__.py +1 -1
- {cat_llm-0.0.50 → cat_llm-0.0.52}/src/catllm/__init__.py +2 -1
- {cat_llm-0.0.50 → cat_llm-0.0.52}/src/catllm/build_web_research.py +1 -3
- {cat_llm-0.0.50 → cat_llm-0.0.52}/.gitignore +0 -0
- {cat_llm-0.0.50 → cat_llm-0.0.52}/LICENSE +0 -0
- {cat_llm-0.0.50 → cat_llm-0.0.52}/README.md +0 -0
- {cat_llm-0.0.50 → cat_llm-0.0.52}/pyproject.toml +0 -0
- {cat_llm-0.0.50 → cat_llm-0.0.52}/src/catllm/CERAD_functions.py +0 -0
- {cat_llm-0.0.50 → cat_llm-0.0.52}/src/catllm/image_functions.py +0 -0
- {cat_llm-0.0.50 → cat_llm-0.0.52}/src/catllm/images/circle.png +0 -0
- {cat_llm-0.0.50 → cat_llm-0.0.52}/src/catllm/images/cube.png +0 -0
- {cat_llm-0.0.50 → cat_llm-0.0.52}/src/catllm/images/diamond.png +0 -0
- {cat_llm-0.0.50 → cat_llm-0.0.52}/src/catllm/images/overlapping_pentagons.png +0 -0
- {cat_llm-0.0.50 → cat_llm-0.0.52}/src/catllm/images/rectangles.png +0 -0
- {cat_llm-0.0.50 → cat_llm-0.0.52}/src/catllm/text_functions.py +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.52
|
|
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
|
|
@@ -36,7 +36,7 @@ def build_web_research_dataset(
|
|
|
36
36
|
extracted_jsons = []
|
|
37
37
|
|
|
38
38
|
for idx, item in enumerate(tqdm(search_input, desc="Building dataset")):
|
|
39
|
-
if idx
|
|
39
|
+
if idx > 0: # Skip delay for first item only
|
|
40
40
|
time.sleep(time_delay)
|
|
41
41
|
reply = None
|
|
42
42
|
|
|
@@ -88,13 +88,11 @@ def build_web_research_dataset(
|
|
|
88
88
|
if getattr(block, "type", "") == "text"
|
|
89
89
|
).strip()
|
|
90
90
|
link1.append(reply)
|
|
91
|
-
time.sleep(time_delay)
|
|
92
91
|
print(reply)
|
|
93
92
|
|
|
94
93
|
except Exception as e:
|
|
95
94
|
print(f"An error occurred: {e}")
|
|
96
95
|
link1.append(f"Error processing input: {e}")
|
|
97
|
-
time.sleep(time_delay)
|
|
98
96
|
else:
|
|
99
97
|
raise ValueError("Unknown source! Currently this function only supports 'Anthropic' as model_source.")
|
|
100
98
|
# in situation that no JSON is found
|
|
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
|