Package: files2prompt 0.1.0
files2prompt: RStudio addin to create prompt from code or text files in a project directory
Can be customized using TOML based specifications.
Authors:
files2prompt_0.1.0.tar.gz
files2prompt_0.1.0.zip(r-4.7)files2prompt_0.1.0.zip(r-4.6)files2prompt_0.1.0.zip(r-4.5)
files2prompt_0.1.0.tgz(r-4.6-any)files2prompt_0.1.0.tgz(r-4.5-any)
files2prompt_0.1.0.tar.gz(r-4.7-any)files2prompt_0.1.0.tar.gz(r-4.6-any)
files2prompt_0.1.0.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
card.svg |card.png
files2prompt/json (API)
| # Install 'files2prompt' in R: |
| install.packages('files2prompt', repos = c('https://skranz.r-universe.dev', 'https://cloud.r-project.org')) |
Bug tracker:https://github.com/skranz/files2prompt/issues
Last updated from:9d341af6f6 (on main). Checks:7 ERROR, 2 OK. Indexed: yes.
| Target | Result | Time | Files | Syslog |
|---|---|---|---|---|
| linux-devel-x86_64 | ERROR | 106 | ||
| source / vignettes | OK | 184 | ||
| linux-release-x86_64 | ERROR | 114 | ||
| macos-release-arm64 | ERROR | 94 | ||
| macos-oldrel-arm64 | ERROR | 75 | ||
| windows-devel | ERROR | 98 | ||
| windows-release | ERROR | 88 | ||
| windows-oldrel | ERROR | 72 | ||
| wasm-release | OK | 104 |
Exports:addin_find_config_tomlapply_modification_via_apiapply_restoration_via_apicreate_undo_stateescape_regexexampleextract_function_sourcef2p_all_fun_locsf2p_last_prompt_indexf2p_normalize_ai_responsef2p_resp_extract_filesf2p_resp_file_markersfile_pattern_to_regexfiles2promptfind_ai_response_filefind_line_sequencefind_project_filefp_data_extensionsfp_default_file_templatefp_default_templatefp_default_tree_templatefp_filetextfp_find_group_filesfp_generate_treefp_load_snippetsfp_parse_configfp_render_data_filefp_to_text_glimpsefp_to_text_headfp_to_text_strgenerate_prompt_addinget_insertion_linegroup_root_dirguess_token_numis_absolute_pathlocate_scope_filelocate_scope_functionlocate_scope_linesmod_locate_targetmod_meta_add_infomod_to_html_descrmod2_capture_explainermod2_detectmod2_extract_block_markersmod2_find_block_across_filesmod2_find_block_in_filemod2_fuzzy_match_in_filemod2_guess_file_from_prosemod2_is_data_filemod2_locate_fencesmod2_make_descriptionmod2_parse_responsemod2_rel_from_absmodify_rstudio_docnavigate_to_modification_targetparse_ai_responseprepare_undo_statereview_modifications_addintpl_replace_whiskertpl_var_patterntpl_vars
Dependencies:base64encbslibcachemclicommonmarkdigestfastmapfontawesomefsgluehtmltoolshttpuvjquerylibjsonlitelaterlifecyclemagrittrmemoisemimeminiUIotelpromisesR6rappdirsRcppRcppTOMLrestorepointrlangrstudioapisassshinysourcetoolsstringiwithrxtable
Readme and manuals
Help Manual
| Help page | Topics |
|---|---|
| Build a prompt from text files | files2prompt |
| Parse a TOML confifugration file | fp_parse_config |
| Heuristic token counter | guess_token_num |
| Hello, World! | hello |
| Replaces whiskers in a template string | tpl_replace_whisker |
