SingleStoreLoader
allows you to load documents directly from a SingleStore database table. It is part of the langchain-singlestore
integration package.
Class | Package | JS Support |
---|---|---|
SingleStoreLoader | langchain_singlestore | ❌ |
SingleStoreLoader
, you need to install the langchain-singlestore
package. Follow the installation instructions below.
SingleStoreLoader
, you need to provide connection parameters for the SingleStore database and specify the table and fields to load documents from.
str
): Hostname, IP address, or URL for the database.str
): Name of the table to query. Defaults to embeddings
.str
): Field containing document content. Defaults to content
.str
): Field containing document metadata. Defaults to metadata
.str
): Field containing document IDs. Defaults to id
.int
): Number of active connections in the pool. Defaults to 5
.int
): Maximum connections beyond pool_size
. Defaults to 10
.float
): Connection timeout in seconds. Defaults to 30
.bool
): Enables pure Python mode.bool
): Allows local file uploads.str
): Character set for string values.str
): Paths to SSL files.bool
): Disables SSL.bool
): Verifies server’s certificate.bool
): Verifies server’s identity.bool
): Enables autocommits.str
): Structure of query results (e.g., tuples
, dicts
).