Skip to content

Commit 41ab8b3

Browse files
committed
reorg of materials and docs
1 parent 57947d2 commit 41ab8b3

21 files changed

Lines changed: 287 additions & 286 deletions

README.md

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,12 @@ agent_memory_toolkit/ Python library — sync API
4747
processing.py AsyncProcessingClient (internal)
4848
azure_functions/ Durable Functions — orchestrator, activities, HTTP trigger
4949
prompts/ LLM system prompts — summarize, facts, user_summary + update variants
50-
Samples/ Demo notebooks + sample scripts
50+
Samples/ Categorized notebooks, quickstarts, processing examples, advanced flows, and scenarios
51+
Notebooks/ Demo notebooks
52+
Quickstarts/ Minimal local and Cosmos DB examples
53+
Processing/ Focused processing examples
54+
Advanced/ Advanced lifecycle and search examples
55+
Scenarios/ End-to-end scenario examples
5156
Docs/ Documentation — concepts, local testing, Azure deployment
5257
tests/ Unit + integration tests (pytest)
5358
```
@@ -146,6 +151,14 @@ summary = memory.get_user_summary(user_id="user-001")
146151
147152
---
148153
154+
## Deploy Azure Resources
155+
156+
The [`infra/`](infra/) folder contains the Bicep templates and Azure Developer CLI (`azd`) configuration for provisioning the toolkit's Azure resources end-to-end. It deploys Cosmos DB for NoSQL, AI Foundry model deployments, managed identity and RBAC assignments, and the Azure Function app used for Durable Functions processing.
157+
158+
For deployment prerequisites, configuration options, bring-your-own-resource settings, and cleanup commands, see the [infra README](infra/README.md).
159+
160+
---
161+
149162
## Azure Resources
150163
151164
| Resource | Purpose |
File renamed without changes.
File renamed without changes.
Lines changed: 2 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
"8. **Tagging, salience & deduplication** – tag mutation, salience filter, `reconcile()`\n",
2020
"9. **Automatic processing (Change Feed)** – optional Azure Function for background processing\n",
2121
"\n",
22-
"> 💡 **Tip:** the synchronous `CosmosMemoryClient` accepts an optional `processor=` kwarg (defaults to `InProcessProcessor`). Pass `DurableFunctionProcessor()` to delegate summarization to the sibling Azure Function app — see `Samples/scenario_remote_processor.py`.\n"
22+
"> 💡 **Tip:** the synchronous `CosmosMemoryClient` accepts an optional `processor=` kwarg (defaults to `InProcessProcessor`). Pass `DurableFunctionProcessor()` to delegate summarization to the sibling Azure Function app — see `Samples/Scenarios/scenario_remote_processor.py`.\n"
2323
]
2424
},
2525
{
@@ -34,7 +34,7 @@
3434
},
3535
{
3636
"cell_type": "code",
37-
"execution_count": 1,
37+
"execution_count": null,
3838
"id": "843cc6f6",
3939
"metadata": {
4040
"ExecuteTime": {
@@ -65,43 +65,22 @@
6565
],
6666
"source": [
6767
"import os, json\n",
68-
"\n",
6968
"from dotenv import load_dotenv\n",
70-
"\n",
7169
"from azure.identity import DefaultAzureCredential\n",
7270
"\n",
73-
"\n",
74-
"\n",
7571
"# Add parent directory to path so we can import the package easily\n",
76-
"\n",
7772
"import sys\n",
78-
"\n",
7973
"sys.path.insert(0, os.path.abspath(\"..\"))\n",
80-
"\n",
81-
"\n",
82-
"\n",
8374
"from agent_memory_toolkit import CosmosMemoryClient\n",
84-
"\n",
85-
"\n",
86-
"\n",
8775
"# Load environment variables from .env in the repo root\n",
8876
"\n",
8977
"load_dotenv(os.path.join(\"..\", \".env\"))\n",
90-
"\n",
91-
"\n",
92-
"\n",
9378
"print(\"COSMOS_DB_ENDPOINT:\", os.getenv(\"COSMOS_DB_ENDPOINT\"))\n",
94-
"\n",
9579
"print(\"COSMOS_DB_DATABASE:\", os.getenv(\"COSMOS_DB_DATABASE\"))\n",
96-
"\n",
9780
"print(\"COSMOS_DB_CONTAINER:\", os.getenv(\"COSMOS_DB_CONTAINER\"))\n",
98-
"\n",
9981
"print(\"COSMOS_DB_COUNTERS_CONTAINER:\", os.getenv(\"COSMOS_DB_COUNTERS_CONTAINER\", \"counter\"))\n",
100-
"\n",
10182
"print(\"COSMOS_DB_LEASE_CONTAINER:\", os.getenv(\"COSMOS_DB_LEASE_CONTAINER\", \"leases\"))\n",
102-
"\n",
10383
"print(\"COSMOS_DB_THROUGHPUT_MODE:\", os.getenv(\"COSMOS_DB_THROUGHPUT_MODE\", \"serverless\"))\n",
104-
"\n",
10584
"print(\"COSMOS_DB_AUTOSCALE_MAX_RU:\", os.getenv(\"COSMOS_DB_AUTOSCALE_MAX_RU\", \"1000\"))"
10685
]
10786
},

0 commit comments

Comments
 (0)