Package index
Setup & Configuration
Configure your Azure AI Foundry credentials and verify your setup. These functions manage authentication for all API calls.
-
foundry_check_setup() - Check foundryR Setup
-
foundry_set_key() - Set Azure AI Foundry API Key
-
foundry_set_endpoint() - Set Azure AI Foundry Endpoint
-
foundry_get_endpoint() - Get Azure AI Foundry Endpoint
Chat Completions
Interact with large language models like GPT-4, Claude, Llama, and more. Send messages and receive AI-generated responses as tidy tibbles.
-
foundry_chat() - Chat with an Azure AI Model
Text Embeddings
Generate vector embeddings for semantic search, clustering, and machine learning. Includes batch processing and similarity computation.
-
foundry_embed() - Generate Text Embeddings
-
foundry_embed_batch() - Generate Text Embeddings in Parallel Batches
-
foundry_similarity() - Compute Cosine Similarity Between Embeddings
tidymodels Integration
Seamlessly integrate text embeddings into your tidymodels workflows using recipe steps.
-
step_foundry_embed()tidy(<step_foundry_embed>) - Foundry Embedding Recipe Step
-
bake(<step_foundry_embed>) - Apply the Foundry embedding step to new data
-
prep(<step_foundry_embed>) - Prepare the Foundry embedding step
-
print(<step_foundry_embed>) - Print method for step_foundry_embed
-
required_pkgs(<step_foundry_embed>) - Required packages for step_foundry_embed
Content Safety
Azure AI Content Safety features for responsible AI deployment. Moderate content, detect hallucinations, and protect against prompt injection.
-
foundry_moderate() - Moderate Text Content
-
foundry_groundedness() - Detect Groundedness of LLM Responses
-
foundry_shield() - Shield Prompt from Injection Attacks
-
foundry_set_content_safety_key() - Set Azure Content Safety API Key
-
foundry_set_content_safety_endpoint() - Set Azure Content Safety Endpoint
Image Generation
Create images with DALL-E models. Generate, customize, and save AI-generated artwork and visualizations.
-
foundry_image() - Generate Images with DALL-E
-
foundry_save_image() - Save Generated Image to File
-
foundry_set_image_endpoint() - Set Image Generation Endpoint
-
foundry_set_image_key() - Set Image Generation API Key
-
foundry_models() - List Available Models/Deployments