kumoai.connector.LLMSourceTableFuture#

class kumoai.connector.LLMSourceTableFuture[source]#

Bases: SourceTableFuture

A representation of an on-going SourceTable generation process for LLM. This class inherits from the SourceTableFuture with some functions specific to LLM job.

__init__(job_id, table_name, output_dir)[source]#
static __new__(cls, *args, **kwds)#
done()#

Returns True if this future has been resolved with result(), or False if this future is still in-progress. Note that this method will return True if the future is complete, but in a failed state, and that this method will return False if the job is complete, but the future has not been awaited.

Return type:

bool

future()#

Returns the concurrent.futures.Future object wrapped by this future. It is not recommended to access this object directly.

result()#

Returns the resolved state of the future.

Raises:

Exception – If the future is complete but in a failed state due to an exception being raised, this method will raise the same exception.

Return type:

SourceTable

cancel()[source]#

Cancel the LLM job.

Return type:

JobStatus