Tags: stanfordnlp/dspy
Tags
[docs] Add Google-style docstrings for Signature.prepend/append/inser… …t/delete (#8945) * docs(signature): add Google-style docstring for with_instructions (refs #8926) * docs(signature): docstrings for prepend/append/insert/delete (Fixes #8944) * docs(signature): unify backticks and finalize with_instructions docstring per style guide * docs(signature): fix mkdocs rendering and make example runnable per review feedback * Single backtick: instructions. * unify backticks and remove ambigous statements. * docs(signature): add runnable code examples for prepend, append, insert, and delete; completes Signature class docstrings (fixes issues #8942 and #8944) * Removed double backticks. * Removes the unnecessary assert statements. * Fixes the unintentional formatting change. * docs(signature): clarify insert docstring per reviewer feedback * nit --------- Co-authored-by: Netsanet Gebremedhin <[email protected]> Co-authored-by: chenmoneygithub <[email protected]>
update deduplicate (#8623) Since python 3.6 Dict are ordered, the former source has been updated to new method of deduplication in 2017. The gain is quite significant for example: FUNCTION MEAN (ms) MEDIAN (ms) dict version (new) 124.5 123.6 set version (old) 165.5 171.8
PreviousNext