mirror of
https://github.com/typesense/typesense.git
synced 2025-05-23 07:09:44 +08:00
Remove unnecessary variables
This commit is contained in:
parent
230308958b
commit
bf3b58872b
@ -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;
|
||||
|
@ -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
|
||||
|
@ -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>
|
||||
|
Loading…
x
Reference in New Issue
Block a user