- Resource: Engine
- SimilarDocumentsEngineConfig
- ChatEngineConfig
- AgentCreationConfig
- SearchEngineConfig
- SearchTier
- SearchAddOn
- MediaRecommendationEngineConfig
- OptimizationObjectiveConfig
- TrainingState
- RecommendationMetadata
- ServingState
- DataState
- 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. 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: |
display |
Required. The display name of the engine. Should be human readable. UTF-8 encoded string with limit of 1024 characters. |
create |
Output only. Timestamp the Recommendation Engine was created at. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: |
update |
Output only. Timestamp the Recommendation Engine was last updated. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: |
data |
The data stores associated with this engine. For If Note that when used in |
solution |
Required. The solutions of the engine. |
industry |
The industry vertical that the engine registers. The restriction of the Engine industry vertical is based on |
common |
Common config spec that specifies the metadata of the engine. |
disable |
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: |
|
similar |
Additional config specs for a |
chat |
Configurations for the Chat Engine. Only applicable if |
search |
Configurations for the Search Engine. Only applicable if |
media |
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: |
|
recommendation |
Output only. Additional information of a recommendation engine. Only applicable if |
chat |
Output only. Additional information of the Chat Engine. Only applicable if |
SimilarDocumentsEngineConfig
This type has no fields.
Additional config specs for a similar-items
engine.
ChatEngineConfig
Configurations for a Chat Engine.
JSON representation |
---|
{
"agentCreationConfig": {
object ( |
Fields | |
---|---|
agent |
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 |
dialogflow |
The resource name of an exist Dialogflow agent to link to this Chat Engine. Customers can either provide Format: 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. |
default |
Required. The default language of the agent as a language tag. See Language Support for a list of the currently supported language codes. |
time |
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 | |
---|---|
search |
The search feature tier of this engine. Different tiers might have different pricing. To learn more, check the pricing documentation. Defaults to |
search |
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 [optimizationObjective][Engine.optimization_objective] describe engine metadata to use to control engine training and serving. Currently supported values: |
optimization |
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:
|
optimization |
Name and value of the custom threshold for cvr optimizationObjective. For targetField |
training |
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 |
OptimizationObjectiveConfig
Custom threshold for cvr
optimizationObjective.
JSON representation |
---|
{ "targetField": string, "targetFieldValueFloat": number } |
Fields | |
---|---|
target |
Required. The name of the field to target. Currently supported values: |
target |
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. |
RecommendationMetadata
Additional information of a recommendation engine.
JSON representation |
---|
{ "servingState": enum ( |
Fields | |
---|---|
serving |
Output only. The serving state of the engine: |
data |
Output only. The state of data requirements for this engine: Engine cannot be trained if the data is in |
last |
Output only. The timestamp when the latest successful tune finished. Only applicable on Media Recommendation engines. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: |
tuning |
Output only. The latest tune operation id associated with the engine. Only applicable on Media Recommendation engines. If present, this operation id can be used to determine if there is an ongoing tune for this engine. To check the operation status, send the operations.get request with this operation id in the engine resource format. If no tuning has happened for this engine, the string is empty. |
ServingState
The serving state of the recommendation engine.
Enums | |
---|---|
SERVING_STATE_UNSPECIFIED |
Unspecified serving state. |
INACTIVE |
The engine is not serving. |
ACTIVE |
The engine is serving and can be queried. |
TUNED |
The engine is trained on tuned hyperparameters and can be queried. |
DataState
Describes whether this engine have sufficient training data to be continuously trained.
Enums | |
---|---|
DATA_STATE_UNSPECIFIED |
Unspecified default value, should never be explicitly set. |
DATA_OK |
The engine has sufficient training data. |
DATA_ERROR |
The engine does not have sufficient training data. Error messages can be queried via Stackdriver. |
ChatEngineMetadata
Additional information of a Chat Engine. Fields in this message are output only.
JSON representation |
---|
{ "dialogflowAgent": string } |
Fields | |
---|---|
dialogflow |
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 | |
---|---|
company |
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 . |
|
Gets a CompletionConfig |
|
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. |
|
Updates the CompletionConfig s. |