CrazyH0rse's picture
Upload folder using huggingface_hub
4807d4b verified
Raw History Blame Contribute Delete
903 Bytes
"""The stable request/response contract. Import types from here."""
from discerna.contract.answers import (
build_answer,
check_answer,
check_response,
criterion_text,
distribution,
option_keys,
)
from discerna.contract.schema import (
MAX_LEVELS,
MAX_OPTIONS,
MIN_LEVELS,
Answer,
ChoiceAnswer,
ChoiceQuestion,
DecisionRequest,
DecisionResponse,
NoulAnswer,
NoulQuestion,
Question,
ScoreAnswer,
ScoreQuestion,
Usage,
)
__all__ = [
"MAX_LEVELS",
"MAX_OPTIONS",
"MIN_LEVELS",
"Answer",
"ChoiceAnswer",
"ChoiceQuestion",
"DecisionRequest",
"DecisionResponse",
"NoulAnswer",
"NoulQuestion",
"Question",
"ScoreAnswer",
"ScoreQuestion",
"Usage",
"build_answer",
"check_answer",
"check_response",
"criterion_text",
"distribution",
"option_keys",
]