From 6c9aececd52908795cef6f5012619f1e46885494 Mon Sep 17 00:00:00 2001 From: lasseedfast Date: Tue, 8 Oct 2024 10:57:56 +0200 Subject: [PATCH] Updates command line example and arguments --- README.md | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index bb0db08..7cfdccc 100644 --- a/README.md +++ b/README.md @@ -58,10 +58,6 @@ A library for highlighting and annotating sentences in PDF documents using Large You can use the command-line interface to highlight sentences in a PDF document. -```sh -python highlight_pdf.py --user_input "Your question or input text" --pdf_filename "path/to/your/document.pdf" --openai_key "your_openai_api_key" --comment -``` - #### Arguments - `--user_input`: The text input from the user to highlight in the PDFs. @@ -69,7 +65,8 @@ python highlight_pdf.py --user_input "Your question or input text" --pdf_filenam - `--silent`: Suppress warnings (optional). - `--openai_key`: OpenAI API key (optional if set in `.env`). - `--comment`: Include comments in the highlighted PDF (optional). -- `--data`: Data in JSON format (fields: text, pdf_filename, pages) (optional). +- `--data`: Data in JSON format (fields: user_input, pdf_filename, pages) (optional). +- `--llm_model`: The LLM model to use (optional if set in `.env`). #### Example