Skip to content

CreateDictionaryRequest

Source code in docs_src/capo_elementalinference/types/create_dictionary_request.py
class CreateDictionaryRequest(TypedDict, closed=True):
    name: "capo_elementalinference.types.resource_name.ResourceName"
    """<p>A user-friendly name for this dictionary.</p>"""
    language: "capo_elementalinference.types.dictionary_language.DictionaryLanguage"
    """<p>The language of the dictionary entries. Specify the language using an ISO 639-2/T three-letter code. Supported values: eng, fra, ita, deu, spa, por. </p>"""
    entries: NotRequired[
        "capo_elementalinference.types.dictionary_entries_payload.DictionaryEntriesPayload"
    ]
    """<p>The dictionary entries payload. Contains the custom words and phrases for the dictionary. Maximum size is 40,960 characters. </p>"""
    tags: NotRequired["capo_elementalinference.types.tag_map.TagMap"]
    """<p>Optional tags to associate with the dictionary.</p>"""

entries instance-attribute

entries: NotRequired[DictionaryEntriesPayload]

The dictionary entries payload. Contains the custom words and phrases for the dictionary. Maximum size is 40,960 characters.

language instance-attribute

The language of the dictionary entries. Specify the language using an ISO 639-2/T three-letter code. Supported values: eng, fra, ita, deu, spa, por.

name instance-attribute

A user-friendly name for this dictionary.

tags instance-attribute

tags: NotRequired[TagMap]

Optional tags to associate with the dictionary.