# Choice

> **Class** in `langchain_openai`

📖 [View in docs](https://reference.langchain.com/python/langchain-openai/decisions/types/Choice)

Select one value from a fixed, unordered set of options.

??? example "Route a customer complaint"

    ```python
    from langchain_openai.decisions import Choice, OpenAIDecisions

    decisions = OpenAIDecisions(model="gpt-6-luna")
    response = decisions.invoke(
        {
            "input": "I was charged twice for my order.",
            "questions": {
                "department": Choice(
                    instructions="Which department should handle this?",
                    choices={
                        "billing": "Payments, invoices, and refunds.",
                        "technical": "Problems using the product.",
                        "other": "Requests outside these categories.",
                    },
                ),
            },
        }
    )
    department = response.choices["department"]
    if department.confidence >= 0.7:
        route_to(department.choice)
    ```

## Signature

```python
Choice()
```

## Extends

- `BaseModel`

## Properties

- `type`
- `instructions`
- `choices`

---

[View source on GitHub](https://github.com/langchain-ai/langchain/blob/16a08bda1247010c23fcfa887e421259a5fced5e/libs/partners/openai/langchain_openai/decisions/types.py#L66)