Waiting for engine...
Skip to main content

aiAgentLlmCreate

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

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

Input Parameters (AiAgentLlmCreateInput):

  • providerAccountId: ID! - Required. Provider account guid.
  • name: String! - Required. Name of the LLM.
  • version: String - Optional. Version for the LLM, version could be null, a string like "DRAFT" or numeric.
  • description: String - Optional. Description of the LLM.
  • externalId: String - Optional. External id of the LLM if available.
  • agentVersionIds: [String!] - Optional. One or more agent version guids to which LLM need to be associated.

Response:

  • Returns the newly created AiAgentLlm object.

Example Request:

mutation {
aiAgentLlmCreate(input: {
providerAccountId: "provider-account-guid"
name: "OpenAI GPT-4o"
version: "v1.0"
description: "Advanced language model for AI agents"
externalId: "external-id"
agentVersionIds: ["agent-version-guid-1", "agent-version-guid-2"]
}) {
id
version
name
description
externalId
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