Class Generation
Output of a single generation.
Inheritance
object
Generation
Implements
IEquatable<Generation>
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 Generation : IEquatable<Generation>
Properties
| Improve this Doc View SourceInfo
Raw generation info response from the provider May include things like reason for finishing (e.g. in OpenAI)
Declaration
public Dictionary<string, object> Info { get; init; }
Property Value
Type | Description |
---|---|
Dictionary<string, object> |
Text
Generated text output.
Declaration
public string Text { get; init; }
Property Value
Type | Description |
---|---|
string |
Implements
System.IEquatable<T>