Skip to content

Conversation

@thekaranacharya
Copy link
Contributor

@thekaranacharya thekaranacharya commented Mar 14, 2024

  • Add keyword argument on to both Guard().use() and Guard().use_many() to specify where the validation will take place. Valid options for on are : prompt, instructions, msg_history and output. This is as per new design choices for a better developer experience.
  • Refactor use() and use_many() accordingly to make these changes
  • Add both unit and integration tests that significantly and especially prompt and output validation.
  • The following methods are now deprecated:
    • with_prompt_validation
    • with_msg_history_validation
    • with_instructions_validation

@thekaranacharya thekaranacharya self-assigned this Mar 14, 2024
@thekaranacharya thekaranacharya marked this pull request as ready for review March 14, 2024 22:24
@thekaranacharya thekaranacharya merged commit 9dcee17 into main Mar 15, 2024
@thekaranacharya thekaranacharya deleted the karan/lite-chaining branch March 15, 2024 17:28
@thekaranacharya thekaranacharya added the enhancement New feature or request label Mar 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants