Skip to content

Simple Respondent

SimpleRespondentChatbot ΒΆ

Bases: BaseChatBot

Simple text respondent chatbot that essentially wraps around a chat LLM

Source code in libs\kotaemon\kotaemon\chatbot\simple_respondent.py
class SimpleRespondentChatbot(BaseChatBot):
    """Simple text respondent chatbot that essentially wraps around a chat LLM"""

    llm: ChatLLM

    def _get_message(self) -> str:
        return self.llm(self.history).text