snowflake.ml.cortex

Classes

Complete(model, prompt[, session])

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.

语言: 中文