1+ {
2+ "Logging" : {
3+ "LogLevel" : {
4+ "Default" : " Information" ,
5+ "Microsoft.AspNetCore" : " Warning"
6+ }
7+ },
8+ "AllowedHosts" : " *" ,
9+ "AllowedOrigins" : [
10+ " http://localhost:5015"
11+ ],
12+
13+ "Jwt" : {
14+ "Issuer" : " botsharp" ,
15+ "Audience" : " botsharp" ,
16+ "Key" : " 31ba6052aa6f4569901facc3a41fcb4adfd9b46dd00c40af8a753fbdc2b89869"
17+ },
18+
19+ "OAuth" : {
20+ "GitHub" : {
21+ "ClientId" : " " ,
22+ "ClientSecret" : " "
23+ },
24+ "Google" : {
25+ "ClientId" : " " ,
26+ "ClientSecret" : " "
27+ },
28+ "Keycloak" : {
29+ "BaseAddress" : " http://keycloak.localhost:8080" ,
30+ "Realm" : " master" ,
31+ "ClientId" : " botsharp" ,
32+ "ClientSecret" : " 36FeOoyZzkOWrRZLmhwxplC2kGbFGn68" ,
33+ "Version" : 22
34+ }
35+ },
36+
37+ "LlmProviders" : [
38+ {
39+ "Provider" : " azure-openai" ,
40+ "Models" : [
41+ {
42+ "Name" : " gpt-35-turbo" ,
43+ "ApiKey" : " " ,
44+ "Endpoint" : " https://ai4c-demo.openai.azure.com/" ,
45+ "Type" : " chat" ,
46+ "PromptCost" : 0.0015 ,
47+ "CompletionCost" : 0.002
48+ },
49+ {
50+ "Name" : " gpt-35-turbo-instruct" ,
51+ "ApiKey" : " " ,
52+ "Endpoint" : " https://gpt-35-turbo-instruct.openai.azure.com/" ,
53+ "Type" : " text" ,
54+ "PromptCost" : 0.0015 ,
55+ "CompletionCost" : 0.002
56+ }
57+ ]
58+ },
59+ {
60+ "Provider" : " llama-sharp" ,
61+ "Models" : [
62+ {
63+ "Name" : " llama-2-7b-guanaco-qlora.Q2_K.gguf" ,
64+ "Type" : " chat"
65+ }
66+ ]
67+ },
68+ {
69+ "Provider" : " huggingface" ,
70+ "Models" : [
71+ {
72+ "Name" : " mistralai/Mistral-7B-v0.1" ,
73+ "Type" : " text"
74+ },
75+ {
76+ "Name" : " TinyLlama/TinyLlama-1.1B-Chat-v1.0" ,
77+ "Type" : " text"
78+ }
79+ ]
80+ }
81+ ],
82+
83+ "Router" : {
84+ },
85+
86+ "Evaluator" : {
87+ "AgentId" : " dfd9b46d-d00c-40af-8a75-3fbdc2b89869"
88+ },
89+
90+ "Agent" : {
91+ "DataDir" : " agents" ,
92+ "TemplateFormat" : " liquid" ,
93+ "HostAgentId" : " 01e2fc5c-2c89-4ec7-8470-7688608b496c" ,
94+ "LlmConfig" : {
95+ "Provider" : " azure-openai" ,
96+ "Model" : " gpt-35-turbo"
97+ }
98+ },
99+
100+ "Conversation" : {
101+ "DataDir" : " conversations" ,
102+ "ShowVerboseLog" : false ,
103+ "EnableLlmCompletionLog" : false ,
104+ "EnableExecutionLog" : true ,
105+ "EnableContentLog" : true ,
106+ "EnableStateLog" : true
107+ },
108+
109+ "Statistics" : {
110+ "DataDir" : " stats"
111+ },
112+
113+ "LlamaSharp" : {
114+ "Interactive" : true ,
115+ "ModelDir" : " C:/Users/haipi/Downloads" ,
116+ "DefaultModel" : " llama-2-7b-chat.Q8_0.gguf" ,
117+ "MaxContextLength" : 1024 ,
118+ "NumberOfGpuLayer" : 20
119+ },
120+
121+ "AzureOpenAi" : {
122+ },
123+
124+ "GoogleAi" : {
125+ "PaLM" : {
126+ "Endpoint" : " https://generativelanguage.googleapis.com" ,
127+ "ApiKey" : " "
128+ }
129+ },
130+
131+ "HuggingFace" : {
132+ "Endpoint" : " https://api-inference.huggingface.co" ,
133+ "Model" : " tiiuae/falcon-180B-chat" ,
134+ "Token" : " "
135+ },
136+
137+ "MetaAi" : {
138+ "fastText" : {
139+ "ModelPath" : " dbpedia.ftz"
140+ }
141+ },
142+
143+ "RoutingSpeeder" : {
144+ },
145+
146+ "MetaMessenger" : {
147+ "Endpoint" : " https://graph.facebook.com" ,
148+ "ApiVersion" : " v17.0" ,
149+ "PageId" : " " ,
150+ "PageAccessToken" : " "
151+ },
152+
153+ "Twilio" : {
154+ "PhoneNumber" : " +1" ,
155+ "AccountSID" : " " ,
156+ "AuthToken" : " " ,
157+ "CallbackHost" : " https://" ,
158+ "AgentId" : " 01fcc3e5-9af7-49e6-ad7a-a760bd12dc4a"
159+ },
160+
161+ "Database" : {
162+ "Default" : " MongoRepository" ,
163+ "TablePrefix" : " BotSharp" ,
164+ "BotSharpMongoDb" : " mongodb://root:admin@botsharp_mongo:27017/botsharp?authSource=admin&authMechanism=SCRAM-SHA-256" ,
165+ "FileRepository" : " data" ,
166+ "Assemblies" : [ " BotSharp.Core" ]
167+ },
168+
169+ "Qdrant" : {
170+ "Url" : " " ,
171+ "ApiKey" : " "
172+ },
173+
174+ "WeChat" : {
175+ "AgentId" : " 437bed34-1169-4833-95ce-c24b8b56154a" ,
176+ "Token" : " #{Token}#" ,
177+ "EncodingAESKey" : " #{EncodingAESKey}#" ,
178+ "WeixinAppId" : " #{WeixinAppId}#" ,
179+ "WeixinAppSecret" : " #{WeixinAppSecret}#"
180+ },
181+
182+ "KnowledgeBase" : {
183+ "VectorDb" : " MemVectorDatabase" ,
184+ "TextEmbedding" : " fastTextEmbeddingProvider" ,
185+ "TextCompletion" : " AzureOpenAI.Providers.TextCompletionProvider" ,
186+ "Pdf2TextConverter" : " PigPdf2TextConverter"
187+ },
188+
189+ "PluginLoader" : {
190+ "Assemblies" : [
191+ " BotSharp.Core" ,
192+ " BotSharp.Logger" ,
193+ " BotSharp.Plugin.MongoStorage" ,
194+ " BotSharp.Plugin.Dashboard" ,
195+ " BotSharp.Plugin.AzureOpenAI" ,
196+ " BotSharp.Plugin.GoogleAI" ,
197+ " BotSharp.Plugin.MetaAI" ,
198+ " BotSharp.Plugin.MetaMessenger" ,
199+ " BotSharp.Plugin.HuggingFace" ,
200+ " BotSharp.Plugin.KnowledgeBase" ,
201+ " BotSharp.Plugin.Qdrant" ,
202+ " BotSharp.Plugin.ChatHub" ,
203+ " BotSharp.Plugin.WeChat" ,
204+ " BotSharp.Plugin.PizzaBot" ,
205+ " BotSharp.Plugin.WebDriver" ,
206+ " BotSharp.Plugin.LLamaSharp"
207+ ]
208+ }
209+ }
0 commit comments