Spaces:
Sleeping
Sleeping
File size: 2,510 Bytes
89b6a21 dbe6486 89b6a21 dbe6486 89b6a21 dbe6486 89b6a21 dbe6486 89b6a21 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 | from bot.byte_semantics_base import (
build_intro_reply,
compact_message,
extract_ascii_subject,
format_chat_reply,
is_ascii_art_prompt,
is_current_events_prompt,
is_follow_up_prompt,
is_high_risk_current_events_prompt,
is_intro_prompt,
is_movie_fact_sheet_prompt,
is_serious_technical_prompt,
normalize_text_for_scene,
parse_byte_prompt,
)
from bot.byte_semantics_constants import (
BYTE_HELP_MESSAGE,
BYTE_INTRO_TEMPLATES,
MAX_CHAT_MESSAGE_LENGTH,
MULTIPART_SEPARATOR,
QUALITY_SAFE_FALLBACK,
SERIOUS_REPLY_MAX_LENGTH,
SERIOUS_REPLY_MAX_LINES,
)
from bot.byte_semantics_current_events import (
build_current_events_safe_fallback_reply,
build_server_time_anchor_instruction,
build_verifiable_prompt,
normalize_current_events_reply_contract,
)
from bot.byte_semantics_quality import (
build_adaptive_ai_instruction,
build_anti_generic_contract_instruction,
build_direct_answer_instruction,
build_llm_enhanced_prompt,
build_quality_prompt_script,
build_quality_rewrite_prompt,
build_research_priority_instruction,
is_low_quality_answer,
)
from bot.byte_semantics_reply import (
build_movie_fact_sheet_query,
extract_movie_title,
extract_multi_reply_parts,
split_text_for_chat,
)
__all__ = [
"BYTE_HELP_MESSAGE",
"BYTE_INTRO_TEMPLATES",
"MAX_CHAT_MESSAGE_LENGTH",
"MULTIPART_SEPARATOR",
"QUALITY_SAFE_FALLBACK",
"SERIOUS_REPLY_MAX_LENGTH",
"SERIOUS_REPLY_MAX_LINES",
"build_adaptive_ai_instruction",
"build_anti_generic_contract_instruction",
"build_current_events_safe_fallback_reply",
"build_direct_answer_instruction",
"build_intro_reply",
"build_llm_enhanced_prompt",
"build_movie_fact_sheet_query",
"build_quality_prompt_script",
"build_quality_rewrite_prompt",
"build_research_priority_instruction",
"build_server_time_anchor_instruction",
"build_verifiable_prompt",
"compact_message",
"extract_ascii_subject",
"extract_movie_title",
"extract_multi_reply_parts",
"format_chat_reply",
"is_ascii_art_prompt",
"is_current_events_prompt",
"is_follow_up_prompt",
"is_high_risk_current_events_prompt",
"is_intro_prompt",
"is_low_quality_answer",
"is_movie_fact_sheet_prompt",
"is_serious_technical_prompt",
"normalize_current_events_reply_contract",
"normalize_text_for_scene",
"parse_byte_prompt",
"split_text_for_chat",
]
|