langchain_community.chat_models.kinetica
.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: Optional[str] = None, user: Optional[str] = None, passwd: Optional[str] = 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 (Optional[str]) – The Kinetica URL or
KINETICA_URL
if None.user (Optional[str]) – The Kinetica user or
KINETICA_USER
if None.passwd (Optional[str]) – The Kinetica password or
KINETICA_PASSWD
if None.
- Returns
The Kinetica connection object.
- Return type
gpudb.GPUdb