defmodel_field_choices_prompt(model_field:Field,choices:TextChoices,)->Prompt:model_name=model_field.field.model.__name__field_name=model_field.field.namereturn(Prompt().heading(f'Generate values for {field_name} in {model_name} model').text(f'The value for the {field_name} field should only be selected from the following list of choices.').list([choice[0]forchoiceinchoices]))