You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
cd couchbase-semantic-kernel-quickstart/CouchbaseVectorSearchDemo
67
67
```
68
68
69
69
### 2. Install Dependencies
@@ -92,6 +92,8 @@ Update `appsettings.Development.json` with your credentials:
92
92
}
93
93
```
94
94
95
+
> **Note**: The `BucketName`, `ScopeName`, and `CollectionName` values can be changed to match your Couchbase setup, but you'll need to update the corresponding code references in the demo application accordingly.
96
+
95
97
## Understanding the Data Model
96
98
97
99
The demo uses a `Glossary` class that demonstrates Semantic Kernel's vector store data model. The model uses attributes to define how properties are stored and indexed in the vector database.
@@ -198,7 +200,7 @@ USING GSI WITH {
198
200
-**Include Fields**: Non-vector fields for faster retrieval
199
201
-**Quantization**: `IVF,SQ8` (Inverted File with 8-bit scalar quantization)
200
202
201
-
> **Note**: Composite vector indexes can be created similarly by adding scalar fields to the index definition. Use Composite indexes when your queries frequently filter on scalar values before vector comparison. For this demo, we use Hyperscale since we're demonstrating pure semantic search capabilities.
203
+
> **Note**: [Composite vector indexes](https://docs.couchbase.com/server/current/vector-index/composite-vector-index.html) can be created similarly by adding scalar fields to the index definition. Use Composite indexes when your queries frequently filter on scalar values before vector comparison. For this demo, we use Hyperscale since we're demonstrating pure semantic search capabilities.
202
204
203
205
### Step 4: Vector Search Operations
204
206
@@ -293,7 +295,7 @@ All three index types work with the same Semantic Kernel abstractions (`SearchAs
293
295
- Use **Composite** when scalar filters eliminate large portions of data before vector comparison
294
296
- Use **FTS** when you need hybrid search combining full-text and semantic search
295
297
296
-
For more details, see the [Couchbase Vector Index Documentation](https://preview.docs-test.couchbase.com/docs-server-DOC-12565_vector_search_concepts/server/current/vector-index/use-vector-indexes.html).
298
+
For more details, see the [Couchbase Vector Index Documentation](https://docs.couchbase.com/server/current/vector-index/use-vector-indexes.html).
297
299
298
300
299
301
### Index Configuration (Couchbase 8.0+)
@@ -317,13 +319,12 @@ The `description` parameter in the index definition controls vector storage opti
317
319
-`IVF1000,SQ6` - 1000 centroids, 6-bit quantization (faster, less accurate)
318
320
-`IVF,PQ32x8` - Auto centroids, product quantization (better accuracy)
319
321
320
-
For detailed configuration options, see the [Quantization & Centroid Settings](https://preview.docs-test.couchbase.com/docs-server-DOC-12565_vector_search_concepts/server/current/vector-index/hyperscale-vector-index.html#algo_settings) documentation.
322
+
For detailed configuration options, see the [Quantization & Centroid Settings](https://docs.couchbase.com/server/current/vector-index/hyperscale-vector-index.html#algo_settings) documentation.
0 commit comments