BetaAgentsOperations Class

Custom operations for beta agents.

Constructor

BetaAgentsOperations(*args, **kwargs)

Methods

create_from_prompt

Generate an agent.

Generates and creates an agent from kind-specific high-level inputs. The generated definition remains fully editable through the standard agent versioning operations.

create_from_prompt

Generate an agent.

Generates and creates an agent from kind-specific high-level inputs. The generated definition remains fully editable through the standard agent versioning operations.

create_from_prompt(body: _unions.GenerateAgentRequest, **kwargs: Any) -> AgentDetails

Parameters

Name Description
body
Required

The kind-specific inputs for generating and creating an agent. Is one of the following types: GenerateVoiceAgentRequest Required.

Returns

Type Description

AgentDetails. The AgentDetails is compatible with MutableMapping

Exceptions

Type Description