Loading...
Loading...
Loading...
Genesys uses a combination of Genesys native and AWS Bedrock models, depending on the configuration, use case, and dialect. The maximum token input is 15000 tokens.
Tokens represent segments of text, like parts of words, spaces, or punctuation. The API processes input and breaks that input down into tokens, which do not always align with whole words. Some key approximations include:
Or:
For example, a popular saying like “Carpe diem” might have 10 tokens. A company’s vision statement could be about 500 tokens. A classic poem, such as “The Road Not Taken” might contain around 1,700 tokens.
Tokenization varies by language. For instance, “Bonjour tout le monde,” which means “Hello everyone” in French, contains five tokens, despite being just 19 characters. Non-English texts may require more tokens, which impact API costs.
The API converts words into tokens based on their context, processes them, and then translates the tokens back into readable text. The same word may split into different tokens, depending on its placement. For instance, the word “blue” could have a different token if it appears with a trailing space or starts with a capital letter.
Examples:
Common tokens have lower values. Punctuation, like commas, tends to have a consistent token ID due to its frequent use. Words may have different token IDs based on their case or position in a sentence.
Get user feedback about articles.