Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FIX Crescendo backtrack with same orchestrator ID and handling responses with markdown syntax #340

Merged
merged 2 commits into from
Aug 22, 2024

Conversation

romanlutz
Copy link
Contributor

Description

Backtracking in Crescendo was failing because it requires duplicating the memory. This, in turn, requires a unique new orchestrator ID which we weren't providing. I've made that optional in this PR since it's not really needed, only a new conversation ID is needed.

Additionally, while running the notebook, I found that responses from the red teaming LLM contain markdown syntax resulting in failed JSON parsing and unnecessary retries. I applied the existing markdown handler and validated it to make sure it works as expected.

Tests and Documentation

reran notebook for crescendo, added test for optional orchestrator ID in memory duplication method

@romanlutz romanlutz merged commit daa8ab1 into Azure:main Aug 22, 2024
5 checks passed
@romanlutz romanlutz deleted the romanlutz/crescendo_fix branch August 22, 2024 17:38
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.

2 participants