steampipe plugin install mr-destructive/cohereai

Table: cohereai_embed

Get Embeddings for given input strings(list of strings).

Notes:

  • A texts is a list of strings to detect the language.

Examples

Basic example with default settings

select
embeddings
from
cohereai_embed
where
texts = '["hello", "world"]';

Schema for cohereai_embed

NameTypeOperatorsDescription
_ctxjsonbSteampipe context in JSON form, e.g. connection_name.
embeddingsjsonbEmbeddings for the given texts.
settingsjsonb=Settings is a JSONB object that accepts any of the embed API request parameters.
texttextThe texts to embed, encoded as a JSON array.
textstext=The texts to embed, encoded as a JSON array.