SYMBOL INDEX (277 symbols across 23 files) FILE: ChatReviewerAndResponse/chat_response.py class Response (line 25) | class Response: method __init__ (line 27) | def __init__(self, args=None): method response_by_chatgpt (line 51) | def response_by_chatgpt(self, comment_path): method chat_response (line 72) | def chat_response(self, text): method export_to_markdown (line 132) | def export_to_markdown(self, text, file_name, mode='w'): function chat_response_main (line 141) | def chat_response_main(args): FILE: ChatReviewerAndResponse/chat_reviewer.py function contains_chinese (line 26) | def contains_chinese(text): function insert_sentence (line 32) | def insert_sentence(text, sentence, interval): class Reviewer (line 59) | class Reviewer: method __init__ (line 61) | def __init__(self, args=None): method validateTitle (line 81) | def validateTitle(self, title): method review_by_chatgpt (line 88) | def review_by_chatgpt(self, paper_list): method stage_1 (line 124) | def stage_1(self, paper): method chat_review (line 163) | def chat_review(self, text): method export_to_markdown (line 196) | def export_to_markdown(self, text, file_name, mode='w'): function chat_reviewer_main (line 204) | def chat_reviewer_main(args): FILE: ChatReviewerAndResponse/get_paper.py class Paper (line 8) | class Paper: method __init__ (line 9) | def __init__(self, path, title='', url='', abs='', authors=[]): method parse_pdf (line 28) | def parse_pdf(self): method get_chapter_names (line 37) | def get_chapter_names(self, ): method get_title (line 59) | def get_title(self): method extract_section_infomation (line 101) | def extract_section_infomation(self): function main (line 183) | def main(): FILE: HuggingFaceDeploy/Private/app.py class Paper (line 15) | class Paper: method __init__ (line 16) | def __init__(self, path, title='', url='', abs='', authers=[], sl=[]): method parse_pdf (line 35) | def parse_pdf(self): method get_image_path (line 45) | def get_image_path(self, image_path=''): method get_chapter_names (line 101) | def get_chapter_names(self,): method get_title (line 122) | def get_title(self): method _get_all_page_index (line 161) | def _get_all_page_index(self): method _get_all_page (line 187) | def _get_all_page(self): class Reader (line 265) | class Reader: method __init__ (line 267) | def __init__(self, key_word='', query='', filter_keys='', method get_arxiv (line 295) | def get_arxiv(self, max_results=30): method filter_arxiv (line 303) | def filter_arxiv(self, max_results=30): method validateTitle (line 329) | def validateTitle(self, title): method download_pdf (line 335) | def download_pdf(self, filter_results): method try_download_pdf (line 372) | def try_download_pdf(self, result, path, pdf_name): method upload_gitee (line 378) | def upload_gitee(self, image_path, image_name='', ext='png'): method summary_with_chat (line 409) | def summary_with_chat(self, paper_list): method chat_conclusion (line 504) | def chat_conclusion(self, text): method chat_method (line 530) | def chat_method(self, text): method chat_summary (line 557) | def chat_summary(self, text): method export_to_markdown (line 593) | def export_to_markdown(self, text, file_name, mode='w'): method show_info (line 602) | def show_info(self): function upload_pdf (line 607) | def upload_pdf(text, file): FILE: HuggingFaceDeploy/Private/optimizeOpenAI.py class chatPaper (line 16) | class chatPaper: method __init__ (line 20) | def __init__( method get_api_key (line 58) | def get_api_key(self): method _calculate_delay (line 66) | def _calculate_delay(self, apiKey): method add_to_conversation (line 73) | def add_to_conversation(self, message: str, role: str, convo_id: str =... method __truncate_conversation (line 78) | def __truncate_conversation(self, convo_id: str = "default"): method ask_stream (line 103) | def ask_stream( method ask (line 151) | def ask(self, prompt: str, role: str = "user", convo_id: str = "defaul... method check_api_available (line 168) | def check_api_available(self): method reset (line 188) | def reset(self, convo_id: str = "default", system_prompt = None): method conversation_summary (line 195) | def conversation_summary(self, convo_id: str = "default"): method token_cost (line 221) | def token_cost(self,convo_id: str = "default"): method token_str (line 223) | def token_str(self,content:str): function main (line 225) | def main(): FILE: HuggingFaceDeploy/Public/app.py function parse_text (line 21) | def parse_text(text): function api_key_check (line 55) | def api_key_check(api_key): function valid_apikey (line 66) | def valid_apikey(api_keys): class Paper (line 86) | class Paper: method __init__ (line 88) | def __init__(self, path, title='', url='', abs='', authers=[], sl=[]): method parse_pdf (line 110) | def parse_pdf(self): method get_paper_info (line 121) | def get_paper_info(self): method get_image_path (line 132) | def get_image_path(self, image_path=''): method get_chapter_names (line 189) | def get_chapter_names(self, ): method get_title (line 212) | def get_title(self): method _get_all_page_index (line 261) | def _get_all_page_index(self): method _get_all_page (line 287) | def _get_all_page(self): class Reader (line 361) | class Reader: method __init__ (line 363) | def __init__(self, method get_arxiv (line 398) | def get_arxiv(self, max_results=30): method filter_arxiv (line 407) | def filter_arxiv(self, max_results=30): method validateTitle (line 433) | def validateTitle(self, title): method download_pdf (line 439) | def download_pdf(self, filter_results): method try_download_pdf (line 480) | def try_download_pdf(self, result, path, pdf_name): method upload_gitee (line 487) | def upload_gitee(self, image_path, image_name='', ext='png'): method summary_with_chat (line 526) | def summary_with_chat(self, paper_list): method chat_conclusion (line 608) | def chat_conclusion(self, text): method chat_method (line 649) | def chat_method(self, text): method chat_summary (line 695) | def chat_summary(self, text): method export_to_markdown (line 746) | def export_to_markdown(self, text, file_name, mode='w'): method show_info (line 755) | def show_info(self): function upload_pdf (line 761) | def upload_pdf(api_keys, text, model_name, p, temperature, file): FILE: HuggingFaceDeploy/Public/optimizeOpenAI.py class chatPaper (line 16) | class chatPaper: method __init__ (line 20) | def __init__( method get_api_key (line 58) | def get_api_key(self): method _calculate_delay (line 66) | def _calculate_delay(self, apiKey): method add_to_conversation (line 73) | def add_to_conversation(self, message: str, role: str, convo_id: str =... method __truncate_conversation (line 78) | def __truncate_conversation(self, convo_id: str = "default"): method ask_stream (line 103) | def ask_stream( method ask (line 151) | def ask(self, prompt: str, role: str = "user", convo_id: str = "defaul... method check_api_available (line 168) | def check_api_available(self): method reset (line 188) | def reset(self, convo_id: str = "default", system_prompt = None): method conversation_summary (line 195) | def conversation_summary(self, convo_id: str = "default"): method token_cost (line 221) | def token_cost(self,convo_id: str = "default"): method token_str (line 223) | def token_str(self,content:str): function main (line 225) | def main(): FILE: HuggingFaceDeploy/app.py function home (line 21) | def home(): function process_request (line 61) | def process_request(main_function, params_class, default_values): function arxiv (line 79) | def arxiv(): function paper (line 95) | def paper(): function response (line 111) | def response(): function reviewer (line 121) | def reviewer(): function get_log_level (line 131) | def get_log_level(args): FILE: auto_survey/main.py function log_usage (line 18) | def log_usage(usage, generating_target, print_out=True): function _generation_setup (line 39) | def _generation_setup(title, template="Default", function section_generation (line 93) | def section_generation(paper, section, save_to_path, model, research_fie... function generate_draft (line 166) | def generate_draft(title, tldr=True, max_kw_refs=20, bib_refs=None, max... FILE: auto_survey/utils/figures.py function generate_points (line 4) | def generate_points(initial_value, final_value, smoothness=0.1, max_num ... function generate_line_plots (line 12) | def generate_line_plots(data, num_curves, legends, x_label, y_label, sav... function generate_random_figures (line 22) | def generate_random_figures(list_of_methods, save_to = "fig.png" ): FILE: auto_survey/utils/file_operations.py function urlify (line 7) | def urlify(s): function hash_name (line 14) | def hash_name(input_dict): function make_archive (line 29) | def make_archive(source, destination): function copy_templates (line 39) | def copy_templates(template, title): function list_folders (line 54) | def list_folders(path): FILE: auto_survey/utils/gpt_interaction.py function get_gpt_responses (line 11) | def get_gpt_responses(systems, prompts, model="gpt-4", temperature=0.4): class GPTModel_API2D_SUPPORT (line 28) | class GPTModel_API2D_SUPPORT: method __init__ (line 29) | def __init__(self, model="gpt-4", temperature=0, presence_penalty=0, method __call__ (line 45) | def __call__(self, systems, prompts, return_json=False): class GPTModel (line 81) | class GPTModel: method __init__ (line 82) | def __init__(self, model="gpt-3.5-turbo", temperature=0.9, presence_pe... method __call__ (line 91) | def __call__(self, systems, prompts, return_json=False): FILE: auto_survey/utils/knowledge.py function tiktoken_len (line 8) | def tiktoken_len(text): class Knowledge (line 14) | class Knowledge: method __init__ (line 15) | def __init__(self, db): method collect_knowledge (line 19) | def collect_knowledge(self, keywords_dict, max_query): method to_prompts (line 35) | def to_prompts(self, max_tokens=2048): method to_json (line 49) | def to_json(self): FILE: auto_survey/utils/references.py function evaluate_cosine_similarity (line 42) | def evaluate_cosine_similarity(v1, v2): function chunks (line 48) | def chunks(lst, chunk_size=MAX_BATCH_SIZE): function embed (line 53) | def embed(papers): function get_embeddings (line 67) | def get_embeddings(paper_title, paper_description): function get_top_k (line 74) | def get_top_k(papers_dict, paper_title, paper_description, k=None): function remove_newlines (line 100) | def remove_newlines(serie): function search_paper_abstract (line 109) | def search_paper_abstract(title): function load_papers_from_bibtex (line 126) | def load_papers_from_bibtex(bib_file_path): function tiktoken_len (line 162) | def tiktoken_len(text): function ss_search (line 171) | def ss_search(keywords, limit=20, fields=None): function _collect_papers_ss (line 185) | def _collect_papers_ss(keyword, counts=3, tldr=False): class References (line 291) | class References: method __init__ (line 292) | def __init__(self, title, load_papers=None, keyword="customized_refs",... method load_papers (line 300) | def load_papers(self, bibtex, keyword): method generate_keywords_dict (line 303) | def generate_keywords_dict(self): method collect_papers (line 309) | def collect_papers(self, keywords_dict, tldr=False): method to_bibtex (line 327) | def to_bibtex(self, path_to_bibtex="ref.bib"): method _get_papers (line 366) | def _get_papers(self, keyword="_all"): method to_prompts (line 375) | def to_prompts(self, keyword="_all", max_tokens=2048): method to_json (line 420) | def to_json(self, keyword="_all"): FILE: auto_survey/utils/storage.py function get_client (line 15) | def get_client(): function upload_file (line 26) | def upload_file(file_name, target_name=None): function list_all_files (line 35) | def list_all_files(): function download_file (line 40) | def download_file(file_name): FILE: auto_survey/utils/tex_processing.py function replace_title (line 5) | def replace_title(save_to_path, title): function find_tex_files (line 30) | def find_tex_files(directory_path): function find_figure_names (line 39) | def find_figure_names(tex_file_path): function create_copies (line 49) | def create_copies(output_dir): FILE: chat_arxiv.py class Paper (line 40) | class Paper: method __init__ (line 41) | def __init__(self, path, title='', url='', abs='', authers=[]): method parse_pdf (line 57) | def parse_pdf(self): method get_paper_info (line 68) | def get_paper_info(self): method get_image_path (line 77) | def get_image_path(self, image_path=''): method get_chapter_names (line 133) | def get_chapter_names(self, ): method get_title (line 159) | def get_title(self): method _get_all_page_index (line 201) | def _get_all_page_index(self): method _get_all_page (line 239) | def _get_all_page(self): class Reader (line 301) | class Reader: method __init__ (line 303) | def __init__(self, key_word, query, method get_url (line 342) | def get_url(self, keyword, page): method get_titles (line 356) | def get_titles(self, url, days=1): method get_all_titles_from_web (line 389) | def get_all_titles_from_web(self, keyword, page_num=1, days=1): method get_arxiv_web (line 404) | def get_arxiv_web(self, args, page_num=1, days=2): method validateTitle (line 420) | def validateTitle(self, title): method download_pdf (line 426) | def download_pdf(self, url, title): method try_download_pdf (line 442) | def try_download_pdf(self, url, title): method summary_with_chat (line 445) | def summary_with_chat(self, paper_list): method chat_conclusion (line 566) | def chat_conclusion(self, text, conclusion_prompt_token=800): method chat_method (line 612) | def chat_method(self, text, method_prompt_token=800): method chat_summary (line 659) | def chat_summary(self, text, summary_prompt_token=1100): method export_to_markdown (line 712) | def export_to_markdown(self, text, file_name, mode='w'): method show_info (line 719) | def show_info(self): function chat_arxiv_main (line 725) | def chat_arxiv_main(args): FILE: chat_paper.py class Paper (line 21) | class Paper: method __init__ (line 22) | def __init__(self, path, title='', url='', abs='', authers=[]): method parse_pdf (line 41) | def parse_pdf(self): method get_paper_info (line 52) | def get_paper_info(self): method get_image_path (line 61) | def get_image_path(self, image_path=''): method get_chapter_names (line 117) | def get_chapter_names(self,): method get_title (line 142) | def get_title(self): method _get_all_page_index (line 185) | def _get_all_page_index(self): method _get_all_page (line 220) | def _get_all_page(self): class Reader (line 282) | class Reader: method __init__ (line 284) | def __init__(self, key_word, query, filter_keys, method get_arxiv (line 332) | def get_arxiv(self, max_results=30): method filter_arxiv (line 340) | def filter_arxiv(self, max_results=30): method validateTitle (line 367) | def validateTitle(self, title): method download_pdf (line 373) | def download_pdf(self, filter_results): method try_download_pdf (line 412) | def try_download_pdf(self, result, path, pdf_name): method upload_gitee (line 418) | def upload_gitee(self, image_path, image_name='', ext='png'): method summary_with_chat (line 452) | def summary_with_chat(self, paper_list): method chat_conclusion (line 572) | def chat_conclusion(self, text, conclusion_prompt_token=800): method chat_method (line 626) | def chat_method(self, text, method_prompt_token=800): method chat_summary (line 681) | def chat_summary(self, text, summary_prompt_token=1100): method export_to_markdown (line 742) | def export_to_markdown(self, text, file_name, mode='w'): method show_info (line 752) | def show_info(self): function chat_paper_main (line 758) | def chat_paper_main(args): FILE: chat_translate.py class LazyloadTiktoken (line 10) | class LazyloadTiktoken(object): method __init__ (line 11) | def __init__(self, model): method get_encoder (line 16) | def get_encoder(model): method encode (line 22) | def encode(self, *args, **kwargs): method decode (line 26) | def decode(self, *args, **kwargs): function parse_pdf (line 30) | def parse_pdf(path): function chat_translate_part (line 47) | def chat_translate_part(text, key, title=False, domain="", tokenizer_gpt... function chat_check_domain (line 129) | def chat_check_domain(text, key): function main (line 157) | def main(root_path, pdf_path, base_url, key, task="翻译"): FILE: others/chat_arxiv_maomao.py class Paper (line 38) | class Paper: method __init__ (line 39) | def __init__(self, path, title='', url='', abs='', authers=[]): method parse_pdf (line 55) | def parse_pdf(self): method get_paper_info (line 66) | def get_paper_info(self): method get_image_path (line 75) | def get_image_path(self, image_path=''): method get_chapter_names (line 131) | def get_chapter_names(self, ): method get_title (line 157) | def get_title(self): method _get_all_page_index (line 199) | def _get_all_page_index(self): method _get_all_page (line 237) | def _get_all_page(self): class Reader (line 299) | class Reader: method __init__ (line 301) | def __init__(self, key_word, query, method get_url (line 338) | def get_url(self, keyword, page): method get_titles (line 352) | def get_titles(self, url, days=1): method get_all_titles_from_web (line 376) | def get_all_titles_from_web(self, keyword, page_num=1, days=1): method get_arxiv (line 391) | def get_arxiv(self, max_results=30): method get_arxiv_web (line 399) | def get_arxiv_web(self, args, page_num=1, days=2): method validateTitle (line 415) | def validateTitle(self, title): method download_pdf (line 421) | def download_pdf(self, url, title): method try_download_pdf (line 437) | def try_download_pdf(self, url, title): method summary_with_chat (line 440) | def summary_with_chat(self, paper_list): method chat_conclusion (line 554) | def chat_conclusion(self, text, conclusion_prompt_token=800): method chat_method (line 601) | def chat_method(self, text, method_prompt_token=800): method chat_summary (line 650) | def chat_summary(self, text, summary_prompt_token=1100): method export_to_markdown (line 702) | def export_to_markdown(self, text, file_name, mode='w'): method show_info (line 709) | def show_info(self): function chat_arxiv_main (line 715) | def chat_arxiv_main(args): FILE: others/google_scholar_spider.py class GoogleScholarConfig (line 31) | class GoogleScholarConfig: function google_scholar_spider (line 43) | def google_scholar_spider(GoogleScholarConfig: GoogleScholarConfig): function get_command_line_args (line 67) | def get_command_line_args() -> GoogleScholarConfig: function get_citations (line 101) | def get_citations(content): function get_year (line 109) | def get_year(content): function setup_driver (line 118) | def setup_driver(): function get_author (line 134) | def get_author(content): function get_element (line 139) | def get_element(driver, xpath, attempts=5, count=0): function get_content_with_selenium (line 152) | def get_content_with_selenium(url): function create_main_url (line 170) | def create_main_url(GoogleScholarConfig: GoogleScholarConfig) -> str: function fetch_data (line 185) | def fetch_data(GoogleScholarConfig: GoogleScholarConfig, session: reques... function process_data (line 277) | def process_data(data: pd.DataFrame, end_year: int, sortby: str) -> pd.D... function plot_results (line 293) | def plot_results(rank: List[int], citations: List[int], keyword: str) ->... function save_data_to_csv (line 301) | def save_data_to_csv(data: pd.DataFrame, path: str, keyword: str) -> None: FILE: scipdf_parser-master/scipdf/features/text_utils.py function compute_readability_stats (line 40) | def compute_readability_stats(text): function compute_text_stats (line 84) | def compute_text_stats(text): function compute_journal_features (line 142) | def compute_journal_features(article): function merge_section_list (line 193) | def merge_section_list(section_list, section_maps=SECTIONS_MAPS, section... FILE: scipdf_parser-master/scipdf/pdf/parse_pdf.py function list_pdf_paths (line 19) | def list_pdf_paths(pdf_folder: str): function validate_url (line 26) | def validate_url(path: str): function parse_pdf (line 42) | def parse_pdf( function parse_authors (line 113) | def parse_authors(article): function parse_date (line 134) | def parse_date(article): function parse_abstract (line 144) | def parse_abstract(article): function calculate_number_of_references (line 158) | def calculate_number_of_references(div): function parse_sections (line 171) | def parse_sections(article, as_list: bool = False): function parse_references (line 226) | def parse_references(article): function parse_figure_caption (line 265) | def parse_figure_caption(article): function parse_formulas (line 293) | def parse_formulas(article): function convert_article_soup_to_dict (line 315) | def convert_article_soup_to_dict(article, as_list: bool = False): function parse_pdf_to_dict (line 369) | def parse_pdf_to_dict( function parse_figures (line 404) | def parse_figures(