All functions

client_responses()

Function to sent HTTP request to OpenAI

extract_ggplot_code()

Extract ggplot from qmd/rmd

extract_paragraph()

Function that extract reference text using chunk_label

find_chunk_location()

Function to find chunk location in the original document

find_reference_text()

Function to find reference text

generate_alt_text()

Function to generate alt-text for data visualisations in a Quarto or R Markdown file

parse_code()

Function to extract all code chunks from a .txt file