snowflake.cortex.embed_text_1024¶
- snowflake.cortex.embed_text_1024(model: str | Column, text: str | Column, session: Session | None = None) list[float] | Column¶
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.