Imp是DSPy框架向BEAM虚拟机的完整移植,为Elixir开发者提供声明式、自优化的语言模型程序开发工具1。项目首个版本Imp 0.5已在Hex上发布,标志着这一实验性框架正式向生态开放1。
该框架在功能设计上涵盖签名、模块、优化器、代理循环和检索等核心能力1。优化器方面支持GEPA、LabeledFewShot、BootstrapFewShot、MIPROv2和SIMBA等多种算法1。在模型接入上,Imp通过ReqLLM支持该工具兼容的任何模型提供商1,并集成对Model Context Protocol(MCP)和ACP的支持1。框架充分发挥了OTP生态的可靠性和并发特性,使开发者能够通过测量和优化程序的各个部分来逐步改进性能1。
Imp 0.5需要Elixir 1.19或更高版本,以及C和C++编译器1,采用MIT许可证发布1。
Imp, a complete port of the DSPy framework to the BEAM virtual machine, has been released as version 0.5 on Hex, bringing declarative and self-optimizing language model programming tools to Elixir 1. The framework integrates with OTP's reliability and concurrency features, enabling developers to measure and optimize each component of their programs 1.
Version 0.5 is an experimental release that requires Elixir 1.19 or higher, along with C and C++ compilers 1. The release supports any model provider backed by ReqLLM and includes multiple optimization options such as GEPA, LabeledFewShot, BootstrapFewShot, MIPROv2, and SIMBA 1. Additionally, Imp provides integration with MCP (Model Context Protocol) and ACP, offering developers flexibility in model context management 1. The project is distributed under the MIT license and includes features for signatures, modules, optimizers, agent loops, and retrieval capabilities 1.
评论
还没有评论,欢迎留下第一条。