tidyprompt
Prompt Large Language Models and Enhance Their Functionality
An R prompting framework hands its provider plumbing to ellmer and inherits MCP tools
◆Recent moves
- 3mo ago
Dataframe and numeric answer wraps, deeper ellmer sync
Continues both lines at once: answer_as_dataframe() with row schemas and answer_as_numeric() with range validation extend the wrap catalogue, while send_prompt() accepting an ellmer chat object removes another step between the two packages. Chat history now keeps non-replayable native rows for inspection without resending them to the provider.
View source ↗ - 8mo ago
Category wraps, soft breaks, and a first ellmer provider
Despite the low version number this is an incremental release, and it is where llm_provider_ellmer() first appears — experimental, one provider among Ollama, OpenAI and Gemini. Read it against the stamps carefully: this tag was published after 0.2.0 and 0.3.0, not before them.
View source ↗ - 8mo ago
Provider-level wraps, native ellmer output, and MCP server tools
⚡ SPARKThe release where ellmer stops being one provider among several and becomes the substrate. It also introduces provider_prompt_wrap(), which attaches behaviour to a provider rather than to a prompt — the first new composition axis since prompt wraps themselves.
View source ↗ - 8mo ago
Streaming callbacks and an image prompt wrap
A stream_callback hook lets streamed tokens be intercepted as they arrive — the new vignette wires it into a Shiny app — and add_image() attaches images to prompts for multimodal models. Both extend what a prompt can carry rather than changing how providers are reached.
View source ↗