KineticaUtil#

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

Kinetica utility functions.

Methods

create_kdbc([url,Β user,Β passwd])

Create a connectica connection object and verify connectivity.

classmethod create_kdbc(url: str | None = None, user: str | None = None, passwd: str | None = None) β†’ gpudb.GPUdb[source]#

Create a connectica connection object and verify connectivity.

If None is passed for one or more of the parameters then an attempt will be made to retrieve the value from the related environment variable.

Parameters:
  • url (str | None) – The Kinetica URL or KINETICA_URL if None.

  • user (str | None) – The Kinetica user or KINETICA_USER if None.

  • passwd (str | None) – The Kinetica password or KINETICA_PASSWD if None.

Returns:

The Kinetica connection object.

Return type:

gpudb.GPUdb