Spaces:
Running
Running
File size: 777 Bytes
7eda955 |
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 |
"""
Module for handling plain text reasoning without visualization.
This allows users to see the raw model output.
"""
def parse_plain_text_response(response_text: str, question: str) -> str:
"""
Simply pass through the raw model response without any parsing.
Args:
response_text: The raw response from the API
question: The original question
Returns:
The unmodified response text
"""
return response_text
def create_mermaid_diagram(raw_text: str, config=None) -> None:
"""
No diagram creation for plain text mode.
Args:
raw_text: The raw response text
config: Visualization configuration (not used)
Returns:
None as no visualization is needed
"""
return None |