Auto completion in chat

This commit is contained in:
2025-10-12 16:00:32 +08:00
parent f4a659fce5
commit 9631cd3edd
4 changed files with 159 additions and 3 deletions

View File

@@ -0,0 +1,15 @@
using System.ComponentModel.DataAnnotations;
namespace DysonNetwork.Shared.Models;
public class AutocompletionRequest
{
[Required] public string Content { get; set; } = null!;
}
public class Autocompletion
{
public string Type { get; set; } = null!;
public string Keyword { get; set; } = null!;
public object Data { get; set; } = null!;
}