Skip to content

TopicConfigurationDict

Dictionary Type

TopicConfigurationDict

Bases: TypedDict

Dictionary form of TopicConfiguration.

Attributes

description instance-attribute
description: str | None

A description for your topic control configuration. Use this to outline how the large language model (LLM) should use this topic control configuration.

example_chat_messages instance-attribute
example_chat_messages: Sequence[str] | None

A list of example phrases that you expect the end user to use in relation to the topic.

name instance-attribute
name: Required[str]

A name for your topic control configuration.

rules instance-attribute

Rules defined for a topic configuration.