diff --git a/.gitignore b/.gitignore index 1385081..2756639 100644 --- a/.gitignore +++ b/.gitignore @@ -51,4 +51,6 @@ rsconnect/ # Renv folder does not need to be commited to git, only lock file to rebuild on another computer -renv/ \ No newline at end of file +renv/ + +kyle_resume.pdf \ No newline at end of file diff --git a/.lintr. b/.lintr. new file mode 100644 index 0000000..a6bb6eb --- /dev/null +++ b/.lintr. @@ -0,0 +1,9 @@ +linters: linters_with_defaults( + line_length_linter(120) + , commented_code_linter = NULL + , object_usage_linter = NULL + , indentation_linter( + hanging_indent_style = "never" + ) + ) # see vignette("lintr") +encoding: "UTF-8" diff --git a/data/resume_parser_api.json b/data/resume_parser_api.json new file mode 100644 index 0000000..7456dbf --- /dev/null +++ b/data/resume_parser_api.json @@ -0,0 +1,9 @@ +{ + "model": "llama3.3-70b", + "messages": [ + { + "role": "user", + "content": "You are a resume parser. You will extract information from this resume and put them in a .json file. The keys of your dictionary will be first_name, last_name, location, work_experience, school_experience, skills. In selecting the information, keep track of the most insightful. " + } + ] +} diff --git a/renv.lock b/renv.lock index 405032f..f8169b0 100644 --- a/renv.lock +++ b/renv.lock @@ -9,6 +9,44 @@ ] }, "Packages": { + "box": { + "Package": "box", + "Version": "1.2.0", + "Source": "Repository", + "Title": "Write Reusable, Composable and Modular R Code", + "Authors@R": "c( person( 'Konrad', 'Rudolph', email = 'konrad.rudolph@gmail.com', role = c('aut', 'cre'), comment = c(ORCID = '0000-0002-9866-7051') ), person( 'Michael', 'Schubert', email = 'mschu.dev@gmail.com', role = 'ctb', comment = c(ORCID = '0000-0002-6862-5221') ) )", + "URL": "https://klmr.me/box/, https://github.com/klmr/box", + "BugReports": "https://github.com/klmr/box/issues", + "Description": "A modern module system for R. Organise code into hierarchical, composable, reusable modules, and use it effortlessly across projects via a flexible, declarative dependency loading syntax.", + "Depends": [ + "R (>= 3.6.0)" + ], + "Imports": [ + "tools" + ], + "License": "MIT + file LICENSE", + "Encoding": "UTF-8", + "Suggests": [ + "devtools", + "knitr (>= 1.40)", + "rmarkdown", + "R6", + "rlang", + "roxygen2 (>= 7.2.1)", + "shiny", + "stringr", + "testthat (>= 3.1.7)" + ], + "Enhances": [ + "rstudioapi" + ], + "VignetteBuilder": "knitr", + "RoxygenNote": "7.3.1", + "NeedsCompilation": "yes", + "Author": "Konrad Rudolph [aut, cre] (), Michael Schubert [ctb] ()", + "Maintainer": "Konrad Rudolph ", + "Repository": "CRAN" + }, "renv": { "Package": "renv", "Version": "1.1.0", diff --git a/src/file_loaders.R b/src/file_loaders.R new file mode 100644 index 0000000..489f0e3 --- /dev/null +++ b/src/file_loaders.R @@ -0,0 +1,8 @@ +rm(list = ls(all = TRUE)) #Clear the variables from previous runs + +# ---- Load Packages ---- +box::use( + pdftools +) + +