forked from SciSharp/BotSharp
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathVectorCollectionDetails.cs
More file actions
51 lines (37 loc) · 1.42 KB
/
VectorCollectionDetails.cs
File metadata and controls
51 lines (37 loc) · 1.42 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
namespace BotSharp.Abstraction.VectorStorage.Models;
public class VectorCollectionDetails
{
[JsonPropertyName("status")]
public string Status { get; set; }
[JsonPropertyName("optimizer_status")]
public string OptimizerStatus { get; set; }
[JsonPropertyName("segments_count")]
public ulong SegmentsCount { get; set; }
[JsonPropertyName("vectors_count")]
public ulong VectorsCount { get; set; }
[JsonPropertyName("indexed_vectors_count")]
public ulong IndexedVectorsCount { get; set; }
[JsonPropertyName("points_count")]
public ulong PointsCount { get; set; }
[JsonPropertyName("inner_config")]
public VectorCollectionDetailConfig? InnerConfig { get; set; }
[JsonPropertyName("basic_info")]
public VectorCollectionConfig? BasicInfo { get; set; }
}
public class VectorCollectionDetailConfig
{
public VectorCollectionDetailConfigParam? Param { get; set; }
}
public class VectorCollectionDetailConfigParam
{
[JsonPropertyName("shard_number")]
public uint? ShardNumber { get; set; }
[JsonPropertyName("sharding_method")]
public string? ShardingMethod { get; set; }
[JsonPropertyName("replication_factor")]
public uint? ReplicationFactor { get; set; }
[JsonPropertyName("write_consistency_factor")]
public uint? WriteConsistencyFactor { get; set; }
[JsonPropertyName("read_fan_out_factor")]
public uint? ReadFanOutFactor { get; set; }
}