Skip to content

Constants

Constants

Source code in griptape/utils/constants.py
1
2
3
4
class Constants:
    # Stop sequence for chain-of-thought in the framework. Using this "token-like" string to make it more unique,
    # so that it doesn't trigger on accident.
    RESPONSE_STOP_SEQUENCE = "<|Response|>"

RESPONSE_STOP_SEQUENCE = '<|Response|>' class-attribute instance-attribute