Skip to content

Release v0.9.0

Compare
Choose a tag to compare
@drazvan drazvan released this 10 May 07:51
· 541 commits to develop since this release
b3c6bb8

This release introduces Colang 2.0, the next version of Colang, and a revamped NeMo Guardrails Documentation.

Colang 2.0 brings a more solid foundation for building complex guardrail configurations (with better parallelism support), advanced RAG orchestration (e.g., with multi-query, contextual relevance check), agents (e.g., driving business process logic), and multi-modal LLM-driven interaction (e.g., interactive avatars). Colang 2.0 is a complete overhaul of the Colang language and runtime, and key enhancements include:

  • A more powerful flow engine supporting multiple parallel flows and advanced pattern matching over the stream of events.
  • Adoption of terminology and syntax akin to Python to reduce the learning curve for new developers.
  • A standard library and an import mechanism to streamline development.
  • Explicit entry point through the main flow and explicit activation of flows.
  • Smaller set of core abstractions: flows, events, and actions.
  • The new generation operator (...).
  • Asynchronous action execution.

NOTE: The version of Colang included in v0.8.* is referred to as Colang 2.0-alpha. In v0.9.0, Colang 2.0 moved to Beta, which we refer to as Colang 2.0-beta. We expect Colang 2.0 to go out of Beta and replace Colang 1.0 as the default option in NeMo Guardrails v0.11.0.

Current limitations include not being able to use the Guardrails Library from within Colang 2.0 and no support for generation options (e.g., logs, activated rails). These limitations will be addressed in v0.10.0 and v0.11.0, along with additional features and example guardrail configurations.

To get started with Colang 2.0, if you’ve used Colang 1.0 before, you should check out What’s Changed page. If not, you can get started with the Hello World example.

Full Changelog: v0.8.3...v0.9.0