Maxime Rivest's Avatar

Maxime Rivest

@maximerivest.bsky.social

Author of libraries and teacher of all things data @ dynamic data script

12 Followers  |  47 Following  |  1 Posts  |  Joined: 23.11.2024  |  1.4736

Latest posts by maximerivest.bsky.social on Bluesky

dsprrr
Programming—not prompting—LLMs in R
dsprrr brings the power of DSPy to R. Instead of wrestling with prompt strings, declare what you want, compose modules into pipelines, and let optimization find the best prompts automatically.

# Install
pak::pak("JamesHWade/dsprrr")

# That's it. Start using LLMs.
library(dsprrr)
dsp("question -> answer", question = "What is the capital of France?")
#> "Paris"
Getting Started: Configure Your LLM
OpenAI
Anthropic
Gemini
Ollama
Auto-detect

dsprrr Programming—not prompting—LLMs in R dsprrr brings the power of DSPy to R. Instead of wrestling with prompt strings, declare what you want, compose modules into pipelines, and let optimization find the best prompts automatically. # Install pak::pak("JamesHWade/dsprrr") # That's it. Start using LLMs. library(dsprrr) dsp("question -> answer", question = "What is the capital of France?") #> "Paris" Getting Started: Configure Your LLM OpenAI Anthropic Gemini Ollama Auto-detect

My holiday project was building dsprrr, a package for declarative LLM programming in R, inspired by DSPy. The core idea is to treat LLM workflows as programs you can systematically optimize, not prompt strings you tweak by hand.

07.01.2026 21:05 — 👍 4    🔁 1    💬 1    📌 0

I like Claude 3.5 Sonnet

23.11.2024 01:27 — 👍 0    🔁 0    💬 0    📌 0

@maximerivest is following 19 prominent accounts