Skip to content

Feat/migration tool sample converstaion syntax conversion - #764

Merged
cparisien merged 2 commits into
developfrom
feat/migration-tool-sample-converstaion-syntax-conversion
Sep 18, 2024
Merged

Feat/migration tool sample converstaion syntax conversion#764
cparisien merged 2 commits into
developfrom
feat/migration-tool-sample-converstaion-syntax-conversion

Conversation

@Pouyanpi

Copy link
Copy Markdown
Collaborator

This PR implements conversion logic of sample_conversations in config.yml as part of the migration tool.

To verify it works:

Do the migration

nemoguardrails convert --from-version '1.0' "./examples/bots/abc" --validate

then

nemoguardrails chat --config=./examples/bots/abc

query_1: what can you do?
query_2: you are stupid

@erickgalinkin erickgalinkin left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@cparisien
cparisien merged commit 33195ff into develop Sep 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants