You are viewing documentation about an older version (1.6.1). View latest version

snowflake.ml.cortex

Classes

CompleteOptions(*args, **kwargs)

Options configuring a snowflake.cortex.Complete call.

Functions

Complete(model, prompt, *[, options, ...])

Complete calls into the LLM inference service to perform completion.

ExtractAnswer(from_text, question[, session])

ExtractAnswer calls into the LLM inference service to extract an answer from within specified text.

Sentiment(text[, session])

Sentiment calls into the LLM inference service to perform sentiment analysis on the input text.

Summarize(text[, session])

Summarize calls into the LLM inference service to summarize the input text.

Translate(text, from_language, to_language)

Translate calls into the LLM inference service to perform translation.