You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It's possible for a vendor to not provide a role attribute (discovered by .NET in testing Bedrock). The LLMChatCompletionMessage payload must still provide a value for the role attribute, which must be either user (for requests) or assistant (for responses).
Since all AI instrumentation shares some common classes, we should add logic about the strings when the role attribute is missing. Potentially in NewRelic::Agent::Llm::LlmEvent#event_attributes or something in the LlmChatCompletionMessage class.
It's possible for a vendor to not provide a
role
attribute (discovered by .NET in testing Bedrock). The LLMChatCompletionMessage payload must still provide a value for therole
attribute, which must be eitheruser
(for requests) orassistant
(for responses).Since all AI instrumentation shares some common classes, we should add logic about the strings when the role attribute is missing. Potentially in NewRelic::Agent::Llm::LlmEvent#event_attributes or something in the LlmChatCompletionMessage class.
Spec (internal).
The text was updated successfully, but these errors were encountered: