# IVFFlatQueryOptions

> **Class** in `langchain_postgres`

📖 [View in docs](https://reference.langchain.com/python/langchain-postgres/v2/indexes/IVFFlatQueryOptions)

## Signature

```python
IVFFlatQueryOptions(
    self,
    probes: int = 1,
)
```

## Extends

- `QueryOptions`

## Constructors

```python
__init__(
    self,
    probes: int = 1,
) -> None
```

| Name | Type |
|------|------|
| `probes` | `int` |


## Properties

- `probes`

## Methods

- [`to_parameter()`](https://reference.langchain.com/python/langchain-postgres/v2/indexes/IVFFlatQueryOptions/to_parameter)
- [`to_string()`](https://reference.langchain.com/python/langchain-postgres/v2/indexes/IVFFlatQueryOptions/to_string)

---

[View source on GitHub](https://github.com/langchain-ai/langchain-postgres/blob/9d819182da7e3fb1b815e6c9a6b7c2cd1eb4bc0e/langchain_postgres/v2/indexes.py#L141)