abacusai.llm_execution_preview
==============================

.. py:module:: abacusai.llm_execution_preview


Classes
-------

.. autoapisummary::

   abacusai.llm_execution_preview.LlmExecutionPreview


Module Contents
---------------

.. py:class:: LlmExecutionPreview(client, error=None, sql=None)

   Bases: :py:obj:`abacusai.return_class.AbstractApiClass`


   Preview of executing queries using LLM.

   :param client: An authenticated API Client instance
   :type client: ApiClient
   :param error: The error message if the preview failed.
   :type error: str
   :param sql: Preview of SQL query generated by LLM.
   :type sql: str


   .. py:attribute:: error


   .. py:attribute:: sql


   .. py:attribute:: deprecated_keys


   .. py:method:: __repr__()


   .. py:method:: to_dict()

      Get a dict representation of the parameters in this class

      :returns: The dict value representation of the class parameters
      :rtype: dict



