-
Notifications
You must be signed in to change notification settings - Fork 771
Synthesize RED-TEAM #857
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Synthesize RED-TEAM #857
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
|
||
def generate_goldens( | ||
self, | ||
contexts: List[List[str]], | ||
synthesizer: BaseSynthesizer = None, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Was this deleted because of circular import? Need to let users define their own synthesizer, can make it untyped synthesizer = None
but check for type in the method using is_instance(synthesizer, BaseSynthesizer)
) | ||
) | ||
|
||
def generate_goldens_from_docs( | ||
self, | ||
document_paths: List[str], | ||
synthesizer: BaseSynthesizer = None, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Same here
deepeval/dataset/dataset.py
Outdated
) | ||
) | ||
print(self.goldens) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Rmb to delete
No description provided.