Class ModelResult
Class that contains all relevant information for an LLM Result.
Inheritance
object
ModelResult
Implements
IEquatable<ModelResult>
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: DotnetPrompt.Abstractions.LLM.Schema
Assembly: DotnetPrompt.Abstractions.dll
Syntax
public record ModelResult : IEquatable<ModelResult>
Properties
| Improve this Doc View SourceGenerations
List of the things generated. This is List[List[]] because each input could have multiple generations/generated completions.
Declaration
public IList<IList<Generation>> Generations { get; set; }
Property Value
Type | Description |
---|---|
IList<IList<Generation>> |
Output
For arbitrary LLM provider specific output.
Declaration
public IDictionary<string, object> Output { get; set; }
Property Value
Type | Description |
---|---|
IDictionary<string, object> |
Implements
System.IEquatable<T>