use Anh Vu's OpenAI prompting to develop structured metadata about Bioconductor packages, targeting EDAM ontology and bio.tools schema
Source:R/curate_bioc.R
curate_bioc.Rd
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"
)
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)
}