-
Notifications
You must be signed in to change notification settings - Fork 342
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
Generate Your First Golden - Using Custom model #1216
Comments
Hey @pratikchhapolika , if you don't supply an OpenAI API key, DeepEval uses the OpenAI model as the critic model for filtering unqualified goldens. You can easily avoid this by defining your own custom FiltrationConfig with the custom model you've defined for generation. |
I am seeing the same error @kritinv
|
I also find this doc to be misleading: https://docs.confident-ai.com/docs/guides-using-custom-embedding-models#:~:text=from%20deepeval.synthesizer%20import%20Synthesizer%0A...%0A%0Asynthesizer%20%3D%20Synthesizer(embedder%3DCustomEmbeddingModel())
Shoud we pass, chat model to both Synthesizer and filtration_config or the embedding model. Which model does it uses to convert pdf to text? |
I am following this link: https://docs.confident-ai.com/docs/synthesizer-introduction#:~:text=begin%20generating%20goldens.-,from%20deepeval.synthesizer%20import%20Synthesizer,-...
Browser:
Chrome
Python:
3.12
deepeval version:
'2.0.3'
Jupyter Notebook
on Macbook 16 ProNote: This custom model works fine when evaluating on metrics.
Custom model using
AzureOpenAI
Generate Your First Golden
ERROR TRACE
The text was updated successfully, but these errors were encountered: