namespace LLama.WebAPI.Models; public class SendMessageInput { public string Text { get; set; } = ""; } public class HistoryInput { public List<HistoryItem> Messages { get; set; } = []; public class HistoryItem { public string Role { get; set; } = "User"; public string Content { get; set; } = ""; } }
C#/.NET上易用的LLM高性能推理框架,支持LLaMA和LLaVA系列模型。