98 lines
2.3 KiB
JSON
98 lines
2.3 KiB
JSON
{
|
|
"Logging": {
|
|
"LogLevel": {
|
|
"Default": "Information",
|
|
"Microsoft.AspNetCore": "Warning"
|
|
}
|
|
},
|
|
"AllowedHosts": "*",
|
|
|
|
"Jwt": {
|
|
"Issuer": "botsharp",
|
|
"Audience": "botsharp",
|
|
"Key": "31ba6052aa6f4569901facc3a41fcb4a"
|
|
},
|
|
|
|
"Conversation": {
|
|
"ChatCompletion": "AzureOpenAI.Providers.ChatCompletionProvider"
|
|
// "ChatCompletion": "LLamaSharp.ChatCompletionProvider"
|
|
},
|
|
|
|
"LlamaSharp": {
|
|
"Interactive": true,
|
|
"ModelPath": "C:\\Users\\haipi\\Downloads\\wizard-vicuna-13B.ggmlv3.q8_0.bin",
|
|
"InstructionFile": "Prompts\\chat-with-bob.txt",
|
|
"ChatSampleFile": "Prompts\\chat-samples.txt",
|
|
"MaxContextLength": 2048,
|
|
"NumberOfGpuLayer": 10
|
|
},
|
|
|
|
"AzureOpenAi": {
|
|
"ApiKey": "",
|
|
"Endpoint": "",
|
|
"InstructionFile": "Prompts\\chat-with-bob.txt",
|
|
"ChatSampleFile": "Prompts\\chat-samples.txt",
|
|
"DeploymentModel": {
|
|
"ChatCompletionModel": "",
|
|
"TextCompletionModel": ""
|
|
}
|
|
},
|
|
|
|
"MetaAi": {
|
|
"fastText": {
|
|
"ModelPath": "crawl-300d-2M-subword.bin"
|
|
}
|
|
},
|
|
|
|
"Database": {
|
|
"MongoDb": {
|
|
"Master": "mongodb://localhost:27017/chat-ui"
|
|
},
|
|
"Agent": {
|
|
"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",
|
|
"Slavers": []
|
|
},
|
|
"UseCamelCase": true,
|
|
"Assemblies": [ "BotSharp.Core" ]
|
|
},
|
|
|
|
"Qdrant": {
|
|
"Url": "",
|
|
"ApiKey": ""
|
|
},
|
|
|
|
"WeChat": {
|
|
"Token": "#{Token}#",
|
|
"EncodingAESKey": "#{EncodingAESKey}#",
|
|
"WeixinAppId": "#{WeixinAppId}#",
|
|
"WeixinAppSecret": "#{WeixinAppSecret}#"
|
|
},
|
|
|
|
"KnowledgeBase": {
|
|
"VectorDb": "MemVectorDatabase",
|
|
"TextEmbedding": "fastTextEmbeddingProvider",
|
|
"TextCompletion": "AzureOpenAI.Providers.TextCompletionProvider"
|
|
},
|
|
|
|
"PluginLoader": {
|
|
"Assemblies": [
|
|
"BotSharp.Core",
|
|
"BotSharp.Plugin.AzureOpenAI",
|
|
"BotSharp.Plugin.MetaAI",
|
|
"BotSharp.Plugin.Qdrant",
|
|
"BotSharp.Plugin.PaddleSharp",
|
|
"BotSharp.Plugin.WeChat"
|
|
],
|
|
"Plugins": [
|
|
"KnowledgeBasePlugin",
|
|
"MemVecDbPlugin",
|
|
"LLamaSharpPlugin",
|
|
"AzureOpenAiPlugin",
|
|
"MetaAiPlugin",
|
|
"QdrantPlugin",
|
|
"PaddleSharpPlugin",
|
|
"WeChatPlugin"
|
|
]
|
|
}
|
|
}
|