Open AliHaider0343 opened 3 months ago
[ ] I checked the documentation and related resources and couldn't find an answer to my question.
Your Question what is unclear to you? What would you like to know?
Code Examples This community speaks code. Share your code snippets to help us understand your question better.
Additional context Anything else you want to share with us?
generator = TestsetGenerator.from_langchain( generator_llm, critic_llm, embeddings )
testset = generator.generate_with_langchain_docs( documents, test_size=3, distributions={ 'simple': 0.5, 'reasoning': 0.25, 'multi_context': 0.25 } )
I had this same issue but it got solved after dividing the whole code into main and worker scripts.
I'm also running into this issue
[ ] I checked the documentation and related resources and couldn't find an answer to my question.
Your Question what is unclear to you? What would you like to know?
Code Examples This community speaks code. Share your code snippets to help us understand your question better.
Additional context Anything else you want to share with us?
Code
generator = TestsetGenerator.from_langchain( generator_llm, critic_llm, embeddings )
testset = generator.generate_with_langchain_docs( documents, test_size=3, distributions={ 'simple': 0.5, 'reasoning': 0.25, 'multi_context': 0.25 } )