View source: R/gpt_annot_check.R
gpt_annot_check | R Documentation |
Check GPT phenotype annotations using a several metrics.
gpt_annot_check(
annot = gpt_annot_read(),
query_hits = search_hpo(),
response_map = list(no = "never", yes = "always"),
pos_values = c("sometimes", "often", "always"),
neg_values = c("never", "rarely"),
verbose = TRUE
)
annot |
GPT-generated phenotype annotations. |
query_hits |
A named list of HPO IDs for each query, generated by search_hpo. These will be used as the ground truth when trying to identify true positive annotations. |
response_map |
A named list of responses to map onto. Used for standardisation of responses. |
pos_values |
Positive values. |
neg_values |
Negative values. |
verbose |
Print messages. |
Named list
checks <- gpt_annot_check()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.