Cris
09/25/2024, 7:53 AMKishore Nallan
09/25/2024, 7:54 AMCris
09/25/2024, 7:57 AMKishore Nallan
09/25/2024, 7:59 AMCris
09/25/2024, 8:50 AMsearch_parameters = {
'collection': collection_name,
'q': 'Bauwesen',
'filter_by' : <filter list>,
'include_fields': 'id',
'per_page': 15,
'page': 0,
'prefix': False,
'max_facet_values': 500,
'facet_strategy': 'top_values',
'query_by': 'title, description_de, embedded_title_de',
'vector_query': <distance_threshold=.70>,
'query_by_weights': 10,4,4
}
other keywords:
• Stahl
• Bauwesen
• Apotheke
• Automatisierung
• Zahnräder
• PersonalbüroKishore Nallan
09/25/2024, 8:55 AMef
search parameter here: https://typesense.org/docs/27.0/api/vector-search.html#configuring-hnsw-parameters
You can try increasing it to 100Cris
09/25/2024, 9:04 AMKishore Nallan
09/25/2024, 9:05 AMCris
09/25/2024, 9:08 AMApotheke
(German for pharmacy), it will search on the embeddings from title_de field, will it return pharmacy-related hits?even though the titles are German language
sorry for these clarificationsKishore Nallan
09/25/2024, 9:09 AMCris
09/25/2024, 9:12 AMef
search parameters, thank you for this, will take a look but not sure if this is the reason since the issue only occurs when searching using non-english keywords but works fine on english keywords, maybe this answers that
That depends on the multi-lingual capabilities of the embedding model. Whether they can project similar words in different languages in the same semantic search space.