langchain/docs/modules/chains/examples
Harrison Chase ec727bf166
Align table info (#999) (#1034)
Currently the chain is getting the column names and types on the one
side and the example rows on the other. It is easier for the llm to read
the table information if the column name and examples are shown together
so that it can easily understand to which columns do the examples refer
to. For an instantiation of this, please refer to the changes in the
`sqlite.ipynb` notebook.

Also changed `eval` for `ast.literal_eval` when interpreting the results
from the sample row query since it is a better practice.

---------

Co-authored-by: Francisco Ingham <>

---------

Co-authored-by: Francisco Ingham <fpingham@gmail.com>
2023-02-13 21:48:41 -08:00
..
api.ipynb Harrison/new api chain (#623) 2023-01-15 18:34:43 -08:00
llm_bash.ipynb Custom prompt option for llm_bash and api chains (#612) 2023-01-14 07:22:52 -08:00
llm_checker.ipynb Docs refactor (#480) 2023-01-02 08:24:09 -08:00
llm_math.ipynb add custom prompt for LLMMathChain and SQLDatabase chain (#605) 2023-01-13 06:28:51 -08:00
llm_requests.ipynb Docs refactor (#480) 2023-01-02 08:24:09 -08:00
moderation.ipynb Docs refactor (#480) 2023-01-02 08:24:09 -08:00
pal.ipynb return code for pal (#844) 2023-02-02 08:47:20 -08:00
sqlite.ipynb Align table info (#999) (#1034) 2023-02-13 21:48:41 -08:00