> ## Documentation Index
> Fetch the complete documentation index at: https://dsrs.herumbshandilya.com/llms.txt
> Use this file to discover all available pages before exploring further.

# dspy_rs::predictors

> Public API of the predictors module

<Note>
  Generated from rustdoc JSON at `dspy-rs v0.7.3` (commit `b5da857`). Do not edit by hand; regenerate with `python3 docs/scripts/gen_api.py` (see the script header for the rustdoc commands). Item links lead to full signatures and method docs on docs.rs.
</Note>

## Re-exports

| Item         | Description     |
| ------------ | --------------- |
| `predict::*` | Glob re-export. |

## Modules

| Item                                                                              | Description |
| --------------------------------------------------------------------------------- | ----------- |
| [`predict`](https://docs.rs/dspy-rs/latest/dspy_rs/predictors/predict/index.html) |             |

## `predictors::predict`

### Structs

| Item                                                                                                     | Description                                                               |
| -------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------- |
| [`Demo`](https://docs.rs/dspy-rs/latest/dspy_rs/predictors/predict/struct.Demo.html)                     | A typed input/output pair for few-shot prompting.                         |
| [`Predict`](https://docs.rs/dspy-rs/latest/dspy_rs/predictors/predict/struct.Predict.html)               | The leaf module. The only thing in the system that actually calls the LM. |
| [`PredictBuilder`](https://docs.rs/dspy-rs/latest/dspy_rs/predictors/predict/struct.PredictBuilder.html) | Builder for `Predict` with demos, tools, and instruction override.        |
