KineticaSqlResponse#

class langchain_community.chat_models.kinetica.KineticaSqlResponse[source]#

Bases: BaseModel

Response containing SQL and the fetched data.

This object is returned by a chain with KineticaSqlOutputParser and it contains the generated SQL and related Pandas Dataframe fetched from the database.

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 dataframe: Any = None#

The Pandas dataframe containing the fetched data.

param sql: str = None#

The generated SQL.

Examples using KineticaSqlResponse