langchain/docs
Jason Gill 1989e7d4c2
Update examples to prevent confusing missing _type warning (#1391)
The YAML and JSON examples of prompt serialization now give a strange
`No '_type' key found, defaulting to 'prompt'` message when you try to
run them yourself or copy the format of the files. The reason for this
harmless warning is that the _type key was not in the config files,
which means they are parsed as a standard prompt.

This could be confusing to new users (like it was confusing to me after
upgrading from 0.0.85 to 0.0.86+ for my few_shot prompts that needed a
_type added to the example_prompt config), so this update includes the
_type key just for clarity.

Obviously this is not critical as the warning is harmless, but it could
be confusing to track down or be interpreted as an error by a new user,
so this update should resolve that.
2023-03-02 07:39:57 -08:00
..
_static docs: increase width (#1049) 2023-02-15 23:07:01 -08:00
ecosystem Harrison/deeplake (#1316) 2023-02-26 22:35:04 -08:00
getting_started add reqs (#918) 2023-02-06 20:30:03 -08:00
modules Update examples to prevent confusing missing _type warning (#1391) 2023-03-02 07:39:57 -08:00
reference Harrison/deeplake (#1316) 2023-02-26 22:35:04 -08:00
tracing Make Tools own model, add ToolKit Concept (#1095) 2023-02-18 13:40:43 -08:00
use_cases Fix link in summarization.md (#1344) 2023-02-28 18:58:12 -08:00
conf.py improve css (#615) 2023-01-14 07:39:29 -08:00
deployments.md add docs for steamship deployment (#949) 2023-02-08 16:01:19 -08:00
ecosystem.rst
gallery.rst update gallery with slack bot (#1177) 2023-02-20 08:21:00 -08:00
glossary.md Feature: linkcheck-action (#534) (#542) 2023-01-04 21:39:50 -08:00
index.rst improve docs for indexes (#1146) 2023-02-19 23:14:50 -08:00
make.bat
Makefile Feature: linkcheck-action (#534) (#542) 2023-01-04 21:39:50 -08:00
reference.rst Feature: linkcheck-action (#534) (#542) 2023-01-04 21:39:50 -08:00
requirements.txt
tracing.md Harrison/tracing docs (#806) 2023-01-29 20:49:35 -08:00