Package atessera.sensei.agents
Interface DirectorySelector
public interface DirectorySelector
Finds a laboratory work directory using an LLM agent.
The agent is given a SourceCodeReader as its tool. It explores the base
directory and returns the relative path of the subdirectory matching requested parameters.
-
Method Summary
Modifier and TypeMethodDescriptionstatic DirectorySelectorcreate(dev.langchain4j.model.chat.ChatModel chatModel, SourceCodeReader sourceCodeReader) Creates a new instance ofDirectorySelector.
-
Method Details
-
find
-
create
static DirectorySelector create(dev.langchain4j.model.chat.ChatModel chatModel, SourceCodeReader sourceCodeReader) Creates a new instance ofDirectorySelector.- Parameters:
chatModel- language model to usesourceCodeReader- tool for reading source files- Returns:
- constructed agent instance
-