Class QueryTools

java.lang.Object
ai.chatur.cortex.spring.query.QueryTools

public class QueryTools extends Object
MCP tools that let AI agents interrogate the knowledge graph with SPARQL queries and full-text search.
  • Constructor Details

    • QueryTools

      public QueryTools(ai.chatur.cortex.CortexQuery cortexQuery, ai.chatur.cortex.CortexSearch cortexSearch)
      Creates the tools.
      Parameters:
      cortexQuery - the query role used to run SPARQL queries
      cortexSearch - the search role used for full-text search