-
Notifications
You must be signed in to change notification settings - Fork 421
Open
Labels
Milestone
Description
Description
The role field on LangChain LlmChatCompletionMessages is not present in the UI. We need to define this attribute as we do with the other LLM packages.
Customer complaint: "Missing Role Field: Our current logic for identifying request ('user') and response ('assistant') messages relies on the presence of the role field. Unlike other LLM vendors, the New Relic agent is not capturing the role field within the LangChain instrumentation. Because the role field is missing for LangChain messages, our filtering mechanism fails. It defaults to retrieving the latest available message content that does contain a role within the same trace."
Acceptance Criteria
-
roleshould be present on LangChainLlmChatCompletionMessages in the UI
Additional context
Metadata
Metadata
Assignees
Labels
Type
Projects
Status
Reviewed