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

+17
View File
@@ -0,0 +1,17 @@
using Newtonsoft.Json;
namespace PaperlessAI.Models.LMStudio;
public class LmStudioChatResponse
{
[JsonProperty("model_instance_id")]
public string? ModelInstanceId { get; set; }
[JsonProperty("output")]
List<LmStudioChatResponseOutput>? Outputs { get; set; }
public List<LmStudioChatResponseOutput>? GetOutputsByResponseType(string responseType)
{
return Outputs?.Where(x => x.Type?.ToUpper() == responseType.ToUpper()).ToList();
}
}