Function reference
-
sai_assist()
- SAI the general assistant
-
sai_yes_no()
- Answer with yes or no
-
sai_fct_sweep()
sai_lvl_sweep()
- Sweep factor levels to group similar levels together
-
sai_lvl_match()
sai_fct_match()
- Match the input factor to supplied levels
-
sai_lvl_order()
sai_fct_reorder()
- Reorder levels of an ordinal factor
-
sai_translate()
- Translate text from one language to another
-
sai_is_language()
- Determine if the input is a particular language
-
sai_what_language()
- Determine the language of the input text
-
sai_describe_image()
- Describe the input image
-
sai_get_option()
sai_set_option()
sai_set_model()
sai_set_model_args()
sai_set_language()
- Get or set an option for the
sai
package
-
mistral_model_list()
- Get the list of Mistral AI models
-
ollama_model_list()
- Get the list of ollama models available locally
-
openai_model_list()
- Get the list of OpenAI models
-
as_prompt()
- Make it into prompt
-
is_prompt()
is_prompt_user()
is_prompt_system()
is_prompt_assistant()
- Is this a prompt?
-
prompt_user()
prompt_assistant()
prompt_system()
- Prompt input for the LLM
-
model_mistral()
- Set a model from Mistral AI
-
model_ollama()
- Set the Ollama model
-
model_openai()
- Set an OpenAI model
-
model_vendor()
- Create a list of model and vendor
-
airbnb_listings
airbnb_reviews
- Airbnb listings and reviews
-
alcohol
- Alcohol warehouse and retail sales
-
consumer
- Amazon consumer reviews
-
hotel
- Hotel reviews
-
likerts
- A collection of different likert scales
-
messy
- A collection of messy inputs
-
recipes
- Recipes
-
restaurant
- Review of Iori restaurant
-
salary
- Ask A Manager Salary Survey 2021