Remove unnecessary variables

This commit is contained in:
ozanarmagan 2023-09-16 19:00:55 +03:00
parent 230308958b
commit bf3b58872b
3 changed files with 0 additions and 5 deletions

View File

@ -145,8 +145,6 @@ private:
// Keep index as the last field since it is initialized in the constructor via init_index(). Add a new field before it.
Index* index;
nlohmann::json qa;
// methods
std::string get_doc_id_key(const std::string & doc_id) const;

View File

@ -55,8 +55,6 @@ namespace fields {
static const std::string from = "from";
static const std::string model_name = "model_name";
static const std::string range_index = "range_index";
static const std::string qa = "qa";
static const std::string system_prompt = "system_prompt";
// Some models require additional parameters to be passed to the model during indexing/querying
// For e.g. e5-small model requires prefix "passage:" for indexing and "query:" for querying

View File

@ -2,7 +2,6 @@
#include "field.h"
#include "magic_enum.hpp"
#include "text_embedder_manager.h"
#include "conversation_model.h"
#include <stack>
#include <collection_manager.h>
#include <regex>