mirror of
https://github.com/MindWorkAI/AI-Studio.git
synced 2026-10-17 06:57:59 +00:00
Search the data sources with the query the model writes
This commit is contained in:
7 files changed
+369
-11
No files matched your search
@@ -89,7 +89,7 @@ public sealed class SemanticSearchToolDescriptionTests
|
||||
private static ToolFunctionDefinition Describe(params (IDataSource DataSource, string Description)[] dataSources)
|
||||
{
|
||||
// Stating its definition needs none of the services the tool searches with:
|
||||
var registered = new SemanticSearchTool(null!, null!, null!).GetDefinition().Function;
|
||||
var registered = new SemanticSearchTool(null!, null!, null!, null!, null!).GetDefinition().Function;
|
||||
return SemanticSearchTool.DescribeDataSources(registered, dataSources);
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user