你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。

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