Reasoning and Acting Workflow for Automated Data Analysis
AutoFlow - Automated R Analysis Workflow with LLM
Extract Bash/Shell code from a string
Extract chat history from ellmer chat object
Generic function to extract code of any specified language
Extract Examples from a Package Function
Extract JavaScript code from a string
Extract and parse JSONs from a string (LLM response)
Extract Python code from a string
Extract R code from a string
Extract SQL code from a string
Generate Function Extraction Prompt for LLM Analysis
Create JSON Schema for Package Function Validation
Build prompt from chat history
Simplified interface - Enhanced react_r
ReAct (Reasoning and Acting) using R code execution - Optimized Versio...
Get JSON response from LLM with validation and retry
Response to R code generation and execution with session continuity
Retrieve and Format R Function Documentation for LLM Consumption
Save extracted code to file
Provides a framework for integrating Large Language Models (LLMs) with R programming through workflow automation. Built on the ReAct (Reasoning and Acting) architecture, enables bi-directional communication between LLMs and R environments. Features include automated code generation and execution, intelligent error handling with retry mechanisms, persistent session management, structured JSON output validation, and context-aware conversation management.