langgraph icon indicating copy to clipboard operation
langgraph copied to clipboard

Add FewShotExamples managed value

Open nfcampos opened this issue 10 months ago • 1 comments

  • (API will change, this is a draft)
  • Add .score() method on checkpointer to mark checkpoints as "good"
  • Add .list_w_score() method on checkpointer to list "good" checkpoints
  • Implement score/list_w_score in sqlite and aiosqlite checkpointers
  • Add FewShowExamples managed value which can be used to attach few shot examples to state object
  • Add sync and async examples in tests

nfcampos avatar Apr 20 '24 00:04 nfcampos

Should/are scores scoped to a node level? or whole graph? Any way to differentiate?

hinthornw avatar May 03 '24 19:05 hinthornw

Closing this PR in favor of https://github.com/langchain-ai/langgraph/pull/444.

andrewnguonly avatar May 14 '24 18:05 andrewnguonly