abacusai.llm_execution_preview

Classes

LlmExecutionPreview

Preview of executing queries using LLM.

Module Contents

class abacusai.llm_execution_preview.LlmExecutionPreview(client, error=None, sql=None)

Bases: abacusai.return_class.AbstractApiClass

Preview of executing queries using LLM.

Parameters:
  • client (ApiClient) – An authenticated API Client instance

  • error (str) – The error message if the preview failed.

  • sql (str) – Preview of SQL query generated by LLM.

error
sql
deprecated_keys
__repr__()
to_dict()

Get a dict representation of the parameters in this class

Returns:

The dict value representation of the class parameters

Return type:

dict