LangChain Reference home pageLangChain ReferenceLangChain Reference
  • GitHub
  • Main Docs
Deep Agents
LangChain
LangGraph
Integrations
LangSmith
  • Overview
  • Client
  • AsyncClient
  • Run Helpers
  • Run Trees
  • Evaluation
  • Schemas
  • Utilities
  • Wrappers
  • Anonymizer
  • Testing
  • Expect API
  • Middleware
  • Pytest Plugin
  • Deployment SDK
⌘I

Chat LangChain

What can I help with?

Enter to send·Shift+Enter new line

Menu

OverviewClientAsyncClientRun HelpersRun TreesEvaluationSchemasUtilitiesWrappersAnonymizerTestingExpect APIMiddlewarePytest PluginDeployment SDK
Language
Theme
Pythonlangsmithtypesai_search_parse_responseAISearchParseResponse
Class●Since v0.15

AISearchParseResponse

Copy
AISearchParseResponse()

Bases

BaseModel

Attributes

Inherited fromBaseModel

Attributes

Amodel_fields_set: set[str]Amodel_config: ConfigDictAmodel_construct: construct

Methods

Mto_dict
—

Recursively generate a dictionary representation of the model, optionally specifying which fields to include or exclude.

View source on GitHub
Mto_json
—

Generates a JSON string representing this model as it would be received from or sent to the API (but with indentation).

Mconstruct
Mmodel_dump
—

Usage docs: https://docs.pydantic.dev/2.4/concepts/serialization/#modelmodel_dump

Mmodel_dump_json
—

Usage docs: https://docs.pydantic.dev/2.4/concepts/serialization/#modelmodel_dump_json

Classes

CConfig
attribute
clarification: Optional[Clarification]
attribute
filter: Optional[str]
attribute
max_start_time: Optional[datetime]
attribute
min_start_time: Optional[datetime]
attribute
scope: Optional[Literal['runs', 'traces', 'threads']]
attribute
sem_filter: Optional[str]
attribute
thread_filter: Optional[str]
attribute
trace_filter: Optional[str]
attribute
tree_filter: Optional[str]

Interpretations to choose from.

Returned only when allow_clarification is true and the search is ambiguous; no other fields are set.

Filter expression for the query API's filter parameter.

Omitted when there is none.

Upper bound on start time (RFC 3339, UTC) for the query API's max_start_time parameter. Omitted when the search names no end; keep your own time range.

Lower bound on start time (RFC 3339, UTC) for the query API's min_start_time parameter. Omitted when the search names no start; keep your own time range.

Query API to send the plan to: runs, traces or threads.

Plain-language criterion for the query API's sem_filter parameter, matched against conversation messages. Null when the search has no conversational criterion.

Filter expression for the threads query API's thread_filter parameter.

Omitted when there is none.

Filter expression for the query API's trace_filter parameter.

Omitted when there is none.

Filter expression for the query API's tree_filter parameter.

Omitted when there is none.