MovieScript
for us.
MovieScript
class, here’s how it looks:
parser_model
can be employed to transform the raw response into structured output, replacing the default model for this specific task. This approach is particularly effective when the primary model is optimized for reasoning tasks, as such models may not consistently produce detailed structured responses.
parser_model_prompt
to your Parser Model.
response_model
. This returns the structured output as a single event in the stream of events.