Links indicate relevance, not agreement. How to use this site →
Post-conditions pattern:
@ai_function(post_conditions=[check_length, check_style], max_attempts=5)
def summarize_meeting(transcripts: str) -> MeetingSummary:
"""Write a summary of the following meeting in less than 50 words."""
Post-conditions can be plain Python assertions or other AI Functions. The function only returns once eve