BotSharp/src/Plugins/BotSharp.Plugin.GoogleAI/Settings/GoogleAiSettings.cs

23 lines
457 B
C#
Raw Normal View History

2024-12-23 02:12:35 +00:00
namespace BotSharp.Plugin.GoogleAi.Settings;
2023-10-08 20:46:42 +00:00
public class GoogleAiSettings
{
public PaLMSetting PaLM { get; set; }
2024-12-23 02:12:35 +00:00
public GeminiSetting Gemini { get; set; }
}
public class PaLMSetting
{
public string Endpoint { get; set; } = string.Empty;
public string ApiKey { get; set; }
}
public class GeminiSetting
{
public string ApiKey { get; set; }
public bool UseGoogleSearch { get; set; }
public bool UseGrounding { get; set; }
2023-10-08 20:46:42 +00:00
}