Skip to content

Commit

Permalink
On-boarding Disk-based-Vector on Nightly runs (#451)
Browse files Browse the repository at this point in the history
Signed-off-by: Vikasht34 <[email protected]>
  • Loading branch information
Vikasht34 authored Oct 11, 2024
1 parent 6c2d9cb commit 4458cd3
Show file tree
Hide file tree
Showing 2 changed files with 31 additions and 0 deletions.
3 changes: 3 additions & 0 deletions vectorsearch/indices/faiss-index.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,9 @@
"target_field": {
"type": "knn_vector",
"dimension": {{ target_index_dimension }},
{%- if mode is defined %}
"mode": "{{ mode }}",
{%- endif %}
{%- if train_model_id is defined %}
"model_id": "{{ train_model_id }}"
{%- else %}
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
{
"target_index_name": "target_index",
"target_field_name": "target_field",
"target_index_body": "indices/faiss-index.json",
"target_index_primary_shards": 5,
"target_index_replica_shards": 1,
"target_index_dimension": 768,
"target_index_space_type": "innerproduct",

"target_index_bulk_size": 100,
"target_index_bulk_index_data_set_format": "hdf5",
"target_index_bulk_index_data_set_corpus": "cohere-10m",
"target_index_bulk_indexing_clients": 10,

"target_index_max_num_segments": 1,
"hnsw_ef_search": 256,
"hnsw_ef_construction": 256,
"mode": "on_disk",
"query_k": 100,
"query_body": {
"docvalue_fields" : ["_id"],
"stored_fields" : "_none_"
},

"query_data_set_format": "hdf5",
"query_data_set_corpus": "cohere-10m",
"query_count": 10000
}

0 comments on commit 4458cd3

Please sign in to comment.