Files
DB-GPT/pilot/scene/chat_normal/out_parser.py

14 lines
306 B
Python

import logging
from pilot.out_parser.base import BaseOutputParser, T
logger = logging.getLogger(__name__)
class NormalChatOutputParser(BaseOutputParser):
def parse_prompt_response(self, model_out_text) -> T:
return model_out_text
def get_format_instructions(self) -> str:
pass