langchain/docs/extras
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
..
_templates Doc refactor (#6300) 2023-06-16 11:52:56 -07:00
additional_resources mv tutorials (#7614) 2023-07-12 17:33:36 -04:00
ecosystem Harrison/predibase (#8046) 2023-07-20 19:26:50 -07:00
guides Add debugging guide (#7956) 2023-07-19 14:15:11 -07:00
modules feat: Add with_history option for chatglm (#8048) 2023-07-20 22:25:37 -07:00
use_cases Add llama-v2 to local document QA (#7952) 2023-07-19 11:15:47 -07:00