diff --git a/README.md b/README.md index 9c67a12..0c96927 100644 --- a/README.md +++ b/README.md @@ -57,6 +57,7 @@ You can overwrite values by creating and adding new records to a file `./config/ - [Semantic Kernel Blog: The Power of Persistent Memory with Semantic Kernel and Qdrant Vector Database](https://devblogs.microsoft.com/semantic-kernel/the-power-of-persistent-memory-with-semantic-kernel-and-qdrant-vector-database/) - [Qdrant Vector Search [Vector Database]](https://qdrant.tech/) +- [Qdrant .NET(C#) SDK](https://github.com/qdrant/qdrant-dotnet) - [Qdrant Integration with OpenAI](https://qdrant.tech/documentation/integrations/#openai) - [Azure Container Instances (ACI)](https://learn.microsoft.com/azure/container-instances/) - [Azure Kubernetes Service (AKS)](https://learn.microsoft.com/azure/aks/) diff --git a/samples/dotnet/csharp/get-started.ipynb b/samples/dotnet/csharp/get-started.ipynb new file mode 100644 index 0000000..e67477d --- /dev/null +++ b/samples/dotnet/csharp/get-started.ipynb @@ -0,0 +1,558 @@ +{ + "cells": [ + { + "cell_type": "code", + "execution_count": 2, + "metadata": { + "dotnet_interactive": { + "language": "csharp" + }, + "polyglot_notebook": { + "kernelName": "csharp" + } + }, + "outputs": [ + { + "data": { + "text/html": [ + "
[ ]
[ movie_collection ]
{ "status": "Green", "optimizerStatus": { "ok": true }, "segmentsCount": "2", "config": { "params": { "shardNumber": 1, "vectorsConfig": { "params": { "size": "2", "distance": "Cosine" } }, "replicationFactor": 1, "writeConsistencyFactor": 1 }, "hnswConfig": { "m": "16", "efConstruct": "100", "fullS...| Status | Green | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| OptimizerStatus |
|
| Ok | True |
| Error |
0
2
{ "params": { "shardNumber": 1, "vectorsConfig": { "params": { "size": "2", "distance": "Cosine" } }, "replicationFactor": 1, "writeConsistencyFactor": 1 }, "hnswConfig": { "m": "16", "efConstruct": "100", "fullScanThreshold": "10000", "maxIndexingThreads": "0", "onDisk": false }, "optimizerConfig":...| Params |
|
| ShardNumber | 1 | ||||||||||||||||||
| OnDiskPayload | False | ||||||||||||||||||
| VectorsConfig |
|
| Params |
|
| Size | 2 |
| Distance | Cosine |
| HnswConfig | <null> |
| QuantizationConfig | <null> |
| OnDisk | False |
| HasOnDisk | False |
<null>
1
True
1
True
0
False
{ "m": "16", "efConstruct": "100", "fullScanThreshold": "10000", "maxIndexingThreads": "0", "onDisk": false }| M | 16 |
| HasM | True |
| EfConstruct | 100 |
| HasEfConstruct | True |
| FullScanThreshold | 10000 |
| HasFullScanThreshold | True |
| MaxIndexingThreads | 0 |
| HasMaxIndexingThreads | True |
| OnDisk | False |
| HasOnDisk | True |
| PayloadM | 0 |
| HasPayloadM | False |
{ "deletedThreshold": 0.2, "vacuumMinVectorNumber": "1000", "defaultSegmentNumber": "0", "indexingThreshold": "20000", "flushIntervalSec": "5", "maxOptimizationThreads": "1" }| DeletedThreshold | 0.2 |
| HasDeletedThreshold | True |
| VacuumMinVectorNumber | 1000 |
| HasVacuumMinVectorNumber | True |
| DefaultSegmentNumber | 0 |
| HasDefaultSegmentNumber | True |
| MaxSegmentSize | 0 |
| HasMaxSegmentSize | False |
| MemmapThreshold | 0 |
| HasMemmapThreshold | False |
| IndexingThreshold | 20000 |
| HasIndexingThreshold | True |
| FlushIntervalSec | 5 |
| HasFlushIntervalSec | True |
| MaxOptimizationThreads | 1 |
| HasMaxOptimizationThreads | True |
{ "walCapacityMb": "32", "walSegmentsAhead": "0" }| WalCapacityMb | 32 |
| HasWalCapacityMb | True |
| WalSegmentsAhead | 0 |
| HasWalSegmentsAhead | True |
<null>
0
0
True
5
| index | value | ||||||||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 0 |
|
| Id |
|
| Num | 3 |
| HasNum | True |
| Uuid | |
| HasUuid | False |
| PointIdOptionsCase | Num |
| key | value | ||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
title |
|
| NullValue | NullValue |
| HasNullValue | False |
| DoubleValue | 0 |
| HasDoubleValue | False |
| IntegerValue | 0 |
| HasIntegerValue | False |
| StringValue | Toy Story |
| HasStringValue | True |
| BoolValue | False |
| HasBoolValue | False |
| StructValue | <null> |
| ListValue | <null> |
| KindCase | StringValue |
0.66102695
0
<null>
{ "id": { "num": "5" }, "payload": { "title": { "stringValue": "Shrek" } }, "score": 0.6457999 }| Id |
|
| Num | 5 |
| HasNum | True |
| Uuid | |
| HasUuid | False |
| PointIdOptionsCase | Num |
| key | value | ||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
title |
|
| NullValue | NullValue |
| HasNullValue | False |
| DoubleValue | 0 |
| HasDoubleValue | False |
| IntegerValue | 0 |
| HasIntegerValue | False |
| StringValue | Shrek |
| HasStringValue | True |
| BoolValue | False |
| HasBoolValue | False |
| StructValue | <null> |
| ListValue | <null> |
| KindCase | StringValue |
0.6457999
0
<null>
{ "id": { "num": "1" }, "payload": { "title": { "stringValue": "The Lion King" } }, "score": 0.62360466 }| Id |
|
| Num | 1 |
| HasNum | True |
| Uuid | |
| HasUuid | False |
| PointIdOptionsCase | Num |
| key | value | ||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
title |
|
| NullValue | NullValue |
| HasNullValue | False |
| DoubleValue | 0 |
| HasDoubleValue | False |
| IntegerValue | 0 |
| HasIntegerValue | False |
| StringValue | The Lion King |
| HasStringValue | True |
| BoolValue | False |
| HasBoolValue | False |
| StructValue | <null> |
| ListValue | <null> |
| KindCase | StringValue |
0.62360466
0
<null>