
Tablestore
Always uses cosine distance as the distance metric
Tablestore
Always uses cosine distance as the distance metric
Tablestore Embedding Store
Always uses cosine distance as the distance metric
yaml
type: "io.kestra.plugin.ai.embeddings.Tablestore"Examples
Ingest documents into a Tablestore embedding store
yaml
id: document_ingestion
namespace: company.ai
tasks:
- id: ingest
type: io.kestra.plugin.ai.rag.IngestDocument
provider:
type: io.kestra.plugin.ai.provider.GoogleGemini
modelName: gemini-embedding-exp-03-07
apiKey: "{{ kv('GEMINI_API_KEY') }}"
embeddings:
type: io.kestra.plugin.ai.embeddings.Tablestore
endpoint: "{{ kv('TABLESTORE_ENDPOINT') }}"
instanceName: "{{ kv('TABLESTORE_INSTANCE_NAME') }}"
accessKeyId: "{{ kv('TABLESTORE_ACCESS_KEY_ID') }}"
accessKeySecret: "{{ kv('TABLESTORE_ACCESS_KEY_SECRET') }}"
fromExternalURLs:
- https://raw.githubusercontent.com/kestra-io/docs/refs/heads/main/content/blogs/release-0-24.md
Properties
accessKeyId*Requiredstring
Access Key ID
The access key ID used for authentication with the database.
accessKeySecret*Requiredstring
Access Key Secret
The access key secret used for authentication with the database.
endpoint*Requiredstring
Endpoint URL
The base URL for the Tablestore database endpoint.
instanceName*Requiredstring
Instance Name
The name of the Tablestore database instance.
metadataSchemaListarray
Metadata Schema List
Optional list of metadata field schemas for the collection.
Definitions
com.alicloud.openservices.tablestore.model.search.FieldSchema
analyzerstring
Possible Values
SingleWordMaxWordMinWordSplitFuzzyanalyzerParameter
com.alicloud.openservices.tablestore.model.search.analysis.AnalyzerParameter
dateFormatsarray
SubTypestring
enableHighlightingboolean
enableSortAndAggboolean
fieldNamestring
fieldTypestring
Possible Values
LONGDOUBLEBOOLEANKEYWORDTEXTNESTEDGEO_POINTDATEVECTORFUZZY_KEYWORDIPJSONUNKNOWNindexboolean
indexOptionsstring
Possible Values
DOCSFREQSPOSITIONSOFFSETSisArrayboolean
jsonTypestring
Possible Values
FLATTENNESTEDsourceFieldNamesarray
SubTypestring
storeboolean
subFieldSchemasarray
vectorOptions
com.alicloud.openservices.tablestore.model.search.vector.VectorOptions
dataTypestring
dimensioninteger
metricTypestring
Possible Values
EUCLIDEANCOSINEDOT_PRODUCT