Class MemoryEntry
- Namespace
- IntentSharp.Memory
- Assembly
- IntentSharp.dll
One recorded operation.
public sealed class MemoryEntry
- Inheritance
-
objectMemoryEntry
- Inherited Members
-
object.Equals(object)object.Equals(object, object)object.GetHashCode()object.GetType()object.ReferenceEquals(object, object)object.ToString()
- Extension Methods
Constructors
- MemoryEntry()
Creates an empty entry with a new GUID as its id and the current UTC time as its timestamp.
Fields
- MaxPreviewChars
The most characters of serialized input kept in InputPreview: 2000.
Properties
- Attempts
The number of attempts the operation made.
- Embedding
Embedding of the intent when an embedding provider was available.
- Id
A unique id for the entry. Defaults to a new GUID.
- InputPreview
Serialized input, truncated to MaxPreviewChars characters.
- InputTokens
Input tokens across every model call of the operation, judge calls included.
- Intent
The intent the operation ran. Recall compares queries against this text.
- Model
The model that produced the final reply.
- Output
The final raw model output, before parsing.
- OutputTokens
Output tokens across every model call of the operation, judge calls included.
- Provider
The provider that produced the final reply.
- Success
True when the operation produced a verified value.
- TargetType
The requested result type's short name (
Type.Name), for example "Invoice".
- Timestamp
When the entry was created (UTC).