KineticaSettings#
- class langchain_community.vectorstores.kinetica.KineticaSettings[source]#
Bases:
BaseSettings
Kinetica client configuration.
- Attribute:
- host (str)An URL to connect to MyScale backend.
Defaults to ‘localhost’.
port (int) : URL port to connect with HTTP. Defaults to 8443. username (str) : Username to login. Defaults to None. password (str) : Password to login. Defaults to None. database (str) : Database name to find the table. Defaults to ‘default’. table (str) : Table name to operate on.
Defaults to ‘vector_table’.
- metric (str)Metric to compute distance,
supported are (‘angular’, ‘euclidean’, ‘manhattan’, ‘hamming’, ‘dot’). Defaults to ‘angular’. spotify/annoy
Create a new model by parsing and validating input data from keyword arguments.
Raises ValidationError if the input data cannot be parsed to form a valid model.
- param database: str = 'langchain'#
- param host: str = 'http://127.0.0.1'#
- param metric: str = 'l2'#
- param password: str | None = None#
- param port: int = 9191#
- param table: str = 'langchain_kinetica_embeddings'#
- param username: str | None = None#
Examples using KineticaSettings