IndexableBaseModel#

class langchain_community.adapters.openai.IndexableBaseModel[source]#

Bases: BaseModel

Allows a BaseModel to return its fields by string variable indexing.

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.