SYMBOL INDEX (54 symbols across 18 files) FILE: database_server/elastic_search/db.py function attain_uuid (line 8) | def attain_uuid(entities, uuid_dict): FILE: database_server/weaviate/db.py function insert_txt (line 23) | def insert_txt(path, uuid_dict): function insert_txt_uuid (line 47) | def insert_txt_uuid(path, uuid, client, embedding): function insert_table (line 71) | def insert_table(path, uuid_dict): function insert_table_uuid (line 94) | def insert_table_uuid(path, uuid, client, embedding): FILE: database_server/weaviate/scripts/connection.py function read_qa_file (line 9) | def read_qa_file(file_path): FILE: database_server/weaviate/utils.py class JinaEmbeddings (line 11) | class JinaEmbeddings(Embeddings): method __init__ (line 12) | def __init__(self, host: str = "0.0.0.0", port: int = 50001, **kwargs:... method _post (line 15) | def _post(self, docs: List[Any], **kwargs: Any) -> Any: method embed_documents (line 19) | def embed_documents(self, texts: List[str]) -> List[List[float]]: method embed_query (line 24) | def embed_query(self, text: str) -> List[float]: FILE: inference_6b.py function parse_entity_recognition (line 19) | def parse_entity_recognition(response: str): function parse_intent_recognition (line 31) | def parse_intent_recognition(response: str): function attain_uuid (line 36) | def attain_uuid(entities, uuid_dict): function generate (line 49) | def generate(question, uuid_dict, crawl_dict, crawl_name_dict, es, log_f... FILE: models_server/chatglm2/jina_client.py function encode (line 14) | def encode(sentence, history): FILE: models_server/chatglm2/jina_server.py function auto_configure_device_map (line 16) | def auto_configure_device_map(num_gpus: int) -> Dict[str, int]: function load_model_on_gpus (line 53) | def load_model_on_gpus(checkpoint_path: Union[str, os.PathLike], num_gpu... class ChatGLM2 (line 81) | class ChatGLM2(Executor): method __init__ (line 82) | def __init__( method chat (line 111) | def chat(self, docs: DocumentArray, pre_history: bool = False, **kwargs): FILE: models_server/text2vec/jina_embedding.py class JinaEmbeddings (line 11) | class JinaEmbeddings(Embeddings): method __init__ (line 12) | def __init__(self, host: str = "0.0.0.0", port: int = 50001, **kwargs:... method _post (line 15) | def _post(self, docs: List[Any], **kwargs: Any) -> Any: method embed_documents (line 19) | def embed_documents(self, texts: List[str]) -> List[List[float]]: method embed_query (line 24) | def embed_query(self, text: str) -> List[float]: FILE: models_server/text2vec/jina_server.py class Text2vecEncoder (line 11) | class Text2vecEncoder(Executor): method __init__ (line 14) | def __init__( method encode (line 68) | def encode(self, docs: DocumentArray, parameters: Dict = {}, **kwargs): method _compute_embedding (line 100) | def _compute_embedding( method _generate_input_tokens (line 123) | def _generate_input_tokens(self, texts): FILE: prompts/answer_generation.py function answer_generation_raw_prompt (line 30) | def answer_generation_raw_prompt(): function answer_generation_prompt (line 34) | def answer_generation_prompt(extra_information: str, query: str): FILE: prompts/entity_recognition.py function entity_recognition_raw_prompt (line 43) | def entity_recognition_raw_prompt(): function entity_recognition_prompt (line 47) | def entity_recognition_prompt(query: str): FILE: prompts/information_extraction.py function information_extraction_raw_prompt (line 18) | def information_extraction_raw_prompt(): function information_extraction_prompt (line 22) | def information_extraction_prompt(query: str): FILE: prompts/intent_recognition.py function intent_recognition_raw_prompt (line 61) | def intent_recognition_raw_prompt(): function intent_recognition_prompt (line 65) | def intent_recognition_prompt(query: str): FILE: prompts/open_question.py function open_question_prompt (line 29) | def open_question_prompt(query: str): FILE: prompts/relevance_scoring.py function relevance_scoring_raw_prompt (line 20) | def relevance_scoring_raw_prompt(): function relevance_scoring_prompt (line 24) | def relevance_scoring_prompt(query: str, extra_information: str): FILE: sft/chatglm2_6b_sft_lora.py function build_inputs (line 18) | def build_inputs(query, history): function preprocess (line 43) | def preprocess(example): function data_collator (line 69) | def data_collator(features: list): class StepRunner (line 141) | class StepRunner: method __init__ (line 142) | def __init__(self, net, loss_fn, accelerator=None, stage = "train", me... method __call__ (line 153) | def __call__(self, batch): function save_ckpt (line 183) | def save_ckpt(self, ckpt_path='checkpoint', accelerator = None): function load_ckpt (line 187) | def load_ckpt(self, ckpt_path='checkpoint'): FILE: sft/utils.py function csv2parquet (line 6) | def csv2parquet(csv_file_path,parquet_train_file_path,parquet_test_file_... FILE: utils.py function parse_entity_recognition (line 13) | def parse_entity_recognition(response: str): function parse_intent_recognition (line 24) | def parse_intent_recognition(response: str): function attain_uuid (line 29) | def attain_uuid(entities, uuid_dict):