mirror of
https://gitlab.com/Kwoth/nadekobot.git
synced 2025-09-10 17:28:27 -04:00
docs: upped version to 5.1.5 dev: removed nuget.config as we no longer rely on myget dev: Fixed some build warnings
15 lines
371 B
C#
15 lines
371 B
C#
using System.Text.Json.Serialization;
|
|
|
|
namespace NadekoBot.Modules.Games.Common.ChatterBot;
|
|
|
|
public class OpenAiApiMessage
|
|
{
|
|
[JsonPropertyName("role")]
|
|
public required string Role { get; init; }
|
|
|
|
[JsonPropertyName("content")]
|
|
public required string Content { get; init; }
|
|
|
|
[JsonPropertyName("name")]
|
|
public required string Name { get; init; }
|
|
} |