Skip to content

Latest commit

 

History

History
95 lines (48 loc) · 1.35 KB

File metadata and controls

95 lines (48 loc) · 1.35 KB

@cdklabs/generative-ai-cdk-constructs


@cdklabs/generative-ai-cdk-constructs / bedrock / Topic

Class: Topic

Defines a topic to deny.

Constructors

new Topic()

protected new Topic(props): Topic

Parameters

props

CustomTopicProps

Returns

Topic

Properties

definition

readonly definition: string

Definition of the topic.


examples?

readonly optional examples: string[]

Representative phrases that refer to the topic.


name

readonly name: string

The name of the topic to deny.


FINANCIAL_ADVICE

readonly static FINANCIAL_ADVICE: Topic


INNOPROPRIATE_CONTENT

readonly static INNOPROPRIATE_CONTENT: Topic


LEGAL_ADVICE

readonly static LEGAL_ADVICE: Topic


MEDICAL_ADVICE

readonly static MEDICAL_ADVICE: Topic


POLITICAL_ADVICE

readonly static POLITICAL_ADVICE: Topic

Methods

custom()

static custom(props): Topic

Parameters

props

CustomTopicProps

Returns

Topic