We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 04895a1 commit fc2b18aCopy full SHA for fc2b18a
1 file changed
README.md
@@ -73,14 +73,16 @@ As you can see with the following example usage of the `Build5Nines.SharpVector`
73
// Perform a Vector Search
74
var result = vdb.Search(newPrompt, pageCount: 5); // return the first 5 results
75
76
- if (result.HasResults)
+ if (!result.IsEmpty)
77
{
78
Console.WriteLine("Similar Text Found:");
79
foreach (var item in result.Texts)
80
81
Console.WriteLine(item.Metadata);
82
Console.WriteLine(item.Text);
83
}
84
+ } else {
85
+ Console.WriteLine("No results found.");
86
87
```
88
0 commit comments