snowflake.cortex.EmbedText768¶
- snowflake.cortex.EmbedText768(model: Union[str, Column], text: Union[str, Column], session: Optional[Session] = None) Union[List[float], Column] ¶
TextEmbed calls into the LLM inference service to embed the text.
- Parameters:
model – A Column of strings representing the model to use for embedding. The value of the strings must be within the SUPPORTED_MODELS list.
text – A Column of strings representing input text.
session – The snowpark session to use. Will be inferred by context if not specified.
- Returns:
A column of vectors containing embeddings.