tidyllm0.3.5 package

Tidy Integration of Large Language Models

azure_openai_chat

Send LLM Messages to an Azure OpenAI Chat Completions endpoint

azure_openai_embedding

Generate Embeddings Using OpenAI API on Azure

azure_openai

Azure OpenAI Endpoint Provider Function

cancel_openai_batch

Cancel an In-Progress OpenAI Batch

chat

Chat with a Language Model

chatgpt

Alias for the OpenAI Provider Function

check_azure_openai_batch

Check Batch Processing Status for Azure OpenAI Batch API

check_batch

Check Batch Processing Status

check_claude_batch

Check Batch Processing Status for Claude API

check_groq_batch

Check Batch Processing Status for Groq API

check_mistral_batch

Check Batch Processing Status for Mistral Batch API

check_openai_batch

Check Batch Processing Status for OpenAI Batch API

claude_chat

Interact with Claude AI models via the Anthropic API

claude_list_models

List Available Models from the Anthropic Claude API

claude

Provider Function for Claude models on the Anthropic API

deepseek_chat

Send LLM Messages to the DeepSeek Chat API

deepseek

Deepseek Provider Function

df_llm_message

Convert a Data Frame to an LLMMessage Object

embed

Generate text embeddings

fetch_azure_openai_batch

Fetch Results for an Azure OpenAI Batch

fetch_batch

Fetch Results from a Batch API

fetch_claude_batch

Fetch Results for a Claude Batch

fetch_groq_batch

Fetch Results for a Groq Batch

fetch_mistral_batch

Fetch Results for an Mistral Batch

fetch_openai_batch

Fetch Results for an OpenAI Batch

field_chr

Define Field Descriptors for JSON Schema

field_object

Define a nested object field

gemini_chat

Send LLMMessage to Gemini API

gemini_delete_file

Delete a File from Gemini API

gemini_embedding

Generate Embeddings Using the Google Gemini API

gemini_file_metadata

Retrieve Metadata for a File from Gemini API

gemini_list_files

List Files in Gemini API

gemini_upload_file

Upload a File to Gemini API

gemini

Google Gemini Provider Function

get_logprobs

Retrieve Log Probabilities from Assistant Replies

get_metadata

Retrieve Metadata from Assistant Replies

get_reply_data

Retrieve Assistant Reply as Structured Data

get_reply

Retrieve Assistant Reply as Text

get_user_message

Retrieve a User Message by Index

groq_chat

Send LLM Messages to the Groq Chat API

groq_list_models

List Available Models from the Groq API

groq_transcribe

Transcribe an Audio File Using Groq transcription API

groq

Groq API Provider Function

img

Create an Image Object

list_azure_openai_batches

List Azure OpenAI Batch Requests

list_batches

List all Batch Requests on a Batch API

list_claude_batches

List Claude Batch Requests

list_groq_batches

List Groq Batch Requests

list_mistral_batches

List Mistral Batch Requests

list_models

List Available Models for a Provider

list_openai_batches

List OpenAI Batch Requests

llm_message

Create or Update Large Language Model Message Object

LLMMessage

Large Language Model Message Class

mistral_chat

Send LLMMessage to Mistral API

mistral_embedding

Generate Embeddings Using Mistral API

mistral_list_models

List Available Models from the Mistral API

mistral

Mistral Provider Function

ollama_chat

Interact with local AI models via the Ollama API

ollama_delete_model

Delete a model from the Ollama API

ollama_download_model

Download a model from the Ollama API

ollama_embedding

Generate Embeddings Using Ollama API

ollama_list_models

Retrieve and return model information from the Ollama API

ollama

Ollama API Provider Function

openai_chat

Send LLM Messages to the OpenAI Chat Completions API

openai_embedding

Generate Embeddings Using OpenAI API

openai_list_models

List Available Models from the OpenAI API

openai

OpenAI Provider Function

pdf_page_batch

Batch Process PDF into LLM Messages

perplexity_chat

Send LLM Messages to the Perplexity Chat API

perplexity

Perplexity Provider Function

rate_limit_info

Get the current rate limit information for all or a specific API

send_azure_openai_batch

Send a Batch of Messages to Azure OpenAI Batch API

send_batch

Send a batch of messages to a batch API

send_claude_batch

Send a Batch of Messages to Claude API

send_groq_batch

Send a Batch of Messages to the Groq API

send_mistral_batch

Send a Batch of Requests to the Mistral API

send_ollama_batch

Send a Batch of Messages to Ollama API

send_openai_batch

Send a Batch of Messages to OpenAI Batch API

tidyllm_schema

Create a JSON Schema for Structured Outputs

tidyllm_tool

Create a Tool Definition for tidyllm

tidyllm-package

tidyllm: Tidy Integration of Large Language Models

voyage_embedding

Generate Embeddings Using Voyage AI API

voyage

Voyage Provider Function

A tidy interface for integrating large language model (LLM) APIs such as 'Claude', 'Openai', 'Gemini','Mistral' and local models via 'Ollama' into R workflows. The package supports text and media-based interactions, interactive message history, batch request APIs, and a tidy, pipeline-oriented interface for streamlined integration into data workflows. Web services are available at <https://www.anthropic.com>, <https://openai.com>, <https://aistudio.google.com/>, <https://mistral.ai/> and <https://ollama.com>.

  • Maintainer: Eduard BrĂ¼ll
  • License: MIT + file LICENSE
  • Last published: 2025-08-22