# Chat-Based Interactive Artificial Intelligence for R

## Documentation for package ‘chatAI4R’ version 1.3.1

- DESCRIPTION file.

## Help Pages

addCommentCode | Add Comments to R Code
addRoxygenDescription | Add Roxygen Description to R Function
autocreateFunction4R | autocreateFunction4R (development / experimental)
chat4R | Chat4R: Interact with gpt-4o-mini (default) using OpenAI API
chat4Rv2 | chat4Rv2: Interact with gpt-4o-mini (default) using OpenAI API
chat4R_history | chat4R_history: Use chat history for interacting with GPT.
chat4R_streaming | chat4R_streaming: Interact with GPT-4o (default) with streaming using OpenAI API and set system context
checkErrorDet | Check Error Details
checkErrorDet_JP | Check Error Details in Japanese
completions4R | completions4R: Generate text using OpenAI completions API (Legacy - DEPRECATED)
conversation4R | Conversation Interface for R
convertBullet2Sentence | convertBullet2Sentence
convertRscript2Function | convertRscript2Function
convertScientificLiterature | convertScientificLiterature
createEBAYdes | Create eBay Product Description
createImagePrompt_v1 | Create Image Prompt version 1
createImagePrompt_v2 | Generate Image Prompts version 2
createRcode | Create R Code from Clipboard Content and Output into the R Console
createRfunction | Create R Function from Selected Text or Clipboard Content and Output into the R Console
createSpecifications4R | Create Specifications for R Function
designPackage | designPackage
DifyChat4R | DifyChat4R Function (Completion Messages Only)
discussion_flow_v1 | discussion_flow_v1: Interactions and Flow Control Between LLM-based Bots (LLBs)
discussion_flow_v2 | discussion_flow_v2: Interactions and Flow Control Between LLM-based Bots (LLBs)
enrichTextContent | Enrich Text Content v2
extractKeywords | extractKeywords
gemini4R | Gemini API Request (v1beta, 2025-07)
geminiGrounding4R | Gemini API Google Search Grounding Request (v1/v1beta, 2025-07)
interpretResult | Interpret Analysis Results
ionet_models | ionet_models: Retrieve the available model list from io.net API
list_ionet_models | list_ionet_models: Display available LLM models on io.net API
multiLLMviaionet | multiLLMviaionet: Execute ALL available LLM models simultaneously via io.net API
ngsub | ngsub
OptimizeRcode | Optimize and Complete R Code
print.multiLLM_result | Print method for multiLLM_result
print_multiLLM_results | Pretty-print multiLLMviaionet results
proofreadEnglishText | Proofread English Text
proofreadText | proofreadText
RcodeImprovements | Suggest Improvements to the R Code on Your Clipboard
refresh_ionet_models | refresh_ionet_models: Manually refresh the cached model list from io.net API
removeQuotations | Remove All Types of Quotations from Text
replicatellmAPI4R | replicatellmAPI4R: Interact with Replicate API for LLM models in R
revisedText | Revised Scientific Text
searchFunction | Search R Functions based on Text
slow_print_v2 | Slowly Print Text
speakInEN | Speak Selected Text in English
speakInJA | Speak Selected Text in Japanese
speakInJA_v2 | Speak Clipboard in Japanese
supportIdeaGeneration | supportIdeaGeneration: Support Idea Generation from Selected Text or Clipboard.
textEmbedding | Text Embedding from OpenAI Embeddings API
textFileInput4ai | Send Text File Content to OpenAI API and Retrieve Response
TextSummary | Summarize Long Text
TextSummaryAsBullet | Summarize Text into Bullet Points
vision4R | Vision API Function using OpenAI's Vision API