github NVIDIA/NeMo-Guardrails v0.5.0
Release v0.5.0

latest releases: v0.16.0, v0.15.0, v0.14.1...
pre-release2 years ago

This release adds support for custom embedding search providers (not using Annoy/SentenceTransformers) and support for OpenAI embeddings for the default embedding search provider. This release adds an advanced example for using multiple knowledge bases (i.e., a tabular and regular one). This release also fixes an old issue related to using the generate method inside an async environment (e.g., a notebook) and includes multiple small fixes. Detailed change log below.


Added

  • Support for custom configuration data.
  • Example for using custom LLM and multiple KBs
  • Support for PROMPTS_DIR.
  • #101 Support for using OpenAI embeddings models in addition to SentenceTransformers.
  • First set of end-to-end QA tests for the example configurations.
  • Support for configurable embedding search providers

Changed

  • Moved to using nest_asyncio for implementing the blocking API. Fixes #3 and #32.
  • Improved event property validation in new_event_dict.
  • Refactored imports to allow installing from source without Annoy/SentenceTransformers (would need a custom embedding search provider to work).

Fixed

  • Fixed when the init function from config.py is called to allow custom LLM providers to be registered inside.
  • #93: Removed redundant hasattr check in nemoguardrails/llm/params.py.
  • #91: Fixed how default context variables are initialized.

Don't miss a new NeMo-Guardrails release

NewReleases is sending notifications on new releases.