Skip to main content

string_list_response_format

Function string_list_response_format 

Source
pub fn string_list_response_format(
    name: &str,
    property: &str,
) -> LLMRequestResponseFormatParam
Expand description

The structured output format for a feature whose whole answer is a list of strings.

name is what Azure, and the test-mode mock Azure API, identify the format by, so it has to name the feature rather than the shape. property is the single key the list arrives under.