-
Notifications
You must be signed in to change notification settings - Fork 979
Implement genai events for bedrock (streaming) #13507
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
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.
looks good. this is important as without the tool support you added, you can't really understand agentic apps. Also, most I've seen set streaming enabled.
return event; | ||
})); | ||
} | ||
|
||
private void handleEvent(ConverseStreamOutput event) { | ||
if (captureMessageContent && event instanceof MessageStartEvent) { |
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.
bet you wish you could do a type switch ;)
...ntime/java/io/opentelemetry/instrumentation/awssdk/v2_2/internal/Aws2BedrockRuntimeTest.java
Show resolved
Hide resolved
...c/main/java/io/opentelemetry/instrumentation/awssdk/v2_2/AbstractAws2BedrockRuntimeTest.java
Show resolved
Hide resolved
new software.amazon.awssdk.protocols.json.internal.unmarshall | ||
.document.DocumentUnmarshaller()); |
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.
as far as I can tell don't need the fully qualified name as it is already imported
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.
Oops, thanks
…nstrumentation into bedrock-stream-events
This should be the last feature for
Converse
API./cc @codefromthecrypt