Class LdAiConfig.Message
Represents a single message, which is part of a prompt.
Inheritance
LdAiConfig.Message
Assembly: LaunchDarkly.ServerSdk.Ai.dll
Syntax
public record LdAiConfig.Message : IEquatable<LdAiConfig.Message>
Constructors
View Source
Message(Message)
Declaration
protected Message(LdAiConfig.Message original)
Parameters
Fields
|
Edit this page
View Source
Content
The content of the message, which may contain Mustache templates.
Declaration
public readonly string Content
Field Value
|
Edit this page
View Source
Role
Declaration
public readonly Role Role
Field Value
Properties
View Source
EqualityContract
Declaration
protected virtual Type EqualityContract { get; }
Property Value
Methods
View Source
Equals(Message?)
Declaration
public virtual bool Equals(LdAiConfig.Message? other)
Parameters
Returns
View Source
Equals(object?)
Declaration
public override bool Equals(object? obj)
Parameters
Type |
Name |
Description |
object |
obj |
|
Returns
Overrides
View Source
GetHashCode()
Declaration
public override int GetHashCode()
Returns
Overrides
View Source
PrintMembers(StringBuilder)
Declaration
protected virtual bool PrintMembers(StringBuilder builder)
Parameters
Returns
View Source
ToString()
Declaration
public override string ToString()
Returns
Overrides
Operators
View Source
operator ==(Message?, Message?)
Declaration
public static bool operator ==(LdAiConfig.Message? left, LdAiConfig.Message? right)
Parameters
Returns
View Source
operator !=(Message?, Message?)
Declaration
public static bool operator !=(LdAiConfig.Message? left, LdAiConfig.Message? right)
Parameters
Returns
Implements