Interface protos.google.cloud.ces.v1beta.Guardrail.ILlmPolicy (0.2.0)

Properties of a LlmPolicy.

Package

@google-cloud/ces

Properties

allowShortUtterance

allowShortUtterance?: (boolean|null);

LlmPolicy allowShortUtterance

failOpen

failOpen?: (boolean|null);

LlmPolicy failOpen

maxConversationMessages

maxConversationMessages?: (number|null);

LlmPolicy maxConversationMessages

modelSettings

modelSettings?: (google.cloud.ces.v1beta.IModelSettings|null);

LlmPolicy modelSettings

policyScope

policyScope?: (google.cloud.ces.v1beta.Guardrail.LlmPolicy.PolicyScope|keyof typeof google.cloud.ces.v1beta.Guardrail.LlmPolicy.PolicyScope|null);

LlmPolicy policyScope

prompt

prompt?: (string|null);

LlmPolicy prompt