Package: mergen 0.2.1
mergen:AI-Driven Code Generation, Explanation and Execution for Data Analysis
Employing artificial intelligence to convert data analysis questions into executable code, explanations, and algorithms. The self-correction feature ensures the generated code is optimized for performance and accuracy. 'mergen' features a user-friendly chat interface, enabling users to interact with the AI agent and extract valuable insights from their data effortlessly.
Authors:
mergen_0.2.1.tar.gz
mergen_0.2.1.tar.gz(r-4.5-noble)mergen_0.2.1.tar.gz(r-4.4-noble)
mergen_0.2.1.tgz(r-4.4-emscripten)mergen_0.2.1.tgz(r-4.3-emscripten)
mergen.pdf |mergen.html✨
mergen/json (API)
NEWS
# Installmergen in R: |
install.packages('mergen',repos = c('https://cran.r-universe.dev', 'https://cloud.r-project.org')) |
Bug tracker:https://github.com/bimsbbioinfo/mergen/issues
Last updated 8 days agofrom:516891211c
Exports:check_installclean_code_blocksexecuteCodeextractCodeextractFilenamesextractInstallPkgfileHeaderPromptpromptContextrunCodeInResponsesampleResponseselfcorrectsendPromptsetupAgent
Dependencies:askpassassertthatbase64encBiocManagerbslibcachemclicurldigestevaluatefastmapfontawesomefsgluehighrhtmltoolshttrjquerylibjsonliteknitrlifecyclemagrittrmemoisemimeopenaiopensslR6rappdirsrlangrmarkdownsasssystinytexxfunyaml
Readme and manuals
Help Manual
Help page | Topics |
---|---|
Check and Install R Package | check_install |
Clean code blocks returned by the agent | clean_code_blocks |
execute code | executeCode |
extract the code and text from the text returned by LLM agent | extractCode |
Extract file names from user prompt | extractFilenames |
extract package names and install them | extractInstallPkg |
Extract file headers from files in prompt | fileHeaderPrompt |
Predefined prompt contexts for prompt engineering | promptContext |
Executes the code in the received response from the agent | runCodeInResponse |
Sample more solutions when non-executable code returned by the agent | sampleResponse |
Self correct the code returned by the agent | selfcorrect |
Send a prompt to a specified language model agent and return the response. | sendPrompt |
set up an online LLM API for subsequent tasks | setupAgent |