Upgrade the declarative pipeline for cleaner interface (#51)
This commit is contained in:
committed by
GitHub
parent
aab982ddc4
commit
9035e25666
@@ -10,4 +10,4 @@ class SimpleRespondentChatbot(BaseChatBot):
|
||||
llm: Node[ChatLLM]
|
||||
|
||||
def _get_message(self) -> str:
|
||||
return self.llm(self.history).text[0]
|
||||
return self.llm(self.history).text
|
||||
|
Reference in New Issue
Block a user