Package com.newrelic.api.agent
Class LlmFeedbackEventAttributes.Builder
- java.lang.Object
-
- com.newrelic.api.agent.LlmFeedbackEventAttributes.Builder
-
- Enclosing class:
- LlmFeedbackEventAttributes
public static class LlmFeedbackEventAttributes.Builder extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Builder(java.lang.String traceId, java.lang.Object rating)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.Map<java.lang.String,java.lang.Object>
build()
LlmFeedbackEventAttributes.Builder
category(java.lang.String category)
LlmFeedbackEventAttributes.Builder
message(java.lang.String message)
LlmFeedbackEventAttributes.Builder
metadata(java.util.Map<java.lang.String,java.lang.String> metadata)
-
-
-
Method Detail
-
category
public LlmFeedbackEventAttributes.Builder category(java.lang.String category)
-
message
public LlmFeedbackEventAttributes.Builder message(java.lang.String message)
-
metadata
public LlmFeedbackEventAttributes.Builder metadata(java.util.Map<java.lang.String,java.lang.String> metadata)
-
build
public java.util.Map<java.lang.String,java.lang.Object> build()
-
-