mirror of
https://github.com/csunny/DB-GPT.git
synced 2026-07-27 17:12:54 +00:00
14 lines
306 B
Python
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
|