Skip to contents

use Anh Vu's OpenAI prompting to develop structured metadata about Bioconductor packages, targeting EDAM ontology and bio.tools schema

Usage

curate_bioc(
  packageName = "chromVAR",
  devurl =
    "https://raw.githubusercontent.com/GreenleafLab/chromVAR/refs/heads/master/README.md"
)

Arguments

packageName

character(1) a Bioconductor software package name, its release landing page will be scraped

devurl

character(1) a URL for doc originating from the developer

Value

two python dicts, base_final and edam_processed

Note

Schema completion is done with temperature set to 0.0; see edamize function for more flexibility.

Examples

if (interactive()) {
  key = Sys.getenv("OPENAI_API_KEY")
  if (nchar(key)==0) stop("need to have OPENAI_API_KEY set")
  lk = curate_bioc()
  str(lk)
}