More work

This commit is contained in:
Nickk888 committed 2026-10-12 01:14:13 +02:00
1 parent c06f06c6ce
commit 8b476e6939
20 files changed
+871 -22

No files matched your search

+23
View File
@@ -0,0 +1,23 @@
using System;
using Newtonsoft.Json;
namespace PaperlessAI.Models.LMStudio;
public class LmStudioLlmResponse
{
[JsonProperty("document_Id")]
public long DocumentId { get; set; } = -1;
[JsonProperty("success")]
public bool Success { get; set; } = false;
[JsonProperty("message")]
public string Message { get; set; } = string.Empty;
public override string ToString()
{
return JsonConvert.SerializeObject(this, Formatting.Indented);
}
public bool IsValid => !string.IsNullOrWhiteSpace(Message) && DocumentId != -1;
}