Generate BibTeX citations from various input formats using the OpenAI web search API.
# by vague title
cite "chetty et al social capital I 2022 nature"
# @article{chetty-etal-2022-social-capital-i,
# author = {Chetty, Raj and Jackson, Matthew O. and Kuchler, Theresa and
# Stroebel, Johannes and Hendren, Nathaniel and Fluegge, Robert B. and
# Gong, Sara and Gonzalez, Federico and Grondin, Armelle and Jacob,
# Matthew and Johnston, Drew and Koenen, Martin and Laguna-Muggenburg,
# Eduardo and Mudekereza, Florian and Rutter, Tom and Thor, Nicolaj and
# Townsend, Wilbur and Zhang, Ruby and Bailey, Mike and Barber{\'a},
# Pablo and Bhole, Monica and Wernerfelt, Nils},
# title = {Social capital I: measurement and associations with economic
# mobility},
# journal = {Nature},
# year = {2022},
# volume = {608},
# number = {7921},
# pages = {108--121},
# month = aug,
# doi = {10.1038/s41586-022-04996-4},
# url = {https://www.nature.com/articles/s41586-022-04996-4}
# }
# by pdf url
cite "https://opportunityinsights.org/wp-content/uploads/2018/03/teachers2.pdf"
# @article{chetty-etal-2014-teacher-value-added,
# author = {Chetty, Raj and Friedman, John N. and Rockoff, Jonah E.},
# title = {Measuring the Impacts of Teachers II: Teacher Value-Added and
# Student Outcomes in Adulthood},
# journal = {American Economic Review},
# year = {2014},
# volume = {104},
# number = {9},
# pages = {2633--2679},
# month = sep,
# doi = {10.1257/aer.104.9.2633},
# url = {https://doi.org/10.1257/aer.104.9.2633}
# }
# by DOI
cite "doi:10.1001/jama.2016.4226"
# @article{chetty-etal-2016-income-life-expectancy,
# author = {Chetty, Raj and Stepner, Michael and Abraham, Sarah and Lin,
# Shelby and Scuderi, Benjamin and Turner, Nicholas and Bergeron,
# Augustin and Cutler, David},
# title = {The Association Between Income and Life Expectancy in the United
# States, 2001--2014},
# journal = {JAMA},
# year = {2016},
# volume = {315},
# number = {16},
# pages = {1750--1766},
# month = apr,
# doi = {10.1001/jama.2016.4226},
# url = {https://jamanetwork.com/journals/jama/article-abstract/2513561}
# }