Currently promptolution only allows to perform prompt tuning with plain LLMs (hosted locally or via an API). More complex application architectures using a RAG system or building an agentic workflow might profit from a more generic interface for LLMs.
It would be great to support passing e.g. langchain StateGraph in a future release of promptolution.