Closed xuzeyu91 closed 3 months ago
This error has not been resolved,Have you tested this code and it can run smoothly? @kbeaugrand
System.InvalidOperationException:“A suitable constructor for type 'Microsoft.KernelMemory.Evaluation.TestSetGenerator' could not be located. Ensure the type is concrete and services are registered for all parameters of a public constructor.”
my bad @xuzeyu91. This application is still in progress and the code remains in really early stage. Sorry for the missing and the bugs.
I provided a new update with functional tests at #657.
Thank you very much. It can now run normally
Context / Scenario
I am working on a RAG project
What happened?
https://github.com/microsoft/kernel-memory/pull/519 It can run normally before this PR And now I have reported the error above
I have reviewed the code for this PR and found it in the Return this. _serviceCollection. BuildServiceProvider() . GetRequiredService();
There is an error here, I did not see how TestSetGenerator was injected into the _serviceCollection
Importance
a fix would make my life easier
Platform, Language, Versions
The latest version
Relevant log output
No response