# Guides

- [Architecture and Connection Modes](https://docs.degirum.com/degirumjs/guides/connection-modes.md): DeGirumJS offers flexible connection modes to cater to various AI inference needs, whether you're running models locally on an AI Server, entirely in the cloud, or a hybrid approach.
- [Batch Processing and Callbacks](https://docs.degirum.com/degirumjs/guides/batch-inference.md): This guide covers model.predict\_batch(), asynchronous callbacks, and how to manage the inference queue.
- [Device Management for Inference](https://docs.degirum.com/degirumjs/guides/device-management.md): Configure and switch between device types when running inference with DeGirumJS.
- [Model Parameters](https://docs.degirum.com/degirumjs/guides/model-parameters.md): Overview of model parameters available when loading or configuring models.
- [Performance and Timing Statistics](https://docs.degirum.com/degirumjs/guides/timing.md): Interpret performance and latency metrics collected during inference.
- [Preprocessing and Visual Overlays](https://docs.degirum.com/degirumjs/guides/pre-post-processing.md): Customize preprocessing and drawing parameters for DeGirumJS models.
- [Result Object Structure](https://docs.degirum.com/degirumjs/guides/result-object-structure.md): Understand the structure of prediction results returned by DeGirumJS.
- [WebCodecs Example](https://docs.degirum.com/degirumjs/guides/web-codecs-example.md): Examples for using predict\_batch with the WebCodecs API.
- [Working with Input and Output Data](https://docs.degirum.com/degirumjs/guides/input-output-data.md): Guide for the various input data formats supported by DeGirumJS for inference, as well as a detailed breakdown of the output result object structures for different model types.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.degirum.com/degirumjs/guides.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
