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.
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
Python: Document generator agent framework demo #10184
base: main
Are you sure you want to change the base?
Python: Document generator agent framework demo #10184
Changes from 22 commits
a1bd039
34a2508
d999d46
77ac446
630beb1
768b29d
b8f22c1
4bbcbfa
4be3b9d
8d6ef4d
75c7518
ab59ddf
d45b41e
1fa27e7
a88c8ab
57f5232
1b6fdf5
e33f199
deb33b1
3e1f4ac
727c53f
ffc0f43
58eb8d3
cce83ee
File filter
Filter by extension
Conversations
Jump to
There are no files selected for viewing
Check warning on line 3 in python/samples/demos/document_generator/README.md
GitHub Actions / Spell Check with Typos
Check warning on line 5 in python/samples/demos/document_generator/README.md
GitHub Actions / Spell Check with Typos
Check warning on line 5 in python/samples/demos/document_generator/README.md
GitHub Actions / Spell Check with Typos
Check warning on line 12 in python/samples/demos/document_generator/README.md
GitHub Actions / Spell Check with Typos
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I notice in group chats, agents often struggle with following the system prompt. An agent will try to continue the conversation instead of executing the task it's given. Adding a user message here can prevent the agent from trying to continue the conversation.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I had to override this method to wrap an agent invocation in a span whose name is the name of the agent. This is a requested feature which we can bring to the agent framework: #10174