 Tablestore
Tablestore
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.
Definitions
com.alicloud.openservices.tablestore.model.search.FieldSchema
analyzer string
 Possible Values 
SingleWordMaxWordMinWordSplitFuzzyanalyzerParameter AnalyzerParameter
dateFormats array
 SubType string
enableHighlighting boolean
enableSortAndAgg boolean
fieldName string
fieldType string
 Possible Values 
LONGDOUBLEBOOLEANKEYWORDTEXTNESTEDGEO_POINTDATEVECTORFUZZY_KEYWORDIPJSONUNKNOWNindex boolean
indexOptions string
 Possible Values 
DOCSFREQSPOSITIONSOFFSETSisArray boolean
jsonType string
 Possible Values 
FLATTENNESTEDsourceFieldNames array
 SubType string
store boolean
vectorOptions VectorOptions
com.alicloud.openservices.tablestore.model.search.analysis.AnalyzerParameter
com.alicloud.openservices.tablestore.model.search.vector.VectorOptions
dataType string
dimension integer
metricType string
 Possible Values 
EUCLIDEANCOSINEDOT_PRODUCT