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: </p> <ul> <li> <p>eng – English</p> </li> <li> <p>fra – French</p> </li> <li> <p>ita – Italian</p> </li> <li> <p>deu – German</p> </li> <li> <p>spa – Spanish</p> </li> <li> <p>por – Portuguese</p> </li> <li> <p>ara – Arabic</p> </li> </ul>"""
    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 – English

  • fra – French

  • ita – Italian

  • deu – German

  • spa – Spanish

  • por – Portuguese

  • ara – Arabic

name instance-attribute

A user-friendly name for this dictionary.

tags instance-attribute

tags: NotRequired[TagMap]

Optional tags to associate with the dictionary.