30 Commits

Author SHA1 Message Date
lasseedfast
1509744c4a Add example scripts and update package structure for PDF highlighter 2024-11-20 07:04:02 +01:00
lasseedfast
0b92c7c11b Refactor code to import Highlighter from highlight_pdf package 2024-10-16 16:48:28 +02:00
lasseedfast
11fdd43d18 Refactor code to import Highlighter from highlight_pdf package 2024-10-16 16:37:20 +02:00
lasseedfast
58683dfacc Refactor code to use the Highlighter class for PDF highlighting 2024-10-16 16:33:48 +02:00
lasseedfast
faaac65527 Update requirements.txt with streamlit 2024-10-16 14:58:41 +02:00
lasseedfast
477c9ca855 Some work arounds... 2024-10-16 14:55:00 +02:00
lasseedfast
b6bce5eb8a Now single_pdf example is working 2024-10-16 14:45:05 +02:00
lasseedfast
6c9aececd5 Updates command line example and arguments 2024-10-08 10:57:56 +02:00
lasseedfast
021dd7a759 Refactor README.md to update project description, examples and installation instructions 2024-10-08 10:54:07 +02:00
lasseedfast
e53659fe7d Refactor single_pdf.py to remove unused variables and prompt user for input 2024-10-08 10:53:26 +02:00
lasseedfast
c845d327b6 Refactor highlight_pdf.py to allow highlighting of specific pages and support zero-indexed page numbers 2024-10-08 10:50:53 +02:00
lasseedfast
44363024f7 Change name of example pdf 2024-10-08 10:50:38 +02:00
lasseedfast
3a3c226baa Add examples 2024-10-08 10:50:06 +02:00
lasseedfast
e4a5d56d8d Refactor prompts.yaml to include instructions for highlighting all relevant sentences 2024-10-08 09:45:57 +02:00
lasseedfast
b22088cd3d Refactor file paths and load prompts from prompts.yaml 2024-10-08 09:45:46 +02:00
lasseedfast
cc259b08aa Added example PDF file 2024-10-08 09:44:30 +02:00
lasseedfast
65855358cc Refactor .env file to include default values for OPENAI_API_KEY and LLM_MODEL 2024-10-08 09:44:07 +02:00
lasseedfast
565432d954 Include installation instructions for Streamlit app 2024-10-07 17:49:58 +02:00
lasseedfast
4286105ccc Refactor file paths and load prompts from prompts.yaml 2024-10-07 17:43:03 +02:00
lasseedfast
c86d820ff1 Refactor .gitignore to include .env file and remove trailing newline 2024-10-07 17:42:45 +02:00
lasseedfast
1fd736d807 Refactor LLM class initialization and add default prompts to prompts.yaml 2024-10-07 17:30:42 +02:00
lasseedfast
8d5da7a5cd Refactor LLM class initialization and add note about default value of num_ctx parameter 2024-10-07 17:24:40 +02:00
Lasse Edfast
54eece5d39
Rename readme.md to README.md 2024-10-07 16:44:17 +02:00
lasseedfast
1789025c83 Remove LICENCE file 2024-10-07 16:43:27 +02:00
Lasse Edfast
aacda38c18
Create LICENSE 2024-10-07 16:42:46 +02:00
Lasse Edfast
461121bc64
Create LICENCE 2024-10-07 16:38:39 +02:00
lasseedfast
eb37d5a03f Refactor environment variable setup in readme.md 2024-10-07 16:34:43 +02:00
Lasse Edfast
fe63a1ba34
Create .env 2024-10-07 16:30:29 +02:00
lasseedfast
b5bc9eb529 Refactor environment variable setup in readme.md 2024-10-07 16:27:52 +02:00
lasseedfast
6b1f99de18 first commit 2024-10-07 16:26:29 +02:00