-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathappSettings.json
More file actions
54 lines (54 loc) · 2.79 KB
/
appSettings.json
File metadata and controls
54 lines (54 loc) · 2.79 KB
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
{
"AppSettings": {
"useEmulator": false,
"emulatorSettings": {
"emulatorEndPoint": "https://localhost:8081",
// Emulator auth key is publicly available and okay to be hardcoded.
"emulatorKey": "C2y6yDjf5/R+ob0N8A7Cgv30VRDJIWEHLM+4QDU5DE2nQ9nDuVTqobD4b8mGGyPMbIZnqyMsEcaGQy67XIw/Jw=="
},
"accountEndpoint": "https://your-account-endpoint.documents.azure.com:443/",
"useAADAuth": false,
"authKey": "your-auth-key",
"cosmosDatabaseId": "vector-benchmarking",
"cosmosContainerId": "your-container-id",
"cosmosContainerRUInitial": "0", // will use default RU if it's 0 othereise will override with the value provided
"cosmosContainerRUFinal": "0", // Final RU for the container update to leverage the full RU
"dataFilesBasePath": "C:\\Users\\your-username\\Downloads\\vector-benchmarking\\data",
"errorLogBasePath": "C:\\Users\\your-username\\Downloads\\vector-benchmarking\\data\\runLog",
"failedIdsFilePath": "C:\\Users\\your-username\\Downloads\\vector-benchmarking\\data\\failedIds", // Path to the file with failed ids. File should be in csv format.
"onlyIngestFailedIds": false, // if true will only ingest failed ids from the failedIdsFilePath
"deleteContainerOnStart": false, // CAUTION: Setting to 'true' will delete the container and all data in it!!!
"scenario": {
"name": "wiki-cohere-english-embedding-only-1m-replace-streaming",
/* Not applicable to streaming scenario but single shot ingestion */
"sliceCount": "100000",
"runIngestion": true,
"runQuery": false,
"numQueries": 0, // specific num of queries, default 0 will run against entire query file
"searchListSizeMultiplier": 10, // multiplier for search list, default 10
"maxPhysicalPartitionCount": 0, // client max conccurrent connections
"ingestWithBulkExecution": false, // use bulk client for ingestion
"numIngestionBatchCount": 1, // Number of parallel batches reading dataset file and queing for ingestion
"startVectorId": 0, // start vector id for ingestion
"endVectorId": 0, // end vector id for ingestion, if not set (i.e equal to 0) will use the entire dataset
"warmup": {
"enabled": false,
"numWarmupQueries": 1000
},
"computeRecall": false,
"computeLatencyAndRUStats": false,
"quantizationByteSize": "", // If empty, cosmosdb will decide an appropriate value.
"kValues": [ 10 ],
"streaming": {
"startOperationId": 1,
"stopOperationId": 1001,
"totalNetVectorsToIngest": 3000000
},
"sharded": {
"enableShardedDiskANN": false,
"vectorIndexShardKey": "/your-shard-key" // shard key for sharded diskANN index
}
},
"waitForUserInputBeforeExit": true
}
}