Initial commit to new repository
This commit is contained in:
34
.decompiledproj/AxCopilot/Services/MemoryEntry.cs
Normal file
34
.decompiledproj/AxCopilot/Services/MemoryEntry.cs
Normal file
@@ -0,0 +1,34 @@
|
||||
using System;
|
||||
using System.Text.Json.Serialization;
|
||||
|
||||
namespace AxCopilot.Services;
|
||||
|
||||
public class MemoryEntry
|
||||
{
|
||||
[JsonPropertyName("id")]
|
||||
public string Id { get; set; } = "";
|
||||
|
||||
[JsonPropertyName("type")]
|
||||
public string Type { get; set; } = "fact";
|
||||
|
||||
[JsonPropertyName("content")]
|
||||
public string Content { get; set; } = "";
|
||||
|
||||
[JsonPropertyName("source")]
|
||||
public string Source { get; set; } = "";
|
||||
|
||||
[JsonPropertyName("createdAt")]
|
||||
public DateTime CreatedAt { get; set; }
|
||||
|
||||
[JsonPropertyName("lastUsedAt")]
|
||||
public DateTime LastUsedAt { get; set; }
|
||||
|
||||
[JsonPropertyName("useCount")]
|
||||
public int UseCount { get; set; }
|
||||
|
||||
[JsonPropertyName("relevance")]
|
||||
public double Relevance { get; set; }
|
||||
|
||||
[JsonPropertyName("workFolder")]
|
||||
public string? WorkFolder { get; set; }
|
||||
}
|
||||
Reference in New Issue
Block a user