mirror of
https://github.com/langchain-ai/langserve.git
synced 2026-07-16 09:34:30 -04:00
How can the client record historical messages without calling the LangChain environment #199
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @Ricardo-yyz on GitHub (Jun 18, 2024).
Discussed in https://github.com/langchain-ai/langserve/discussions/686
Originally posted by Ricardo-yyz June 18, 2024
When I built an API using Langserve and mimicked the demo in the example, the problem was how to record historical information in the input without calling modules such as HumanMessage if my client did not have a langchain environment. I tried to record in JSON format, but I couldn't find a suitable way to convert it to the corresponding format on the server side.