GraphAgentServiceBuilder

A builder class for constructing a GraphAIAgentService with configurable properties such as prompt executor, model, tool registry, prompts, and various other configurations.

Parameters

Input

The input type for the AI agent graph service.

Output

The output type for the AI agent graph service.

Functions

Link copied to clipboard

Configures the agent with the specified parameters from the provided AIAgentConfig instance.

Link copied to clipboard

Builds and returns an instance of GraphAIAgentService configured with the specified parameters.

Link copied to clipboard

Installs a specified feature into the GraphServiceBuilder and applies the given configuration to it.

Link copied to clipboard

Sets the Large Language Model (LLM) for the current GraphServiceBuilder instance.

Link copied to clipboard

Sets the maximum number of iterations to be used in the graph processing service. This parameter controls how many processing cycles will be executed.

Link copied to clipboard

Sets the number of choices that the service will consider during processing.

Link copied to clipboard

Sets the prompt to be used by the GraphServiceBuilder.

Link copied to clipboard

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.

Link copied to clipboard

Sets the system prompt for the GraphServiceBuilder, defining the initial context or instructions to be used by the language model.

Link copied to clipboard

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.

Link copied to clipboard

Sets the ToolRegistry to be used by the GraphServiceBuilder.