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.zip(r-4.5)mergen_0.2.1.zip(r-4.4)mergen_0.2.1.zip(r-4.3)
mergen_0.2.1.tgz(r-4.4-any)mergen_0.2.1.tgz(r-4.3-any)
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
# Install 'mergen' in R: |
install.packages('mergen', repos = c('https://bimsbbioinfo.r-universe.dev', 'https://cloud.r-project.org')) |
Bug tracker:https://github.com/bimsbbioinfo/mergen/issues
Last updated 2 months agofrom:f95b2361a8. Checks:OK: 7. Indexed: yes.
Target | Result | Date |
---|---|---|
Doc / Vignettes | OK | Nov 10 2024 |
R-4.5-win | OK | Nov 10 2024 |
R-4.5-linux | OK | Nov 10 2024 |
R-4.4-win | OK | Nov 10 2024 |
R-4.4-mac | OK | Nov 10 2024 |
R-4.3-win | OK | Nov 10 2024 |
R-4.3-mac | OK | Nov 10 2024 |
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 |