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

snowflake.ml.cortexΒΆ

Classes

CompleteOptions

Options configuring a snowflake.cortex.Complete call.

Finetune([session])

Cortex Fine-Tuning API.

FinetuneJob(session, status)

Fine-tuning Job.

FinetuneStatus([id, status, base_model, ...])

Fine-tuning job status.

Functions

ClassifyText(str_input, categories[, session])

Use the LLM inference service to classify the INPUT text into one of the target CATEGORIES.

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

Complete calls into the LLM inference service to perform completion.

EmbedText768(model, text[, session])

TextEmbed calls into the LLM inference service to embed the text.

EmbedText1024(model, text[, session])

TextEmbed calls into the LLM inference service to embed the text.

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.