langchain.chains.query_constructor.schema.AttributeInfo¶

class langchain.chains.query_constructor.schema.AttributeInfo(*, name: str, description: str, type: str)[source]¶

Bases: BaseModel

Information about a data source attribute.

Create a new model by parsing and validating input data from keyword arguments.

Raises ValidationError if the input data cannot be parsed to form a valid model.

param description: str [Required]¶
param name: str [Required]¶
param type: str [Required]¶
model Config[source]¶

Bases: object

Configuration for this pydantic object.

arbitrary_types_allowed = True¶
frozen = True¶

Examples using AttributeInfo¶