Skip to content

Commit ca4ec9b

Browse files
Merge pull request #309232 from jlian/main
Fix links
2 parents fd13615 + 179a0d6 commit ca4ec9b

3 files changed

Lines changed: 11 additions & 11 deletions

File tree

articles/iot-operations/connect-to-cloud/howto-configure-wasm-graph-definitions.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ moduleRequirements:
7575

7676
## Example 1: Simple graph definition
7777

78-
The [simple graph definition](https://github.com/Azure-Samples/explore-iot-operations/blob/main/samples/wasm/rust/graph-simple.yaml) demonstrates a basic three-stage pipeline that converts temperature data from Fahrenheit to Celsius:
78+
The [simple graph definition](https://github.com/Azure-Samples/explore-iot-operations/tree/main/samples/wasm/graph-simple.yaml) demonstrates a basic three-stage pipeline that converts temperature data from Fahrenheit to Celsius:
7979

8080
:::code language="yaml" source="~/azure-iot-operations-samples/samples/wasm/graph-simple.yaml":::
8181

@@ -89,7 +89,7 @@ This graph creates a straightforward data processing pipeline:
8989
2. **Map operation**: Processes data with the temperature WASM module (`temperature:1.0.0`)
9090
3. **Sink operation**: Sends converted data to the data flow's destination endpoint
9191

92-
The [temperature module](https://github.com/Azure-Samples/explore-iot-operations/blob/main/samples/wasm/rust/examples/temperature/src/lib.rs) converts Fahrenheit to Celsius using the standard formula `(F - 32) × 5/9 = C`.
92+
The [temperature module](https://github.com/Azure-Samples/explore-iot-operations/blob/main/samples/wasm/operators/temperature/src/lib.rs) converts Fahrenheit to Celsius using the standard formula `(F - 32) × 5/9 = C`.
9393

9494
**Input format:**
9595
```json
@@ -103,7 +103,7 @@ The [temperature module](https://github.com/Azure-Samples/explore-iot-operations
103103

104104
## Example 2: Complex graph definition
105105

106-
The [complex graph definition](https://github.com/Azure-Samples/explore-iot-operations/blob/main/samples/wasm/rust/graph-complex.yaml) demonstrates a sophisticated multi-sensor processing workflow that handles temperature, humidity, and image data with advanced analytics:
106+
The [complex graph definition](https://github.com/Azure-Samples/explore-iot-operations/tree/main/samples/wasm/graph-complex.yaml) demonstrates a sophisticated multi-sensor processing workflow that handles temperature, humidity, and image data with advanced analytics:
107107

108108
:::code language="yaml" source="~/azure-iot-operations-samples/samples/wasm/graph-complex.yaml":::
109109

@@ -170,7 +170,7 @@ As shown in the diagram, data flows from a single source through multiple proces
170170
- Aggregates multi-sensor results
171171
- Adds metadata and overtemperature alerts
172172

173-
The graph uses specialized modules from the [Rust examples](https://github.com/Azure-Samples/explore-iot-operations/tree/wasm/samples/wasm/rust/examples):
173+
The graph uses specialized modules from the [Rust examples](https://github.com/Azure-Samples/explore-iot-operations/tree/main/samples/wasm/operators):
174174

175175
- Window module for time-based processing delays
176176
- Temperature modules for conversion, filtering, and statistical analysis
@@ -269,7 +269,7 @@ moduleConfigurations:
269269

270270
These parameters are passed to your WASM operator's `init` function at runtime, enabling dynamic configuration without rebuilding modules. For detailed examples of how to access and use these parameters in your Rust and Python code, see [Module configuration parameters](howto-develop-wasm-modules.md#module-configuration-parameters).
271271

272-
For a complete implementation example, see the [branch module](https://github.com/Azure-Samples/explore-iot-operations/tree/main/samples/wasm/python/examples/branch), which demonstrates parameter usage for conditional routing logic.
272+
For a complete implementation example, see the [branch module](https://github.com/Azure-Samples/explore-iot-operations/tree/main/samples/wasm-python/operators/branch), which demonstrates parameter usage for conditional routing logic.
273273

274274
## Next steps
275275

articles/iot-operations/connect-to-cloud/howto-develop-wasm-modules.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,7 @@ source ~/.bashrc
159159

160160
Python development uses componentize-py with WebAssembly Interface Types (WIT) for code generation. The WIT schemas define the interfaces between your Python code and the WASM runtime.
161161

162-
**Get the WIT schemas**: The required schemas are available in the [Azure IoT Operations samples repository](https://github.com/Azure-Samples/explore-iot-operations/tree/main/samples/wasm/python/schema). Clone or download these schemas to your development environment:
162+
**Get the WIT schemas**: The required schemas are available in the [Azure IoT Operations samples repository](https://github.com/Azure-Samples/explore-iot-operations/tree/main/samples/wasm-python/schema). Clone or download these schemas to your development environment:
163163

164164
```bash
165165
# Clone the repository to access WIT schemas
@@ -391,7 +391,7 @@ docker run --rm -v "$(pwd):/workspace" ghcr.io/azure-samples/explore-iot-operati
391391

392392
# [Python](#tab/python)
393393

394-
The Python Docker builder is maintained in the Azure IoT Operations samples repository and includes all necessary dependencies and schemas. For detailed documentation, see [Python Docker builder usage](https://github.com/Azure-Samples/explore-iot-operations/tree/main/samples/wasm/python#using-the-streamlined-docker-builder).
394+
The Python Docker builder is maintained in the Azure IoT Operations samples repository and includes all necessary dependencies and schemas. For detailed documentation, see [Python Docker builder usage](https://github.com/Azure-Samples/explore-iot-operations/tree/main/samples/wasm-python#using-the-streamlined-docker-builder).
395395

396396
```bash
397397
# Build release version (optimized for production)
@@ -424,7 +424,7 @@ The examples demonstrate working implementations that show the complete structur
424424

425425
# [Python](#tab/python)
426426

427-
For comprehensive examples, see the [Python examples](https://github.com/Azure-Samples/explore-iot-operations/tree/main/samples/wasm/python/examples) in the samples repository. Complete implementations include:
427+
For comprehensive examples, see the [Python examples](https://github.com/Azure-Samples/explore-iot-operations/tree/main/samples/wasm-python/operators) in the samples repository. Complete implementations include:
428428

429429
- **Map operators**: Data transformation and conversion logic
430430
- **Filter operators**: Conditional data processing and validation
@@ -533,7 +533,7 @@ metrics::record_to_histogram("processing_duration", duration_ms, Some(labels))?;
533533

534534
# [Python](#tab/python)
535535

536-
Python WASM development doesn't use a traditional SDK. Instead, you use generated bindings from WebAssembly Interface Types (WIT). The WIT schemas are available from the [Azure IoT Operations samples repository](https://github.com/Azure-Samples/explore-iot-operations/tree/main/samples/wasm/python/schema).
536+
Python WASM development doesn't use a traditional SDK. Instead, you use generated bindings from WebAssembly Interface Types (WIT). The WIT schemas are available from the [Azure IoT Operations samples repository](https://github.com/Azure-Samples/explore-iot-operations/tree/main/samples/wasm-python/schema).
537537

538538
These bindings give you:
539539

@@ -587,7 +587,7 @@ To embed and run small ONNX models inside your modules for in-band inference, se
587587

588588
All operators implement standardized interfaces defined using [WebAssembly Interface Types (WIT)](https://github.com/WebAssembly/component-model/blob/main/design/mvp/WIT.md). WIT provides language-agnostic interface definitions that ensure compatibility between WASM modules and the host runtime.
589589

590-
The complete WIT schemas for Azure IoT Operations are available in the [samples repository](https://github.com/Azure-Samples/explore-iot-operations/tree/main/samples/wasm/python/schema). These schemas define all the interfaces, types, and data structures you'll work with when developing WASM modules.
590+
The complete WIT schemas for Azure IoT Operations are available in the [samples repository](https://github.com/Azure-Samples/explore-iot-operations/tree/main/samples/wasm-python/schema). These schemas define all the interfaces, types, and data structures you'll work with when developing WASM modules.
591591

592592
### Data model and interfaces
593593

articles/iot-operations/connect-to-cloud/howto-wasm-onnx-inference.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -249,7 +249,7 @@ fn init_model() -> Result<(), anyhow::Error> {
249249

250250
### Performance optimization
251251

252-
To avoid recreating the ONNX graph and execution context for every message, initialize it once and reuse it. The [public sample](https://github.com/Azure-Samples/explore-iot-operations/blob/main/samples/wasm/rust/examples/snapshot/src/lib.rs) uses a static `LazyLock`:
252+
To avoid recreating the ONNX graph and execution context for every message, initialize it once and reuse it. The [public sample](https://github.com/Azure-Samples/explore-iot-operations/blob/main/samples/wasm/operators/snapshot/src/lib.rs) uses a static `LazyLock`:
253253

254254
```rust
255255
use std::sync::LazyLock;

0 commit comments

Comments
 (0)