Skip to content

~95% on SimpleQA (e.g. Qwen3.6-27B on a 3090). Supports all local and cloud LLMs (llama.cpp, Ollama, Google, ...). 10+ search engines - arXiv, PubMed, your private documents. Everything Local & Encrypted.

temporarily removed questionable function from commit

LearningCircuitc398f227d7e1
diff --git a/examples/programmatic_access.ipynb b/examples/programmatic_access.ipynb
index 49c39048c5..075e835d02 100644
--- a/examples/programmatic_access.ipynb
+++ b/examples/programmatic_access.ipynb
@@ -20,11 +20,11 @@
},
{
"cell_type": "code",
- "execution_count": 11,
+ "execution_count": 4,
"metadata": {},
"outputs": [],
"source": [
- "from local_deep_research import quick_summary, generate_report, analyze_documents"
+ "from local_deep_research import quick_summary, generate_report"
]
},
{
@@ -144,9 +144,20 @@
},
{
"cell_type": "code",
- "execution_count": null,
- "metadata": {},
- "outputs": [],
+ "execution_count": 2,
+ "metadata": {},
+ "outputs": [
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "Available collections:\n",
+ "- project_docs: Project documentation and specifications\n",
+ "- research_papers: Academic research papers and articles\n",
+ "- personal_notes: Personal notes and documents\n"
+ ]
+ }
+ ],
"source": [
"# Get a list of available collections\n",
"from local_deep_research.api import get_available_collections\n",
@@ -157,29 +168,6 @@
" print(f\"- {name}: {config.get('description', 'No description')}\")"
]
},
- {
- "cell_type": "code",
- "execution_count": null,
- "metadata": {},
- "outputs": [],
- "source": [
- "# If you have a collection, you can analyze documents\n",
- "if collections:\n",
- " collection_name = next(iter(collections))\n",
- " \n",
- " analysis = analyze_documents(\n",
- " query=\"project requirements\",\n",
- " collection_name=collection_name\n",
- " )\n",
- " \n",
- " print(f\"\\nAnalysis results for collection '{collection_name}':\")\n",
- " print(f\"Found {len(analysis['documents'])} matching documents\")\n",
- " print(\"\\nSummary:\")\n",
- " print(analysis[\"summary\"])\n",
- "else:\n",
- " print(\"\\nNo collections configured. Please set up local document collections first.\")"
- ]
- },
{
"cell_type": "markdown",
"metadata": {},
@@ -236,7 +224,7 @@
],
"metadata": {
"kernelspec": {
- "display_name": "Python 3",
+ "display_name": "venv",
"language": "python",
"name": "python3"
},
@@ -250,7 +238,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
- "version": "3.8.10"
+ "version": "3.12.3"
}
},
"nbformat": 4,