Skip to content

Commit 9fe2770

Browse files
authored
Merge pull request #21 from m-misiura/sync-upstream-to-midstream
Sync upstream to midstream
2 parents 67caa69 + 979e1c4 commit 9fe2770

935 files changed

Lines changed: 42465 additions & 12522 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/ISSUE_TEMPLATE/bug_report.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,10 @@ body:
66
- type: markdown
77
attributes:
88
value: |
9-
**Before** reporting an issue, make sure to read the [documentation](https://github.com/NVIDIA/NeMo-Guardrails/tree/develop/docs)
10-
and search [existing issues](https://github.com/NVIDIA/NeMo-Guardrails/issues).
9+
**Before** reporting an issue, make sure to read the [documentation](https://github.com/NVIDIA-NeMo/Guardrails/tree/develop/docs)
10+
and search [existing issues](https://github.com/NVIDIA-NeMo/Guardrails/issues).
1111
12-
Usage questions such as ***"How do I...?"*** belong in [Discussions](https://github.com/NVIDIA/NeMo-Guardrails/discussions) and will be closed.
12+
Usage questions such as ***"How do I...?"*** belong in [Discussions](https://github.com/NVIDIA-NeMo/Guardrails/discussions) and will be closed.
1313
1414
Thanks for taking the time to fill out this bug report!
1515
- type: checkboxes

.github/ISSUE_TEMPLATE/config.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
blank_issues_enabled: false
22
contact_links:
33
- name: Ask a question
4-
url: https://github.com/NVIDIA/NeMo-Guardrails/discussions
4+
url: https://github.com/NVIDIA-NeMo/Guardrails/discussions
55
about: Use Github discussions instead

.github/ISSUE_TEMPLATE/documentation.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,13 +9,13 @@ body:
99
value: |
1010
Thank you for taking the time to file a complete bug report.
1111
12-
Before submitting your issue, please review the [relevant section](https://github.com/NVIDIA/NeMo-Guardrails/tree/develop/CONTRIBUTING.md#suggesting-enhancements-and-new-features) of our documentation.
12+
Before submitting your issue, please review the [relevant section](https://github.com/NVIDIA-NeMo/Guardrails/tree/develop/CONTRIBUTING.md#suggesting-enhancements-and-new-features) of our documentation.
1313
1414
- type: checkboxes
1515
attributes:
1616
label: Please also confirm the following
1717
options:
18-
- label: I have searched the [main issue tracker](https://github.com/NVIDIA/NeMo-Guardrails/issues) of NeMo Guardrails repository and believe that this is not a duplicate
18+
- label: I have searched the [main issue tracker](https://github.com/NVIDIA-NeMo/Guardrails/issues) of NeMo Guardrails repository and believe that this is not a duplicate
1919
required: true
2020
- type: dropdown
2121
attributes:
@@ -36,7 +36,7 @@ body:
3636
label: Existing Link
3737
description: |
3838
If the documentation in question exists, please provide a link to it.
39-
placeholder: "https://github.com/NVIDIA/NeMo-Guardrails/blob/develop/docs/"
39+
placeholder: "https://github.com/NVIDIA-NeMo/Guardrails/blob/develop/docs/"
4040
validations:
4141
required: true
4242

.github/PULL-REQUEST-TEMPLATE.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212

1313
## Checklist
1414

15-
- [ ] I've read the [CONTRIBUTING](https://github.com/NVIDIA/NeMo-Guardrails/blob/develop/CONTRIBUTING.md) guidelines.
15+
- [ ] I've read the [CONTRIBUTING](https://github.com/NVIDIA-NeMo/Guardrails/blob/develop/CONTRIBUTING.md) guidelines.
1616
- [ ] I've updated the documentation if applicable.
1717
- [ ] I've added tests if applicable.
1818
- [ ] @mentions of the person or team responsible for reviewing proposed changes.

.github/workflows/test-and-build-wheel.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,8 @@ jobs:
104104
run: |
105105
pip install --upgrade pip
106106
pip install poetry==1.8.2
107-
pip install ./*.whl
107+
WHEEL=$(ls nemoguardrails-*.whl)
108+
pip install "${WHEEL}[server]"
108109
109110
- name: Start server in the background
110111
run: |

CHANGELOG-Colang.md

Lines changed: 41 additions & 41 deletions
Original file line numberDiff line numberDiff line change
@@ -8,57 +8,57 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
88

99
### Fixed
1010

11-
* Use processed user and bot messages after input/output rails transformations to prevent leakage of unfiltered data ([#1297](https://github.com/NVIDIA/NeMo-Guardrails/pull/1297)) by @lapinek
11+
* Use processed user and bot messages after input/output rails transformations to prevent leakage of unfiltered data ([#1297](https://github.com/NVIDIA-NeMo/Guardrails/pull/1297)) by @lapinek
1212

1313
## [2.0-beta.6] - 2025-01-16
1414

1515
### Added
1616

17-
* Add support for llama-3.2 models ([#877](https://github.com/NVIDIA/NeMo-Guardrails/pull/877)) by @schuellc-nvidia
18-
* Add `it finished` utility flow in core.co library ([#913]<https://github.com/NVIDIA/NeMo-Guardrails/pull/913>) by @schuellc-nvidia
17+
* Add support for llama-3.2 models ([#877](https://github.com/NVIDIA-NeMo/Guardrails/pull/877)) by @schuellc-nvidia
18+
* Add `it finished` utility flow in core.co library ([#913]<https://github.com/NVIDIA-NeMo/Guardrails/pull/913>) by @schuellc-nvidia
1919

2020
## [2.0-beta.5] - 2024-11-19
2121

2222
### Added
2323

24-
* Prompt template name to verbose logging ([#811](https://github.com/NVIDIA/NeMo-Guardrails/pull/811)) by @schuellc-nvidia
25-
* New configuration setting to change UMIM event source id ([#823](https://github.com/NVIDIA/NeMo-Guardrails/pull/823)) by @sklinglernv
26-
* New attention module to standard library ([#829](https://github.com/NVIDIA/NeMo-Guardrails/pull/829)) by @sklinglernv
27-
* Passthrough mode support ([#779](https://github.com/NVIDIA/NeMo-Guardrails/pull/779)) by @Pouyanpi
24+
* Prompt template name to verbose logging ([#811](https://github.com/NVIDIA-NeMo/Guardrails/pull/811)) by @schuellc-nvidia
25+
* New configuration setting to change UMIM event source id ([#823](https://github.com/NVIDIA-NeMo/Guardrails/pull/823)) by @sklinglernv
26+
* New attention module to standard library ([#829](https://github.com/NVIDIA-NeMo/Guardrails/pull/829)) by @sklinglernv
27+
* Passthrough mode support ([#779](https://github.com/NVIDIA-NeMo/Guardrails/pull/779)) by @Pouyanpi
2828

2929
### Fixed
3030

31-
* Activation of flows with default parameters ([#758](https://github.com/NVIDIA/NeMo-Guardrails/pull/758)) by @schuellc-nvidia
32-
* ``pretty_str`` string formatting function ([#759](https://github.com/NVIDIA/NeMo-Guardrails/pull/759)) by @schuellc-nvidia
33-
* Consistent uuid generation in debug mode ([#760](https://github.com/NVIDIA/NeMo-Guardrails/pull/760)) by @schuellc-nvidia
34-
* Avatar posture management function in standard library ([#771](https://github.com/NVIDIA/NeMo-Guardrails/pull/771)) by @sklinglernv
35-
* Nested ``if else`` construct parsing ([#833](https://github.com/NVIDIA/NeMo-Guardrails/pull/833)) by @radinshayanfar
36-
* Multiline string values in interaction history prompting ([#765](https://github.com/NVIDIA/NeMo-Guardrails/pull/765)) by @radinshayanfar
31+
* Activation of flows with default parameters ([#758](https://github.com/NVIDIA-NeMo/Guardrails/pull/758)) by @schuellc-nvidia
32+
* ``pretty_str`` string formatting function ([#759](https://github.com/NVIDIA-NeMo/Guardrails/pull/759)) by @schuellc-nvidia
33+
* Consistent uuid generation in debug mode ([#760](https://github.com/NVIDIA-NeMo/Guardrails/pull/760)) by @schuellc-nvidia
34+
* Avatar posture management function in standard library ([#771](https://github.com/NVIDIA-NeMo/Guardrails/pull/771)) by @sklinglernv
35+
* Nested ``if else`` construct parsing ([#833](https://github.com/NVIDIA-NeMo/Guardrails/pull/833)) by @radinshayanfar
36+
* Multiline string values in interaction history prompting ([#765](https://github.com/NVIDIA-NeMo/Guardrails/pull/765)) by @radinshayanfar
3737

3838
## [2.0-beta.4] - 2024-10-02
3939

4040
### Fixed
4141

42-
* LLM prompt template ``generate_value_from_instruction`` for GPT and LLama model chat interface ([#775](https://github.com/NVIDIA/NeMo-Guardrails/pull/775)) by @schuellc-nvidia
42+
* LLM prompt template ``generate_value_from_instruction`` for GPT and LLama model chat interface ([#775](https://github.com/NVIDIA-NeMo/Guardrails/pull/775)) by @schuellc-nvidia
4343

4444
## [2.0-beta.3] - 2024-09-27
4545

4646
### Added
4747

48-
* Support for new Colang 2 keyword `deactivate` ([#673](https://github.com/NVIDIA/NeMo-Guardrails/pull/673)) by @schuellc-nvidia
49-
* Bot configuration as variable `$system.config` ([#703](https://github.com/NVIDIA/NeMo-Guardrails/pull/703)) by @schuellc-nvidia
50-
* Basic support for most OpenAI and LLame 3 models ([#709](https://github.com/NVIDIA/NeMo-Guardrails/pull/709)) by @schuellc-nvidia
51-
* Interaction loop priority levels for flows ([#712](https://github.com/NVIDIA/NeMo-Guardrails/pull/712)) by @schuellc-nvidia
52-
* CLI chat debugging commands ([#717](https://github.com/NVIDIA/NeMo-Guardrails/pull/717)) by @schuellc-nvidia
48+
* Support for new Colang 2 keyword `deactivate` ([#673](https://github.com/NVIDIA-NeMo/Guardrails/pull/673)) by @schuellc-nvidia
49+
* Bot configuration as variable `$system.config` ([#703](https://github.com/NVIDIA-NeMo/Guardrails/pull/703)) by @schuellc-nvidia
50+
* Basic support for most OpenAI and LLame 3 models ([#709](https://github.com/NVIDIA-NeMo/Guardrails/pull/709)) by @schuellc-nvidia
51+
* Interaction loop priority levels for flows ([#712](https://github.com/NVIDIA-NeMo/Guardrails/pull/712)) by @schuellc-nvidia
52+
* CLI chat debugging commands ([#717](https://github.com/NVIDIA-NeMo/Guardrails/pull/717)) by @schuellc-nvidia
5353

5454
### Changed
5555

56-
* Merged (and removed) utils library file with core library ([#669](https://github.com/NVIDIA/NeMo-Guardrails/pull/669)) by @schuellc-nvidia
56+
* Merged (and removed) utils library file with core library ([#669](https://github.com/NVIDIA-NeMo/Guardrails/pull/669)) by @schuellc-nvidia
5757

5858
### Fixed
5959

60-
* Fixes a event group match bug (e.g. `match $flow_ref.Finished() or $flow_ref.Failed()`) ([#672](https://github.com/NVIDIA/NeMo-Guardrails/pull/672)) by @schuellc-nvidia
61-
* Fix issues with ActionUpdated events and user utterance action extraction ([#699](https://github.com/NVIDIA/NeMo-Guardrails/pull/699)) by @schuellc-nvidia
60+
* Fixes a event group match bug (e.g. `match $flow_ref.Finished() or $flow_ref.Failed()`) ([#672](https://github.com/NVIDIA-NeMo/Guardrails/pull/672)) by @schuellc-nvidia
61+
* Fix issues with ActionUpdated events and user utterance action extraction ([#699](https://github.com/NVIDIA-NeMo/Guardrails/pull/699)) by @schuellc-nvidia
6262

6363
## [2.0-beta.2] - 2024-07-25
6464

@@ -68,34 +68,34 @@ This second beta version of Colang brings a set of improvements and fixes.
6868

6969
Language and runtime:
7070

71-
* Colang 2.0 syntax error details ([#504](https://github.com/NVIDIA/NeMo-Guardrails/pull/504)) by @rgstephens
72-
* Expose global variables in prompting templates ([#533](https://github.com/NVIDIA/NeMo-Guardrails/pull/533)) by @schuellc-nvidia
73-
* `continuation on unhandled user utterance` flow to the standard library (`llm.co`) ([#534](https://github.com/NVIDIA/NeMo-Guardrails/pull/534)) by @schuellc-nvidia
74-
* Support for NLD intents ([#554](https://github.com/NVIDIA/NeMo-Guardrails/pull/554)) by @schuellc-nvidia
75-
* Support for the `@active` decorator which activates flows automatically ([#559](https://github.com/NVIDIA/NeMo-Guardrails/pull/559)) by @schuellc-nvidia
71+
* Colang 2.0 syntax error details ([#504](https://github.com/NVIDIA-NeMo/Guardrails/pull/504)) by @rgstephens
72+
* Expose global variables in prompting templates ([#533](https://github.com/NVIDIA-NeMo/Guardrails/pull/533)) by @schuellc-nvidia
73+
* `continuation on unhandled user utterance` flow to the standard library (`llm.co`) ([#534](https://github.com/NVIDIA-NeMo/Guardrails/pull/534)) by @schuellc-nvidia
74+
* Support for NLD intents ([#554](https://github.com/NVIDIA-NeMo/Guardrails/pull/554)) by @schuellc-nvidia
75+
* Support for the `@active` decorator which activates flows automatically ([#559](https://github.com/NVIDIA-NeMo/Guardrails/pull/559)) by @schuellc-nvidia
7676

7777
Other:
7878

79-
* Unit tests for runtime exception handling in flows ([#591](https://github.com/NVIDIA/NeMo-Guardrails/pull/591)) by @schuellc-nvidia
79+
* Unit tests for runtime exception handling in flows ([#591](https://github.com/NVIDIA-NeMo/Guardrails/pull/591)) by @schuellc-nvidia
8080

8181
### Changed
8282

83-
* Make `if` / `while` / `when` statements compatible with python syntax, i.e., allow `:` at the end of line ([#576](https://github.com/NVIDIA/NeMo-Guardrails/pull/576)) by @schuellc-nvidia
84-
* Allow `not`, `in`, `is` in generated flow names ([#596](https://github.com/NVIDIA/NeMo-Guardrails/pull/596)) by @schuellc-nvidia
85-
* Improve bot action generation ([#578](https://github.com/NVIDIA/NeMo-Guardrails/pull/578)) by @schuellc-nvidia
86-
* Add more information to Colang syntax errors ([#594](https://github.com/NVIDIA/NeMo-Guardrails/pull/594)) by @schuellc-nvidia
87-
* Runtime processing loop also consumes generated events before completion ([#599](https://github.com/NVIDIA/NeMo-Guardrails/pull/599)) by @schuellc-nvidia
88-
* LLM prompting improvements targeting `gpt-4o` ([#540](https://github.com/NVIDIA/NeMo-Guardrails/pull/540)) by @schuellc-nvidia
83+
* Make `if` / `while` / `when` statements compatible with python syntax, i.e., allow `:` at the end of line ([#576](https://github.com/NVIDIA-NeMo/Guardrails/pull/576)) by @schuellc-nvidia
84+
* Allow `not`, `in`, `is` in generated flow names ([#596](https://github.com/NVIDIA-NeMo/Guardrails/pull/596)) by @schuellc-nvidia
85+
* Improve bot action generation ([#578](https://github.com/NVIDIA-NeMo/Guardrails/pull/578)) by @schuellc-nvidia
86+
* Add more information to Colang syntax errors ([#594](https://github.com/NVIDIA-NeMo/Guardrails/pull/594)) by @schuellc-nvidia
87+
* Runtime processing loop also consumes generated events before completion ([#599](https://github.com/NVIDIA-NeMo/Guardrails/pull/599)) by @schuellc-nvidia
88+
* LLM prompting improvements targeting `gpt-4o` ([#540](https://github.com/NVIDIA-NeMo/Guardrails/pull/540)) by @schuellc-nvidia
8989

9090
### Fixed
9191

92-
* Fix string expression double braces ([#525](https://github.com/NVIDIA/NeMo-Guardrails/pull/525)) by @schuellc-nvidia
93-
* Fix Colang 2 flow activation ([#531](https://github.com/NVIDIA/NeMo-Guardrails/pull/531)) by @schuellc-nvidia
94-
* Remove unnecessary print statements in runtime ([#577](https://github.com/NVIDIA/NeMo-Guardrails/pull/577)) by @schuellc-nvidia
95-
* Fix `match` statement issue ([#593](https://github.com/NVIDIA/NeMo-Guardrails/pull/593)) by @schuellc-nvidia
96-
* Fix multiline string expressions issue ([#579](https://github.com/NVIDIA/NeMo-Guardrails/pull/579)) by @schuellc-nvidia
97-
* Fix tracking user talking state issue ([#604](https://github.com/NVIDIA/NeMo-Guardrails/pull/604)) by @schuellc-nvidia
98-
* Fix issue related to a race condition ([#598](https://github.com/NVIDIA/NeMo-Guardrails/pull/598)) by @schuellc-nvidia
92+
* Fix string expression double braces ([#525](https://github.com/NVIDIA-NeMo/Guardrails/pull/525)) by @schuellc-nvidia
93+
* Fix Colang 2 flow activation ([#531](https://github.com/NVIDIA-NeMo/Guardrails/pull/531)) by @schuellc-nvidia
94+
* Remove unnecessary print statements in runtime ([#577](https://github.com/NVIDIA-NeMo/Guardrails/pull/577)) by @schuellc-nvidia
95+
* Fix `match` statement issue ([#593](https://github.com/NVIDIA-NeMo/Guardrails/pull/593)) by @schuellc-nvidia
96+
* Fix multiline string expressions issue ([#579](https://github.com/NVIDIA-NeMo/Guardrails/pull/579)) by @schuellc-nvidia
97+
* Fix tracking user talking state issue ([#604](https://github.com/NVIDIA-NeMo/Guardrails/pull/604)) by @schuellc-nvidia
98+
* Fix issue related to a race condition ([#598](https://github.com/NVIDIA-NeMo/Guardrails/pull/598)) by @schuellc-nvidia
9999

100100
## [2.0-beta] - 2024-05-08
101101

0 commit comments

Comments
 (0)