13 lines
533 B
C#
13 lines
533 B
C#
using Telegram.Bot;
|
|
|
|
namespace TelegramBot;
|
|
|
|
public class Agent(Actor actor, long telegramId, string name, string username, TelegramBotClient bot, string systemPrompt, int tokenLenght) {
|
|
public Actor Actor { get; } = actor;
|
|
public long TelegramId { get; } = telegramId;
|
|
public string Username { get; } = username;
|
|
public string Name { get; } = name;
|
|
public TelegramBotClient Bot { get; } = bot;
|
|
public string SystemPrompt { get; } = systemPrompt;
|
|
public int SystemPromptLength { get; } = tokenLenght;
|
|
} |