{"repo":"sjafferali/paperless-titles-from-ai","free":true,"listed":false,"github":"https://github.com/sjafferali/paperless-titles-from-ai","clone":"git clone https://github.com/sjafferali/paperless-titles-from-ai.git","description":"A paperless-ngx postconsume script that automatically generates meaningful titles of ingested documents using openai or other llm providers such as ollama.","language":"Python","stars":49,"topics":["paperless-ngx","selfhosted"],"license":"MIT","category":"self-hosted-apps","readme_excerpt":"paperless-titles-from-ai This is a project to generate meaningful titles for ingested paperless documents using AI. Sends the OCR text of the document to the OpenAI API and generates a title for the document. The title is then saved to the document's metadata. Examples of Generated Titles - taxreturntranscript2022 - aigclaims check 20230313 - prosharesultrabloombergtax2023 Setup Clone Repository Create .env file Update docker-compose.yml file Update docker compose file with the correct path to the project directory. The init folder (used to ensure open package is installed) must be owned by root. Back-filling Titles on Existing Documents To back-fill titles on existing documents, run the helper cli from the project directory: Arguments Option Required Default Description ----------------------- ---------- ------------------------------ ----------------------------------------------------------------------- --paperlessurl [URL] Yes https://paperless.local:8080 Sets the URL of the paperless API endpoint. --paperlesskey [KEY] Yes Sets the API key to use when authenticating to paperless. --openaimodel [MODEL] No gpt-4-turbo Sets the OpenAI model used to generate title. Full list of supported models available at models. --openaibaseurl [API Endpoint] No Sets the OpenAI compatible endpoint to generate the title from. --openaikey [KEY] Yes Sets the OpenAI key used to generate title. --dry No False Enables dry run which only prints out the changes that would be made. --loglevel [LEVE","default_branch":null,"files":null,"tree":[],"storefront":"/r/sjafferali","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/sjafferali/paperless-titles-from-ai/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}