Waiting for engine...
Skip to main content

aiAgentLlmCreate

This GraphQL mutation is designed to create a language model for a specified provider account and establish associations with agents DRAFT versions.

Description: This mutation creates language model for a specified provider account and establish associations with specified agents DRAFT versions.

Input Parameters (AiAgentLlmCreateInput):

  • providerAccountId: ID! - Required. Provider account guid.
  • name: String! - Required. Name of the LLM.
  • description: String - Optional. Description of the LLM.
  • agentIds: [ID!] - Optional. List of AI Agent IDs to associate with this llm. This will associate to DRAFT version of those agents.

Response:

  • Returns the newly created AiAgentLlm object.

Example Request:

mutation {
aiAgentLlmCreate(input: {
providerAccountId: "provider-account-guid"
name: "OpenAI GPT-4o"
description: "Advanced language model for AI agents"
agentIds: ["agent-guid-1", "agent-guid-2"]
}) {
id
name
description
agentVersions {
id
name
version
}
}
}

aiAgentLlmCreate(
input: AiAgentLlmCreateInput!
): AiAgentLlm

Arguments

aiAgentLlmCreate.input ● AiAgentLlmCreateInput! non-null input agent-control-tower

Type

AiAgentLlm object agent-control-tower

On this Page