Skip to content

Commit cbb2586

Browse files
committed
output files
1 parent 9dabb04 commit cbb2586

2 files changed

Lines changed: 66 additions & 0 deletions

File tree

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
Starting HNSW vector search demonstration...
2+
3+
Initializing MongoDB and Azure OpenAI clients...
4+
Attempting OIDC authentication...
5+
OIDC authentication successful!
6+
7+
Loading data from ../data/Hotels_Vector.json...
8+
Loaded 50 documents
9+
10+
Preparing collection 'vectorSearchCollection'...
11+
Getting token with scope: https://ossrdbms-aad.database.windows.net/.default
12+
Successfully obtained tokenCleared 50 existing documents from collection
13+
Starting batch insertion of 50 documents...
14+
Batch 1 completed: 50 documents inserted
15+
Insertion completed: 50 inserted, 0 failed
16+
17+
Creating HNSW vector index...
18+
Creating HNSW vector index on field 'DescriptionVector'...
19+
Dropping existing vector index: diskann_index_DescriptionVector
20+
Dropped 1 existing vector index(es)
21+
HNSW vector index created successfully
22+
Waiting for index to be ready...
23+
Performing HNSW vector search for: 'quintessential lodging near running trails, eateries, retail'
24+
25+
Search Results (showing top 5):
26+
================================================================================
27+
1. HotelName: Royal Cottage Resort, Score: 0.4991
28+
2. HotelName: Country Comfort Inn, Score: 0.4785
29+
3. HotelName: Nordick's Valley Motel, Score: 0.4635
30+
4. HotelName: Economy Universe Motel, Score: 0.4461
31+
5. HotelName: Roach Motel, Score: 0.4388
32+
33+
HNSW demonstration completed successfully!

ai/vector-search-go/output/ivy.txt

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
Starting IVF vector search demonstration...
2+
3+
Initializing MongoDB and Azure OpenAI clients...
4+
Attempting OIDC authentication...
5+
OIDC authentication successful!
6+
7+
Loading data from ../data/Hotels_Vector.json...
8+
Loaded 50 documents
9+
10+
Preparing collection 'vectorSearchCollection'...
11+
Getting token with scope: https://ossrdbms-aad.database.windows.net/.default
12+
Successfully obtained tokenCleared 50 existing documents from collection
13+
Starting batch insertion of 50 documents...
14+
Batch 1 completed: 50 documents inserted
15+
Insertion completed: 50 inserted, 0 failed
16+
17+
Creating IVF vector index...
18+
Creating IVF vector index on field 'DescriptionVector'...
19+
Dropping existing vector index: hnsw_index_DescriptionVector
20+
Dropped 1 existing vector index(es)
21+
IVF vector index created successfully
22+
Waiting for index clustering to complete...
23+
Performing IVF vector search for: 'quintessential lodging near running trails, eateries, retail'
24+
25+
Search Results (showing top 5):
26+
================================================================================
27+
1. HotelName: Royal Cottage Resort, Score: 0.4991
28+
2. HotelName: Country Comfort Inn, Score: 0.4785
29+
3. HotelName: Nordick's Valley Motel, Score: 0.4635
30+
4. HotelName: Economy Universe Motel, Score: 0.4461
31+
5. HotelName: Roach Motel, Score: 0.4388
32+
33+
IVF demonstration completed successfully!

0 commit comments

Comments
 (0)