Add Multi-Turn vs Single-Turn Agent Comparison Example#92
Merged
pedrocassalpacheco merged 4 commits intomainfrom Oct 17, 2025
Merged
Add Multi-Turn vs Single-Turn Agent Comparison Example#92pedrocassalpacheco merged 4 commits intomainfrom
pedrocassalpacheco merged 4 commits intomainfrom
Conversation
|
Check out this pull request on See visual diffs & provide feedback on Jupyter Notebooks. Powered by ReviewNB |
Contributor
There was a problem hiding this comment.
Pull Request Overview
Adds a comprehensive example demonstrating multi-turn vs single-turn agent behavior in Contextual AI through systematic testing and documentation.
- Introduces interactive notebook with systematic framework to compare agent memory capabilities
- Provides comprehensive documentation explaining concepts, configuration, and use cases
- Updates main README to include new multi-turn example in table of contents
Reviewed Changes
Copilot reviewed 3 out of 3 changed files in this pull request and generated 4 comments.
| File | Description |
|---|---|
| README.md | Adds table entry for new multi-turn conversation example |
| 17-multi-turn/multi_turn.ipynb | Interactive notebook demonstrating multi-turn vs single-turn agents with memory validation tests |
| 17-multi-turn/README.md | Comprehensive documentation covering setup, concepts, configuration, and troubleshooting |
Comments suppressed due to low confidence (1)
17-multi-turn/multi_turn.ipynb:1
- Missing closing quote in API key placeholder string.
{
Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
This PR adds a comprehensive example demonstrating the differences between multi-turn and single-turn agents in Contextual AI through practical testing scenarios.
What's Added
17-multi-turn/multi_turn.ipynb): Interactive demonstration comparing agent behaviors17-multi-turn/README.md): Detailed documentation with setup, concepts, and use casesKey Features
enable_multi_turnsetting differentconversation_idto maintain context across sessionsTest Scenarios
The notebook validates 5 key behaviors:
conversation_idEducational Value
Use Cases Covered
Multi-Turn Ideal For:
Single-Turn Ideal For:
This example helps developers understand conversation state management and choose the right agent type for their specific use case.