- Resource: Engine
- ChatEngineConfig
- AgentCreationConfig
- SearchEngineConfig
- SearchTier
- SearchAddOn
- MediaRecommendationEngineConfig
- OptimizationObjectiveConfig
- TrainingState
- EngineFeaturesConfig
- RecommendedForYouFeatureConfig
- MostPopularFeatureConfig
- ChatEngineMetadata
- CommonConfig
- Methods
Resource: Engine
Metadata that describes the training and serving parameters of an Engine
.
JSON representation |
---|
{ "name": string, "displayName": string, "createTime": string, "updateTime": string, "dataStoreIds": [ string ], "solutionType": enum ( |
Fields | |
---|---|
name |
Immutable. Identifier. The fully qualified resource name of the engine. This field must be a UTF-8 encoded string with a length limit of 1024 characters. Format: |
displayName |
Required. The display name of the engine. Should be human readable. UTF-8 encoded string with limit of 1024 characters. |
createTime |
Output only. Timestamp the Recommendation Engine was created at. Uses RFC 3339, where generated output will always be Z-normalized and uses 0, 3, 6 or 9 fractional digits. Offsets other than "Z" are also accepted. Examples: |
updateTime |
Output only. Timestamp the Recommendation Engine was last updated. Uses RFC 3339, where generated output will always be Z-normalized and uses 0, 3, 6 or 9 fractional digits. Offsets other than "Z" are also accepted. Examples: |
dataStoreIds[] |
Optional. The data stores associated with this engine. For If Note that when used in |
solutionType |
Required. The solutions of the engine. |
industryVertical |
Optional. The industry vertical that the engine registers. The restriction of the Engine industry vertical is based on |
commonConfig |
Common config spec that specifies the metadata of the engine. |
disableAnalytics |
Optional. Whether to disable analytics for searches performed on this engine. |
Union field engine_config . Additional config specs that defines the behavior of the engine. engine_config can be only one of the following: |
|
chatEngineConfig |
Configurations for the Chat Engine. Only applicable if |
searchEngineConfig |
Configurations for the Search Engine. Only applicable if |
mediaRecommendationEngineConfig |
Configurations for the Media Engine. Only applicable on the data stores with |
Union field engine_metadata . Engine metadata to monitor the status of the engine. engine_metadata can be only one of the following: |
|
chatEngineMetadata |
Output only. Additional information of the Chat Engine. Only applicable if |
ChatEngineConfig
Configurations for a Chat Engine.
JSON representation |
---|
{
"agentCreationConfig": {
object ( |
Fields | |
---|---|
agentCreationConfig |
The configurationt generate the Dialogflow agent that is associated to this Engine. Note that these configurations are one-time consumed by and passed to Dialogflow service. It means they cannot be retrieved using |
dialogflowAgentToLink |
The resource name of an exist Dialogflow agent to link to this Chat Engine. Customers can either provide Format: Note that the |
allowCrossRegion |
Optional. If the flag set to true, we allow the agent and engine are in different locations, otherwise the agent and engine are required to be in the same location. The flag is set to false by default. Note that the |
AgentCreationConfig
Configurations for generating a Dialogflow agent.
Note that these configurations are one-time consumed by and passed to Dialogflow service. It means they cannot be retrieved using EngineService.GetEngine
or EngineService.ListEngines
API after engine creation.
JSON representation |
---|
{ "business": string, "defaultLanguageCode": string, "timeZone": string, "location": string } |
Fields | |
---|---|
business |
Name of the company, organization or other entity that the agent represents. Used for knowledge connector LLM prompt and for knowledge search. |
defaultLanguageCode |
Required. The default language of the agent as a language tag. See Language Support for a list of the currently supported language codes. |
timeZone |
Required. The time zone of the agent from the time zone database, e.g., America/New_York, Europe/Paris. |
location |
Agent location for Agent creation, supported values: global/us/eu. If not provided, us Engine will create Agent using us-central-1 by default; eu Engine will create Agent using eu-west-1 by default. |
SearchEngineConfig
Configurations for a Search Engine.
JSON representation |
---|
{ "searchTier": enum ( |
Fields | |
---|---|
searchTier |
The search feature tier of this engine. Different tiers might have different pricing. To learn more, check the pricing documentation. Defaults to |
searchAddOns[] |
The add-on that this search engine enables. |
SearchTier
Tiers of search features. Different tiers might have different pricing. To learn more, check the pricing documentation.
Enums | |
---|---|
SEARCH_TIER_UNSPECIFIED |
Default value when the enum is unspecified. This is invalid to use. |
SEARCH_TIER_STANDARD |
Standard tier. |
SEARCH_TIER_ENTERPRISE |
Enterprise tier. |
SearchAddOn
Add-on that provides additional functionality for search.
Enums | |
---|---|
SEARCH_ADD_ON_UNSPECIFIED |
Default value when the enum is unspecified. This is invalid to use. |
SEARCH_ADD_ON_LLM |
Large language model add-on. |
MediaRecommendationEngineConfig
Additional config specs for a Media Recommendation engine.
JSON representation |
---|
{ "type": string, "optimizationObjective": string, "optimizationObjectiveConfig": { object ( |
Fields | |
---|---|
type |
Required. The type of engine. e.g., This field together with Currently supported values: |
optimizationObjective |
The optimization objective. e.g., This field together with Currently supported values: If not specified, we choose default based on engine type. Default depends on type of recommendation:
|
optimizationObjectiveConfig |
Name and value of the custom threshold for cvr optimizationObjective. For targetField |
trainingState |
The training state that the engine is in (e.g. Since part of the cost of running the service is frequency of training - this can be used to determine when to train engine in order to control cost. If not specified: the default value for |
engineFeaturesConfig |
Optional. Additional engine features config. |
OptimizationObjectiveConfig
Custom threshold for cvr
optimizationObjective.
JSON representation |
---|
{ "targetField": string, "targetFieldValueFloat": number } |
Fields | |
---|---|
targetField |
Required. The name of the field to target. Currently supported values: |
targetFieldValueFloat |
Required. The threshold to be applied to the target (e.g., 0.5). |
TrainingState
The training state of the engine.
Enums | |
---|---|
TRAINING_STATE_UNSPECIFIED |
Unspecified training state. |
PAUSED |
The engine training is paused. |
TRAINING |
The engine is training. |
EngineFeaturesConfig
More feature configs of the selected engine type.
JSON representation |
---|
{ // Union field |
Fields | |
---|---|
Union field type_dedicated_config . Feature related configurations applied to a specific type of meida recommendation engines. type_dedicated_config can be only one of the following: |
|
recommendedForYouConfig |
Recommended for you engine feature config. |
mostPopularConfig |
Most popular engine feature config. |
RecommendedForYouFeatureConfig
Additional feature configurations for creating a recommended-for-you
engine.
JSON representation |
---|
{ "contextEventType": string } |
Fields | |
---|---|
contextEventType |
The type of event with which the engine is queried at prediction time. If set to |
MostPopularFeatureConfig
Feature configurations that are required for creating a Most Popular engine.
JSON representation |
---|
{ "timeWindowDays": string } |
Fields | |
---|---|
timeWindowDays |
The time window of which the engine is queried at training and prediction time. Positive integers only. The value translates to the last X days of events. Currently required for the |
ChatEngineMetadata
Additional information of a Chat Engine. Fields in this message are output only.
JSON representation |
---|
{ "dialogflowAgent": string } |
Fields | |
---|---|
dialogflowAgent |
The resource name of a Dialogflow agent, that this Chat Engine refers to. Format: |
CommonConfig
Common configurations for an Engine.
JSON representation |
---|
{ "companyName": string } |
Fields | |
---|---|
companyName |
The name of the company, business or entity that is associated with the engine. Setting this may help improve LLM related features. |
Methods |
|
---|---|
|
Creates a Engine . |
|
Deletes a Engine . |
|
Gets a Engine . |
|
Lists all the Engine s associated with the project. |
|
Updates an Engine |
|
Pauses the training of an existing engine. |
|
Resumes the training of an existing engine. |
|
Tunes an existing engine. |