Package index
-
btw()
- Plain-text descriptions of R objects
-
btw_this()
- Describe something for use by an LLM
-
btw_register_tools()
- Tools: Register tools from btw
-
btw_this()
- Describe something for use by an LLM
-
btw_this(<character>)
- Describe objects
-
btw_this(<environment>)
- Describe the contents of an environment
-
btw_this(<data.frame>)
btw_this(<tbl>)
- Describe a data frame in plain text
Tools
Register all of these tools with an ellmer chat using btw_register_tools(chat)
. These tools generally all have counterparts available via btw()
and btw_this()
for interactive use. The long and awkward function names are for LLMs and to avoid name clashes with other tools.
-
btw_tool_describe_data_frame()
- Tool: Describe data frame
-
btw_tool_describe_environment()
- Tool: Describe an environment
-
btw_tool_get_installed_packages()
- Tool: Describe installed packages
-
btw_tool_list_files()
- Tool: List files
-
btw_tool_get_package_help_topics()
btw_tool_get_help_page()
btw_tool_get_available_vignettes_in_package()
btw_tool_get_vignette_from_package()
- Tool: Describe R package documentation
-
btw_tool_read_current_editor()
- Tool: Read current file
-
btw_tool_read_text_file()
- Tool: Read a file