kittycad.models.ai_feedback.AiFeedback

class kittycad.models.ai_feedback.AiFeedback(value)[source][source]

Bases: str, Enum

Human feedback on an AI response.

__init__()[source]

Attributes

THUMBS_UP

# Thumbs down.

THUMBS_DOWN

THUMBS_DOWN = 'thumbs_down'[source]
THUMBS_UP = 'thumbs_up'[source]

# Thumbs down.

__annotations__ = {}[source]
__dict__ = mappingproxy({'_generate_next_value_': <function Enum._generate_next_value_>, '__module__': 'kittycad.models.ai_feedback', '__doc__': 'Human feedback on an AI response.', '__str__': <function AiFeedback.__str__>, '__dict__': <attribute '__dict__' of 'AiFeedback' objects>, '__weakref__': <attribute '__weakref__' of 'AiFeedback' objects>, '_member_names_': ['THUMBS_UP', 'THUMBS_DOWN'], '_member_map_': {'THUMBS_UP': <AiFeedback.THUMBS_UP: 'thumbs_up'>, 'THUMBS_DOWN': <AiFeedback.THUMBS_DOWN: 'thumbs_down'>}, '_member_type_': <class 'str'>, '_value2member_map_': {'thumbs_up': <AiFeedback.THUMBS_UP: 'thumbs_up'>, 'thumbs_down': <AiFeedback.THUMBS_DOWN: 'thumbs_down'>}, 'THUMBS_UP': <AiFeedback.THUMBS_UP: 'thumbs_up'>, 'THUMBS_DOWN': <AiFeedback.THUMBS_DOWN: 'thumbs_down'>, '__repr__': <function Enum.__repr__>, '__format__': <function Enum.__format__>, '__new__': <function Enum.__new__>, '__annotations__': {}})[source]
__module__ = 'kittycad.models.ai_feedback'[source]
_generate_next_value_(start, count, last_values)[source]

Generate the next value when not given.

name: the name of the member start: the initial start value or None count: the number of existing members last_value: the last value assigned or None

_member_map_ = {'THUMBS_DOWN': AiFeedback.THUMBS_DOWN, 'THUMBS_UP': AiFeedback.THUMBS_UP}[source]
_member_names_ = ['THUMBS_UP', 'THUMBS_DOWN'][source]
_member_type_[source]

alias of str

_value2member_map_ = {'thumbs_down': AiFeedback.THUMBS_DOWN, 'thumbs_up': AiFeedback.THUMBS_UP}[source]