Koushik Sarkar
08/03/2023, 3:23 PM{
"name": "catalogue_items_vectors",
"fields": [
{"name": ".*", "type": "auto"},
{"name": "vec", "type": "float[]", "num_dim": 768}
]
}
now while going through with sample codes https://github.com/typesense/typesense-instantsearch-semantic-search-demo/tree/master
I can see typesense-instantsearch-semantic-search-demo/scripts/vector-generation/main.py
creating vector field like
product['`vectors`'] = sentence_embeddings[0].tolist()
I am little confuse which is typesense internally points ?Jason Bosco
08/03/2023, 4:37 PMI am little confuse which is typesense internally points ?Not sure I understand the question. Could you elaborate?
Koushik Sarkar
08/04/2023, 8:44 AMKoushik Sarkar
08/04/2023, 8:45 AMJason Bosco
08/04/2023, 3:56 PMnum_dim
property in the field definition. In the docs we’ve used the name vec
as an example, and in the example we’ve used the word vector
as the field name. You can rename it to any stringJason Bosco
08/04/2023, 3:57 PMembedding
Koushik Sarkar
08/06/2023, 7:53 AM