BotSharp/src/WebStarter/appsettings.json

176 lines
4.1 KiB
JSON
Raw Normal View History

2023-05-26 01:36:15 +00:00
{
"Logging": {
"LogLevel": {
"Default": "Information",
"Microsoft.AspNetCore": "Warning"
}
},
"AllowedHosts": "*",
2023-06-11 23:46:02 +00:00
"Jwt": {
"Issuer": "botsharp",
"Audience": "botsharp",
"Key": "31ba6052aa6f4569901facc3a41fcb4a"
2023-05-27 01:58:31 +00:00
},
2023-12-13 18:12:25 +00:00
"LlmProviders": [
{
"Provider": "azure-openai",
"Models": [
{
"Name": "gpt-35-turbo",
"ApiKey": "",
"Endpoint": "https://gpt-35-turbo.openai.azure.com/",
"Type": "chat",
"PromptCost": 0.0015,
"CompletionCost": 0.002
},
{
"Name": "gpt-35-turbo-instruct",
"ApiKey": "",
"Endpoint": "https://gpt-35-turbo-instruct.openai.azure.com/",
"Type": "text",
"PromptCost": 0.0015,
"CompletionCost": 0.002
}
]
}
],
2023-08-30 02:48:59 +00:00
"Router": {
2023-12-13 18:12:25 +00:00
"AgentId": "01fcc3e5-9af7-49e6-ad7a-a760bd12dc4a",
"Planner": "NaivePlanner"
2023-08-30 02:48:59 +00:00
},
2023-10-18 11:58:36 +00:00
"Evaluator": {
2023-12-13 18:12:25 +00:00
"AgentId": "dfd9b46d-d00c-40af-8a75-3fbdc2b89869"
2023-10-18 11:58:36 +00:00
},
2023-08-30 02:48:59 +00:00
"Agent": {
2023-08-18 02:44:49 +00:00
"DataDir": "agents",
2023-08-30 02:48:59 +00:00
"TemplateFormat": "liquid",
2023-12-13 23:16:34 +00:00
"MaxRecursiveDepth": 3,
"LlmConfig": {
"Provider": "azure-openai",
2023-12-20 02:28:56 +00:00
"Model": "gpt-35-turbo"
2023-12-13 23:16:34 +00:00
}
2023-07-22 11:35:30 +00:00
},
2023-06-19 16:33:27 +00:00
"Conversation": {
2023-08-10 04:54:50 +00:00
"DataDir": "conversations",
2023-11-29 16:40:27 +00:00
"ShowVerboseLog": false,
"EnableLlmCompletionLog": false,
"EnableExecutionLog": true
2023-06-19 16:33:27 +00:00
},
2023-05-27 01:58:31 +00:00
"LlamaSharp": {
2023-05-29 01:06:05 +00:00
"Interactive": true,
2023-09-18 08:35:02 +00:00
"ModelDir": "C:/Users/haipi/Downloads",
"DefaultModel": "llama-2-7b-chat.Q8_0.gguf",
2023-06-27 23:36:50 +00:00
"MaxContextLength": 1024,
2023-09-18 08:35:02 +00:00
"NumberOfGpuLayer": 10
2023-05-28 16:30:27 +00:00
},
2023-06-07 01:10:09 +00:00
"AzureOpenAi": {
2023-06-03 02:07:30 +00:00
},
2023-10-08 20:46:42 +00:00
"GoogleAi": {
"PaLM": {
"Endpoint": "https://generativelanguage.googleapis.com",
"ApiKey": ""
}
},
2023-09-18 08:35:02 +00:00
"HuggingFace": {
"Endpoint": "https://api-inference.huggingface.co",
"Model": "tiiuae/falcon-180B-chat",
"Token": ""
},
2023-09-01 15:42:16 +00:00
"MetaAi": {
"fastText": {
"ModelPath": "dbpedia.ftz"
}
},
2023-09-01 15:42:16 +00:00
"RoutingSpeeder": {
},
2023-06-17 13:32:39 +00:00
"MetaMessenger": {
"Endpoint": "https://graph.facebook.com",
"ApiVersion": "v17.0",
"PageId": "",
"PageAccessToken": ""
},
2023-11-09 20:02:57 +00:00
"Twilio": {
"PhoneNumber": "+1",
"AccountSID": "",
"AuthToken": "",
"CallbackHost": "https://"
},
2023-06-03 02:07:30 +00:00
"Database": {
2023-08-10 04:54:50 +00:00
"Default": "FileRepository",
2023-09-13 08:23:59 +00:00
"TablePrefix": "BotSharp",
2023-10-16 22:52:48 +00:00
"BotSharpMongoDb": "",
2023-08-01 00:57:11 +00:00
"BotSharp": {
2023-06-27 18:31:13 +00:00
"Master": "Data Source=(localdb)\\ProjectModels;Initial Catalog=BotSharp;Integrated Security=True;Connect Timeout=30;Encrypt=False;Trust Server Certificate=False;Application Intent=ReadWrite;Multi Subnet Failover=False",
2023-06-11 23:46:02 +00:00
"Slavers": []
},
2023-08-14 18:16:35 +00:00
"FileRepository": "data",
2023-06-07 00:59:32 +00:00
"UseCamelCase": true,
2023-06-03 02:07:30 +00:00
"Assemblies": [ "BotSharp.Core" ]
2023-06-11 23:46:02 +00:00
},
2023-06-18 02:56:22 +00:00
"Qdrant": {
"Url": "",
"ApiKey": ""
},
2023-06-26 23:12:38 +00:00
"WeChat": {
2023-07-03 01:02:33 +00:00
"AgentId": "437bed34-1169-4833-95ce-c24b8b56154a",
2023-06-26 23:12:38 +00:00
"Token": "#{Token}#",
"EncodingAESKey": "#{EncodingAESKey}#",
"WeixinAppId": "#{WeixinAppId}#",
"WeixinAppSecret": "#{WeixinAppSecret}#"
},
2023-09-09 20:13:19 +00:00
"KnowledgeBase": {
2023-09-18 08:35:02 +00:00
"VectorDb": "MemVectorDatabase",
// "VectorDb": "QdrantDb",
"TextEmbedding": "fastTextEmbeddingProvider",
// "TextEmbedding": "LLamaSharp.TextEmbeddingProvider",
"TextCompletion": "AzureOpenAI.Providers.TextCompletionProvider",
// "TextCompletion": "LLamaSharp.TextCompletionProvider",
2023-12-30 03:54:41 +00:00
// "Pdf2TextConverter": "PaddleSharp.Providers.Pdf2TextConverter"
"Pdf2TextConverter": "PigPdf2TextConverter"
2023-09-09 20:13:19 +00:00
},
2023-06-26 23:08:24 +00:00
2023-06-17 02:42:35 +00:00
"PluginLoader": {
"Assemblies": [
"BotSharp.Plugin.MongoStorage",
2023-11-29 23:23:14 +00:00
"BotSharp.Core",
"BotSharp.Logger",
2023-06-17 13:32:39 +00:00
"BotSharp.Plugin.AzureOpenAI",
2023-10-08 20:46:42 +00:00
"BotSharp.Plugin.GoogleAI",
2023-06-18 02:56:22 +00:00
"BotSharp.Plugin.MetaAI",
2023-12-26 03:16:41 +00:00
"BotSharp.Plugin.MetaMessenger",
2023-11-09 20:02:57 +00:00
// "BotSharp.Plugin.Twilio",
2023-09-18 08:35:02 +00:00
"BotSharp.Plugin.HuggingFace",
"BotSharp.Plugin.LLamaSharp",
2023-11-13 17:19:25 +00:00
// "BotSharp.Plugin.SemanticKernel",
"BotSharp.Plugin.KnowledgeBase",
2023-06-19 18:32:49 +00:00
"BotSharp.Plugin.Qdrant",
2023-06-27 02:23:30 +00:00
"BotSharp.Plugin.PaddleSharp",
2023-11-27 02:04:05 +00:00
"BotSharp.Plugin.ChatHub",
2023-08-30 22:40:45 +00:00
"BotSharp.Plugin.WeChat",
2023-11-22 16:27:55 +00:00
// "BotSharp.Plugin.TelegramBots",
// "BotSharp.Plugin.RoutingSpeeder",
2024-01-03 04:43:37 +00:00
"BotSharp.Plugin.WebDriver",
2024-01-06 22:24:22 +00:00
"BotSharp.Plugin.HttpHandler",
2023-08-30 22:40:45 +00:00
"BotSharp.Plugin.PizzaBot"
2023-06-17 02:42:35 +00:00
]
2023-05-26 01:36:15 +00:00
}
}