from pilot.scene.base_chat import BaseChat
from pilot.scene.base import ChatScene
from pilot.configs.config import Config

from pilot.scene.chat_normal.prompt import prompt

CFG = Config()


class ChatNormal(BaseChat):
    chat_scene: str = ChatScene.ChatNormal.value()

    """Number of results to return from the query"""

    def __init__(self, chat_session_id, user_input, select_param: str = None):
        """ """
        super().__init__(
            chat_mode=ChatScene.ChatNormal,
            chat_session_id=chat_session_id,
            current_user_input=user_input,
        )

    def generate_input_values(self):
        input_values = {"input": self.current_user_input}
        return input_values

    @property
    def chat_type(self) -> str:
        return ChatScene.ChatNormal.value
