langchain/docs/extras/modules
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
..
agents Harrison/GitHub toolkit (#8047) 2023-07-20 22:24:55 -07:00
callbacks Adding Docs for PromptLayerCallbackHandler (#7860) 2023-07-18 07:51:16 -07:00
chains Neptune graph and openCypher QA Chain (#8035) 2023-07-20 18:56:47 -07:00
data_connection Fix bad docs sidebar header (#7966) 2023-07-20 19:06:57 -07:00
evaluation Docs Nit (#7918) 2023-07-18 21:47:28 -07:00
memory Fix make docs_build and related scripts (#7276) 2023-07-11 22:05:14 -04:00
model_io feat: Add with_history option for chatglm (#8048) 2023-07-20 22:25:37 -07:00
paul_graham_essay.txt codespell: workflow, config + some (quite a few) typos fixed (#6785) 2023-07-12 16:20:08 -04:00
state_of_the_union.txt Doc refactor (#6300) 2023-06-16 11:52:56 -07:00