View Source LangChain.Tools.DeepResearch.ResearchStatus (LangChain v0.4.0)
Represents the status of a Deep Research request.
This schema captures the current state of a research request, including progress information and any errors that may have occurred.
Summary
Functions
Creates a changeset for research status.
Checks if the research is complete (either successfully or with failure).
Checks if the research failed.
Creates a ResearchStatus from an OpenAI API response.
Gets a human-readable description of the current status.
Checks if the research completed successfully.
Types
Functions
@spec changeset(t(), map()) :: Ecto.Changeset.t()
Creates a changeset for research status.
Checks if the research is complete (either successfully or with failure).
Checks if the research failed.
@spec from_api_response(map()) :: {:ok, t()} | {:error, Ecto.Changeset.t()}
Creates a ResearchStatus from an OpenAI API response.
Gets a human-readable description of the current status.
Checks if the research completed successfully.