GraphAgentServiceBuilder
A builder class for constructing a GraphAIAgentService with configurable properties such as prompt executor, model, tool registry, prompts, and various other configurations.
Parameters
The input type for the AI agent graph service.
The output type for the AI agent graph service.
Functions
Configures the agent with the specified parameters from the provided AIAgentConfig instance.
Builds and returns an instance of GraphAIAgentService configured with the specified parameters.
Installs a specified feature into the GraphServiceBuilder and applies the given configuration to it.
Sets the maximum number of iterations to be used in the graph processing service. This parameter controls how many processing cycles will be executed.
Sets the number of choices that the service will consider during processing.
Sets the prompt executor for the GraphServiceBuilder. The prompt executor is responsible for handling the interaction with the language model based on the provided prompts and configurations.
Sets the system prompt for the GraphServiceBuilder, defining the initial context or instructions to be used by the language model.
Sets the temperature parameter for the GraphServiceBuilder. The temperature controls the randomness of the model's output, where a lower value results in more deterministic results, and a higher value increases variability.
Sets the ToolRegistry to be used by the GraphServiceBuilder.