abacusai.llm_execution_preview — AbacusAI documentation

# `abacusai.llm_execution_preview`

## Module Contents

### Classes

`LlmExecutionPreview` | Preview of executing queries using LLM.

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.

  __repr__()

    Return repr(self).

  to_dict()

    Get a dict representation of the parameters in this class

    Returns:

      The dict value representation of the class parameters

    Return type:

      dict