### Clone Repository and Install Dependencies (Bash) Source: https://github.com/ykangw/veriexciting/blob/main/README.md This snippet demonstrates how to clone the VeriExCite repository and install its dependencies using uv, a fast Python package installer. ```Bash git clone https://github.com/ykangw/VeriExCiting.git cd VeriExciting uv pip install . ``` -------------------------------- ### Run Streamlit App (Bash) Source: https://github.com/ykangw/veriexciting/blob/main/README.md This command initiates the VeriExCite Streamlit web application, providing a user-friendly interface for verifying citations. ```Bash streamlit run streamlit_app.py ``` -------------------------------- ### Process Folder of PDFs with VeriExCite (Python) Source: https://github.com/ykangw/veriexciting/blob/main/README.md This Python code snippet demonstrates how to process an entire folder of PDF files using the VeriExCite library. After setting the Google Gemini API key, the 'process_folder' function is called with the path to the directory containing the PDFs. The results, including explanations for each reference, are saved to a CSV file named 'VeriExCite results.csv'. ```Python from veriexcite import set_google_api_key, process_folder GOOGLE_API_KEY = "YOUR_API_KEY" set_google_api_key(GOOGLE_API_KEY) folder_path = "path/to/your/pdf/folder" process_folder(folder_path) ``` -------------------------------- ### Verify Single PDF with VeriExCite (Python) Source: https://github.com/ykangw/veriexciting/blob/main/README.md This Python code snippet shows how to use the VeriExCite library to verify citations within a single PDF file. It requires setting the Google Gemini API key and then calls the 'veriexcite' function with the PDF path. The output includes counts of validated and warning-generating references, along with detailed explanations. ```Python from veriexcite import set_google_api_key, veriexcite GOOGLE_API_KEY = "YOUR_API_KEY" set_google_api_key(GOOGLE_API_KEY) pdf_path = "path/to/your/paper.pdf" count_verified, count_warning, list_warning, list_explanations = veriexcite(pdf_path) print(f"{count_verified} references validated, {count_warning} warnings.") if count_warning > 0: print("Warning List:") for item in list_warning: print(item) print("\nExplanations:") for explanation in list_explanations: print(explanation) ``` === COMPLETE CONTENT === This response contains all available snippets from this library. No additional content exists. Do not make further requests.