langchainjs icon indicating copy to clipboard operation
langchainjs copied to clipboard

Support `.text` getter on BaseMessage or some way to get raw string content

Open jacoblee93 opened this issue 1 year ago • 2 comments

Privileged issue

  • [X] I am a LangChain maintainer, or was asked directly by a LangChain maintainer to create an issue here.

Issue Content

No response

jacoblee93 avatar Sep 18 '24 18:09 jacoblee93

@jacoblee93 We are a team of developer that are looking into this issue. Do you have any more details that you can provide so that we can understand more about this issue?

FelixLYY avatar Sep 29 '24 14:09 FelixLYY

It's still under discussion - let me reraise it!

jacoblee93 avatar Sep 30 '24 22:09 jacoblee93

Hi, @jacoblee93. I'm Dosu, and I'm helping the LangChain JS team manage their backlog. I'm marking this issue as stale.

Issue Summary

  • You requested the addition of a .text getter or similar method to the BaseMessage class for retrieving raw string content.
  • @FelixLYY asked for more details to understand the issue better.
  • You mentioned that the matter is still under discussion and plan to revisit it, with positive feedback from other users.

Next Steps

  • Please let me know if this issue is still relevant to the latest version of the LangChain JS repository by commenting here.
  • If there is no further input, the issue will be automatically closed in 7 days.

Thank you for your understanding and contribution!

dosubot[bot] avatar Dec 30 '24 16:12 dosubot[bot]

Still want to keep this open

jacoblee93 avatar Dec 30 '24 16:12 jacoblee93