LLM

llm_classify() llm_vec_classify()

      Categorize data as one of options given

llm_custom() llm_vec_custom()

      Send a custom prompt to the LLM

llm_extract() llm_vec_extract()

      Extract entities from text

llm_sentiment() llm_vec_sentiment()

      Sentiment analysis

llm_summarize() llm_vec_summarize()

      Summarize text

llm_translate() llm_vec_translate()

      Translates text to a specific language

llm_verify() llm_vec_verify()

      Verify if a statement about the text is true or not

llm_use()

      Specify the model to use

Data

reviews

      Mini reviews data set

MallFrame

      Extension to Polars that add ability to use an LLM to run batch predictions over a data frame

Name Description
classify Classify text into specific categories.
custom Provide the full prompt that the LLM will process.
extract Pull a specific label from the text.
sentiment Use an LLM to run a sentiment analysis
summarize Summarize the text down to a specific number of words.
translate Translate text into another language.
use Define the model, backend, and other options to use to
verify Check to see if something is true about the text.