local-deep-research 0.1.14__py3-none-any.whl → 0.1.15__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.
- local_deep_research/search_system.py +1 -1
- local_deep_research/web/app.py +6 -22
- {local_deep_research-0.1.14.dist-info → local_deep_research-0.1.15.dist-info}/METADATA +1 -1
- {local_deep_research-0.1.14.dist-info → local_deep_research-0.1.15.dist-info}/RECORD +8 -8
- {local_deep_research-0.1.14.dist-info → local_deep_research-0.1.15.dist-info}/WHEEL +0 -0
- {local_deep_research-0.1.14.dist-info → local_deep_research-0.1.15.dist-info}/entry_points.txt +0 -0
- {local_deep_research-0.1.14.dist-info → local_deep_research-0.1.15.dist-info}/licenses/LICENSE +0 -0
- {local_deep_research-0.1.14.dist-info → local_deep_research-0.1.15.dist-info}/top_level.txt +0 -0
@@ -278,7 +278,7 @@ class AdvancedSearchSystem:
|
|
278
278
|
"findings": findings,
|
279
279
|
"iterations": iteration,
|
280
280
|
"questions": self.questions_by_iteration,
|
281
|
-
"formatted_findings": formatted_findings
|
281
|
+
"formatted_findings": formatted_findings,
|
282
282
|
"current_knowledge": current_knowledge
|
283
283
|
}
|
284
284
|
|
local_deep_research/web/app.py
CHANGED
@@ -1001,27 +1001,14 @@ def run_research_process(research_id, query, mode):
|
|
1001
1001
|
if mode == 'quick':
|
1002
1002
|
# Quick Summary
|
1003
1003
|
if results.get('findings'):
|
1004
|
-
|
1005
|
-
|
1006
|
-
|
1007
|
-
# Safer access to formatted_findings with logging
|
1008
|
-
print(f"Results keys: {list(results.keys())}")
|
1009
|
-
|
1010
|
-
# Check if formatted_findings exists in results
|
1011
|
-
if 'formatted_findings' not in results:
|
1012
|
-
logger.info("WARNING: 'formatted_findings' not found in results, using fallback")
|
1013
|
-
# Create fallback formatted findings from available data
|
1014
|
-
raw_formatted_findings = "# Research Findings\n\n"
|
1015
|
-
raw_formatted_findings = raw_formatted_findings + str(results.get('current_knowledge'))
|
1016
|
-
for i, finding in enumerate(results.get('findings', [])):
|
1017
|
-
raw_formatted_findings += f"## Finding {i+1}\n\n{finding.get('content', '')}\n\n"
|
1018
|
-
else:
|
1019
|
-
raw_formatted_findings = results['formatted_findings']
|
1020
|
-
logger.info(f"Found formatted_findings of length: {len(str(raw_formatted_findings))}")
|
1004
|
+
|
1005
|
+
raw_formatted_findings = results['formatted_findings']
|
1006
|
+
logger.info(f"Found formatted_findings of length: {len(str(raw_formatted_findings))}")
|
1021
1007
|
|
1022
1008
|
try:
|
1009
|
+
clean_markdown = raw_formatted_findings
|
1023
1010
|
# ADDED CODE: Convert debug output to clean markdown
|
1024
|
-
clean_markdown = convert_debug_to_markdown(raw_formatted_findings, query)
|
1011
|
+
#clean_markdown = convert_debug_to_markdown(raw_formatted_findings, query)
|
1025
1012
|
print(f"Successfully converted to clean markdown of length: {len(clean_markdown)}")
|
1026
1013
|
|
1027
1014
|
# First send a progress update for generating the summary
|
@@ -1693,10 +1680,7 @@ def convert_debug_to_markdown(raw_text, query):
|
|
1693
1680
|
lines_after = len(content.split("\n"))
|
1694
1681
|
print(f"Removed {lines_before - lines_after} divider lines")
|
1695
1682
|
|
1696
|
-
|
1697
|
-
if "COMPLETE RESEARCH OUTPUT" in content:
|
1698
|
-
print("Found and removing COMPLETE RESEARCH OUTPUT section")
|
1699
|
-
content = content.split("COMPLETE RESEARCH OUTPUT")[0].strip()
|
1683
|
+
|
1700
1684
|
|
1701
1685
|
# Remove SEARCH QUESTIONS BY ITERATION section
|
1702
1686
|
if "SEARCH QUESTIONS BY ITERATION:" in content:
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.4
|
2
2
|
Name: local-deep-research
|
3
|
-
Version: 0.1.
|
3
|
+
Version: 0.1.15
|
4
4
|
Summary: AI-powered research assistant with deep, iterative analysis using LLMs and web searches
|
5
5
|
Author-email: LearningCircuit <185559241+LearningCircuit@users.noreply.github.com>, HashedViking <6432677+HashedViking@users.noreply.github.com>
|
6
6
|
License: MIT License
|
@@ -4,7 +4,7 @@ local_deep_research/config.py,sha256=lucqOE4KeNm1ynYdcHYWJLE5fJ0QN-1QKZpRcBPsHe8
|
|
4
4
|
local_deep_research/local_collections.py,sha256=SB-fdptT7qS0klJUVx_Rs9OgDwafMUgI46984WlZGKI,6076
|
5
5
|
local_deep_research/main.py,sha256=uQXtGQ6LtZNd5Qw63D5ke4Q_LjYimouWVSUknVsk3JQ,3645
|
6
6
|
local_deep_research/report_generator.py,sha256=UOiSw_vPHgtUpI8L9_UaOlpBVBloPB-ilhAo-1d2B9M,8200
|
7
|
-
local_deep_research/search_system.py,sha256=
|
7
|
+
local_deep_research/search_system.py,sha256=lKOdtSFe-dlOa66QmBIL1SAO4J2ZnFgBIQVMHCPxbMo,15623
|
8
8
|
local_deep_research/defaults/__init__.py,sha256=2Vvlkl-gmP_qPYWegE4JBgummypogl3VXrQ1XzptFDU,1381
|
9
9
|
local_deep_research/defaults/llm_config.py,sha256=88IGWPPvikSKmAqfqsGovBx2Jac5eh2sBY_LIW624Ik,7910
|
10
10
|
local_deep_research/defaults/local_collections.toml,sha256=_edVWVHrhunMfazjejhJlGPRkHKKIP51qQtNkMgNEiA,1406
|
@@ -16,7 +16,7 @@ local_deep_research/utilties/llm_utils.py,sha256=IGv-_gJWqLTpO3_op1NHIwxKaFEzmXh
|
|
16
16
|
local_deep_research/utilties/search_utilities.py,sha256=C8ycFd7blcq5vtnd6GxP8dkepZT6EEqHFtT3WYxF0Ck,4151
|
17
17
|
local_deep_research/utilties/setup_utils.py,sha256=t6GNp7lK1nLPdPNCkYUk82IATGM62vqy8UBD-KqShOs,215
|
18
18
|
local_deep_research/web/__init__.py,sha256=3oHMatNu8r24FBtpojriIVbHYOVSHj4Q-quycMKOuDk,62
|
19
|
-
local_deep_research/web/app.py,sha256=
|
19
|
+
local_deep_research/web/app.py,sha256=5_VLNdhJOqdgacucglUdS_lVURNgYNbXhK9vME6JmzA,72431
|
20
20
|
local_deep_research/web/static/css/styles.css,sha256=mW217FfZNW1pzMtlbuXE2fRBJekeIdIoy4m-yXFirj4,23782
|
21
21
|
local_deep_research/web/static/js/app.js,sha256=GPncdWpw2YNTs56JY-0tjTTr9JnX-fIZSZX0agwKZMU,172813
|
22
22
|
local_deep_research/web/templates/api_keys_config.html,sha256=jA8Y-nfUGJ1dTvbw2jK_8xPy2x6UG_5gHpbrTJAex2g,3527
|
@@ -49,9 +49,9 @@ local_deep_research/web_search_engines/engines/search_engine_semantic_scholar.py
|
|
49
49
|
local_deep_research/web_search_engines/engines/search_engine_serpapi.py,sha256=iy-QmT99Tf2cJlfCrPbEhtMB7a_zCKppvlUKi7VBrlE,9118
|
50
50
|
local_deep_research/web_search_engines/engines/search_engine_wayback.py,sha256=astAvSLajDZ6rwgthJ3iBcHSWuDSYPO7uilIxaJhXmU,18132
|
51
51
|
local_deep_research/web_search_engines/engines/search_engine_wikipedia.py,sha256=KSGJECbEcxZpVK-PhYsTCtzedSK0l1AjQmvGtx8KBks,9799
|
52
|
-
local_deep_research-0.1.
|
53
|
-
local_deep_research-0.1.
|
54
|
-
local_deep_research-0.1.
|
55
|
-
local_deep_research-0.1.
|
56
|
-
local_deep_research-0.1.
|
57
|
-
local_deep_research-0.1.
|
52
|
+
local_deep_research-0.1.15.dist-info/licenses/LICENSE,sha256=Qg2CaTdu6SWnSqk1_JtgBPp_Da-LdqJDhT1Vt1MUc5s,1072
|
53
|
+
local_deep_research-0.1.15.dist-info/METADATA,sha256=58mozAoQWVyN6UDWlpVNPAaGQM4Qy2V0Qge1Kpzz2U8,15151
|
54
|
+
local_deep_research-0.1.15.dist-info/WHEEL,sha256=1tXe9gY0PYatrMPMDd6jXqjfpz_B-Wqm32CPfRC58XU,91
|
55
|
+
local_deep_research-0.1.15.dist-info/entry_points.txt,sha256=u-Y6Z3MWtR3dmsTDFYhXyfkPv7mALUA7YAnY4Fi1XDs,97
|
56
|
+
local_deep_research-0.1.15.dist-info/top_level.txt,sha256=h6-uVE_wSuLOcoWwT9szhX23mBWufu77MqmM25UfbCY,20
|
57
|
+
local_deep_research-0.1.15.dist-info/RECORD,,
|
File without changes
|
{local_deep_research-0.1.14.dist-info → local_deep_research-0.1.15.dist-info}/entry_points.txt
RENAMED
File without changes
|
{local_deep_research-0.1.14.dist-info → local_deep_research-0.1.15.dist-info}/licenses/LICENSE
RENAMED
File without changes
|
File without changes
|