KineticaUtil#
- class langchain_community.chat_models.kinetica.KineticaUtil[source]#
Kinetica utility functions.
Methods
__init__
()create_kdbc
([url,Β user,Β passwd])Create a connectica connection object and verify connectivity.
- __init__()#
- 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