Class GenerateAppResourceRequest (0.4.0)

GenerateAppResourceRequest(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Request message for AgentService.GenerateAppResource.

This message has oneof_ fields (mutually exclusive fields). For each oneof, at most one member field can be set at the same time. Setting any member of the oneof automatically clears all other members.

.. _oneof: https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields

Attributes

Name Description
agent google.cloud.ces_v1beta.types.Agent
The agent resource to be used by the LLM assistant, can be empty for generating a new agent. This field is a member of oneof_ resource.
tool google.cloud.ces_v1beta.types.Tool
The tool resource to be used by the LLM assistant, can be empty for generating a new tool. This field is a member of oneof_ resource.
toolset google.cloud.ces_v1beta.types.Toolset
The toolset resource to be used by the LLM assistant, can be empty for generating a new toolset. This field is a member of oneof_ resource.
parent str
Required. The resource name of the app to generate the resource for.
refine_instructions MutableSequence[google.cloud.ces_v1beta.types.GenerateAppResourceRequest.RefineInstructions]
Optional. List of refine instructions to be used to refine the resource.
tool_generation_config google.cloud.ces_v1beta.types.GenerateAppResourceRequest.ToolGenerationConfig
Optional. The configuration to be used to generate the tool.
app_generation_config google.cloud.ces_v1beta.types.GenerateAppResourceRequest.AppGenerationConfig
Optional. The configuration to be used to generate the agents and tools.
evaluation_generation_config google.cloud.ces_v1beta.types.GenerateAppResourceRequest.EvaluationGenerationConfig
Optional. The configuration to be used to generate the evaluations.
evaluation_personas_generation_config google.cloud.ces_v1beta.types.GenerateAppResourceRequest.EvaluationPersonasGenerationConfig
Optional. The configuration to be used to generate the evaluation personas.
quality_report_generation_config google.cloud.ces_v1beta.types.GenerateAppResourceRequest.QualityReportGenerationConfig
Optional. The configuration to be used for quality report generation.
hill_climbing_fix_config google.cloud.ces_v1beta.types.GenerateAppResourceRequest.HillClimbingFixConfig
Optional. The configuration to be used for hill climbing fixes.

Classes

AppGenerationConfig

AppGenerationConfig(mapping=None, *, ignore_unknown_fields=False, **kwargs)

The configuration to be used to generate the app.

EvaluationGenerationConfig

EvaluationGenerationConfig(mapping=None, *, ignore_unknown_fields=False, **kwargs)

The configuration to be used to generate the evaluations.

EvaluationPersonasGenerationConfig

EvaluationPersonasGenerationConfig(
    mapping=None, *, ignore_unknown_fields=False, **kwargs
)

The configuration to be used to generate the evaluation personas.

HillClimbingFixConfig

HillClimbingFixConfig(mapping=None, *, ignore_unknown_fields=False, **kwargs)

The configuration to be used for hill climbing fixes.

QualityReportGenerationConfig

QualityReportGenerationConfig(
    mapping=None, *, ignore_unknown_fields=False, **kwargs
)

The configuration to be used for quality report generation.

RefineInstructions

RefineInstructions(mapping=None, *, ignore_unknown_fields=False, **kwargs)

The instructions to be used to refine a part of the resource. The part of the resource can be specified with a start index, end index and a field mask. For example, if you want to refine a part of the agent instructions you can specify the index of the first character of the instructions, the index of the last character of the instructions and the field mask as "instructions".

ToolGenerationConfig

ToolGenerationConfig(mapping=None, *, ignore_unknown_fields=False, **kwargs)

The configuration to be used to generate a tool.