# create_invocation_state_store

> **Function** in `langchain_azure_ai`

📖 [View in docs](https://reference.langchain.com/python/langchain-azure-ai/agents/hosting/_invocation_store/create_invocation_state_store)

Select the same hosted/local durability split used by Responses.

## Signature

```python
create_invocation_state_store(
    *,
    hosted: bool,
) -> InvocationStateStore
```

---

[View source on GitHub](https://github.com/langchain-ai/langchain-azure/blob/7a6a664d617264df8dcb12fcfb1bacc09f21d504/libs/azure-ai/langchain_azure_ai/agents/hosting/_invocation_store.py#L266)