-
Notifications
You must be signed in to change notification settings - Fork 29
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add tostring() methods and fix some typo
- Loading branch information
1 parent
6a70686
commit 4875a23
Showing
19 changed files
with
143 additions
and
89 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
using System.Collections.Generic; | ||
using System.Text.Json.Serialization; | ||
|
||
namespace IO.Milvus; | ||
|
||
/// <summary> | ||
/// Milvus search result data | ||
/// </summary> | ||
public class MilvusSearchResultData | ||
{ | ||
/// <summary> | ||
/// Fields data | ||
/// </summary> | ||
[JsonPropertyName("fields_data")] | ||
[JsonConverter(typeof(MilvusFieldConverter))] | ||
public IList<Field> FieldsData { get; set; } | ||
|
||
/// <summary> | ||
/// Ids | ||
/// </summary> | ||
[JsonPropertyName("ids")] | ||
public MilvusIds Ids { get; set; } | ||
|
||
/// <summary> | ||
/// Number of queries | ||
/// </summary> | ||
[JsonPropertyName("num_queries")] | ||
public long NumQueries { get; set; } | ||
|
||
/// <summary> | ||
/// Scores | ||
/// </summary> | ||
[JsonPropertyName("scores")] | ||
public IList<float> Scores { get; set; } | ||
|
||
/// <summary> | ||
/// TopK | ||
/// </summary> | ||
[JsonPropertyName("top_k")] | ||
public long TopK { get; set; } | ||
|
||
/// <summary> | ||
/// TopKs | ||
/// </summary> | ||
[JsonPropertyName("topks")] | ||
public IList<long> TopKs { get; set; } | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
namespace IO.Milvus; | ||
|
||
/// <summary> | ||
/// Show type | ||
/// </summary> | ||
public enum ShowType | ||
{ | ||
/// <summary> | ||
/// Will return all collections | ||
/// </summary> | ||
All = 0, | ||
|
||
/// <summary> | ||
/// Will return loaded collections with their inMemory_percentages | ||
/// </summary> | ||
InMemory = 1, | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.