langchain/docs/extras/modules/model_io/models/llms
Wey Gu cf60cff1ef
feat: Add with_history option for chatglm (#8048)
In certain 0-shot scenarios, the existing stateful language model can
unintentionally send/accumulate the .history.

This commit adds the "with_history" option to chatglm, allowing users to
control the behavior of .history and prevent unintended accumulation.

Possible reviewers @hwchase17 @baskaryan @mlot

Refer to discussion over this thread:
https://twitter.com/wey_gu/status/1681996149543276545?s=20
2023-07-20 22:25:37 -07:00
..
how_to Doc refactor (#6300) 2023-06-16 11:52:56 -07:00
integrations feat: Add with_history option for chatglm (#8048) 2023-07-20 22:25:37 -07:00