% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/zzz.R
\name{set_coding_instruction}
\alias{set_coding_instruction}
\title{Set Coding Instructions for AI Models}
\usage{
set_coding_instruction(instruction)
}
\arguments{
\item{instruction}{Character. A string containing the coding instruction that
tells the AI model how to process and format the text data. Should specify
the expected output format (typically CSV-structured responses).}
}
\value{
Character. A confirmation message indicating the instruction has been set.
}
\description{
This function sets the coding instructions that will be used by AI models
to extract machine-readable variables from natural language text. The instruction
defines how the AI should format and structure its responses.
}
\details{
The coding instruction is stored in the package's internal environment and
is automatically retrieved by processing functions. This instruction typically
defines:
\itemize{
\item Expected output format (e.g., CSV structure)
\item Variable definitions and coding schemes
\item Response formatting requirements
}
}
\examples{
\dontrun{
instruction <- "Extract sentiment and topics from posts. Return as CSV: id,sentiment,topic"
set_coding_instruction(instruction)
}

}
