systemPrompt

expect open override fun systemPrompt(systemPrompt: String): AIAgentServiceBuilder(source)

Sets a system-level instruction or context for the AI agent. The provided string serves as the system prompt, defining the role or behavior of the AI within the generated service.

Return

The current instance of AIAgentServiceBuilder with the updated system prompt.

Parameters

systemPrompt

The system-level instruction to configure the prompt.

actual open override fun systemPrompt(systemPrompt: String): AIAgentServiceBuilder(source)

Sets a system-level instruction or context for the AI agent. The provided string serves as the system prompt, defining the role or behavior of the AI within the generated service.

Return

The current instance of AIAgentServiceBuilder with the updated system prompt.

Parameters

systemPrompt

The system-level instruction to configure the prompt.

actual open override fun systemPrompt(systemPrompt: String): AIAgentServiceBuilder(source)

Sets a system-level instruction or context for the AI agent. The provided string serves as the system prompt, defining the role or behavior of the AI within the generated service.

Return

The current instance of AIAgentServiceBuilder with the updated system prompt.

Parameters

systemPrompt

The system-level instruction to configure the prompt.