Skip to content

Commit

Permalink
Adds new langchain version and support for messages
Browse files Browse the repository at this point in the history
  • Loading branch information
vmesel committed Apr 20, 2024
1 parent 62b3522 commit e9f3ac8
Show file tree
Hide file tree
Showing 3 changed files with 313 additions and 229 deletions.
7 changes: 7 additions & 0 deletions dialog_lib/agents/abstract.py
Original file line number Diff line number Diff line change
Expand Up @@ -105,3 +105,10 @@ def process(self, input: str):
)
processed_output = self.postprocess(output)
return processed_output

@property
def messages(self):
"""
Returns the messages from the memory instance
"""
return self.memory.messages
Loading

0 comments on commit e9f3ac8

Please sign in to comment.