forked from microsoft/semantic-kernel
-
-
Notifications
You must be signed in to change notification settings - Fork 4
/
config.json
84 lines (84 loc) · 2.69 KB
/
config.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
{
"apiKey": "your_api_key_here",
"databaseUrl": "your_database_url_here",
"secretKey": "your_secret_key_here",
"mongodb": {
"url": "your_mongodb_url_here",
"dbName": "chat-ui",
"directConnection": false
},
"cookie": {
"name": "chat-ui"
},
"hfAccessToken": "your_hf_access_token_here",
"serpapiKey": "your_serpapi_key_here",
"openid": {
"clientId": "your_openid_client_id_here",
"clientSecret": "your_openid_client_secret_here",
"scopes": "openid profile",
"providerUrl": "https://huggingface.co"
},
"models": [
{
"name": "your_model_name_here",
"chatPromptTemplate": "your_model_prompt_template_here",
"preprompt": "",
"promptExamples": [
{
"title": "Python Fibonacci",
"prompt": "How can I write a Python function to generate the nth Fibonacci number?"
},
{
"title": "What is a meme?",
"prompt": "What is a meme, and what's the history behind this word?"
},
{
"title": "Regex",
"prompt": "Create a regex to extract dates from logs"
}
],
"endpoints": [
{
"type": "tgi",
"url": "http://127.0.0.1:8080"
}
],
"parameters": "your_model_params_here"
}
],
"oldModels": [],
"public": {
"origin": "your_public_origin_here",
"sharePrefix": "your_public_share_prefix_here",
"googleAnalyticsId": "your_public_google_analytics_id_here",
"deprecatedGoogleAnalyticsId": "your_public_deprecated_google_analytics_id_here",
"announcementBanners": [
{
"title": "Chat UI is now open sourced on GitHub",
"linkTitle": "GitHub repo",
"linkHref": "https://github.com/huggingface/chat-ui"
}
],
"appName": "your_app_name_here",
"appAssets": "chatui",
"appColor": "your_app_color_here",
"appDataSharing": 1,
"appDataDisclaimer": 1
},
"parquetExport": {
"dataset": "your_parquet_export_dataset_here",
"hfToken": "your_parquet_export_hf_token_here",
"secret": "your_parquet_export_secret_here"
},
"aiInteraction": {
"openaiApiKey": "your_openai_api_key_here",
"azureOpenaiEndpoint": "your_azure_openai_endpoint_here",
"azureOpenaiApiKey": "your_azure_openai_api_key_here",
"azureOpenaiChatModelDeployment": "your_azure_openai_chat_model_deployment_here",
"azureBlobStorageEndpoint": "your_azure_blob_storage_endpoint_here",
"azureCognitiveServicesEndpoint": "your_azure_cognitive_services_endpoint_here",
"cosmosDbEndpoint": "your_cosmos_db_endpoint_here",
"keyVaultEndpoint": "your_key_vault_endpoint_here",
"azureDevOpsOrganizationUrl": "your_azure_devops_organization_url_here"
}
}