Declarative Self Improving Elixir - DSPy Orchestration in Elixir
HEALTH ? 74 / Stable
Declarative Self Improving Elixir - DSPy Orchestration in Elixir
// readme
Declarative LLM programming with full access to Stanford NLPβs DSPy framework
DSPex brings DSPy β Stanford NLPβs framework for programming language models β to Elixir. It ships with SnakeBridge-generated Dspy.* bindings that mirror DSPyβs package layout (great for HexDocs + IDE navigation), plus a minimal DSPex convenience layer over SnakeBridgeβs Universal FFI. Use the generated modules for the full API surface or the thin FFI wrapper for direct calls.
DSPex 0.14.0 pins and generates bindings for DSPy 3.5.0.
Why DSPex?
Dspy.* modules + a minimal DSPex FFI wrapper{:ok, result} / {:error, reason} everywherePrerequisites (one-time):