Commit Graph

8 Commits

Author SHA1 Message Date
Predrag Gruevski
2ebd167dba
Lint Python notebooks with ruff. (#12677)
The new ruff version fixed the blocking bugs, and I was able to fairly
easily us to a passing state: ruff fixed some issues on its own, I fixed
a handful by hand, and I added a list of narrowly-targeted exclusions
for files that are currently failing ruff rules that we probably should
look into eventually.

I went pretty lenient on the docs / cookbooks rules, allowing dead code
and such things. Perhaps in the future we may want to tighten the rules
further, but this is already a good set of checks that found real issues
and will prevent them going forward.
2023-11-14 15:58:22 -05:00
Lance Martin
33810126bd
Update chat prompt structure in LLaMA SQL cookbook (#12364)
Co-authored-by: Erick Friis <erick@langchain.dev>
2023-11-01 16:37:03 -07:00
Bagatur
2424fff3f1
notebook fmt (#12498) 2023-10-29 15:50:09 -07:00
Lance Martin
12f8e87a0e
LLaMA2 SQL cookbook clean (#12007) 2023-10-18 21:16:58 -07:00
Lance Martin
26d0858a60
Update LLaMA2 SQL notebook (#11995) 2023-10-18 15:01:37 -07:00
Lance Martin
18a4fdded6
Add deps and minor cleaning to cookbooks (#11886) 2023-10-16 13:37:51 -07:00
Lance Martin
201b7ce9af
Update SQL cookbook (#11870) 2023-10-16 09:12:03 -07:00
Lance Martin
8bf16d5275
LLaMA2 SQL Chat cookbook (#11685) 2023-10-15 08:54:09 -07:00