Open Source alternative to Algolia + Pinecone and an Easier-to-Use alternative to ElasticSearch ⚡ 🔍 ✨ Fast, typo tolerant, in-memory fuzzy Search Engine for building delightful search experiences
C++ algoliadatastoreelasticsearchenterprise-searchfacetingfull-text-searchfuzzy-searchgeosearchin-memoryinstantsearchmerchandisingpineconesearchsearch-enginesemantic-searchsimilarity-searchsite-searchsynonymstypo-tolerancevector-search
Prevent returning conversation id twice in multi search (#1622)
Ozan Armağan20aa1b47f44d
diff --git a/src/core_api.cpp b/src/core_api.cppindex 7fb851f3..67bb55dd 100644--- a/src/core_api.cpp+++ b/src/core_api.cpp@@ -879,8 +879,9 @@ bool post_multi_search(const std::shared_ptr<http_req>& req, const std::shared_pauto conversation_history = get_conversation_op.get();if(!exclude_conversation_history) {response["conversation"]["conversation_history"] = conversation_history;+ } else {+ response["conversation"]["conversation_id"] = conversation_id;}- response["conversation"]["conversation_id"] = conversation_id;} else {nlohmann::json conversation_history = nlohmann::json::array();conversation_history.push_back(formatted_question_op.get());