# `LangChain.Tools.DeepResearch.ResearchRequest`
[🔗](https://github.com/brainlid/langchain/blob/v0.13.0/lib/tools/deep_research/research_request.ex#L1)

Represents a Deep Research request sent to the OpenAI API.

This schema defines the structure of a research request including the query,
model selection, and various configuration options.

# `t`
[🔗](https://github.com/brainlid/langchain/blob/v0.13.0/lib/tools/deep_research/research_request.ex#L11)

```elixir
@type t() :: %LangChain.Tools.DeepResearch.ResearchRequest{
  background: boolean(),
  max_output_tokens: integer() | nil,
  max_tool_calls: integer() | nil,
  model: String.t() | nil,
  query: String.t() | nil,
  summary: String.t() | nil,
  system_message: String.t() | nil,
  temperature: float()
}
```

# `changeset`
[🔗](https://github.com/brainlid/langchain/blob/v0.13.0/lib/tools/deep_research/research_request.ex#L39)

```elixir
@spec changeset(t(), map()) :: Ecto.Changeset.t()
```

Creates a changeset for a research request.

# `to_api_format`
[🔗](https://github.com/brainlid/langchain/blob/v0.13.0/lib/tools/deep_research/research_request.ex#L67)

```elixir
@spec to_api_format(t()) :: map()
```

Converts the research request to the format expected by the OpenAI API.

---

*Consult [api-reference.md](api-reference.md) for complete listing*
