langchain/docs
hitoshi44 3cf493b089
Fix Document & Expose StringPromptTemplate as a custom-prompt-template. (#1753)
Regarding [this
issue](https://github.com/hwchase17/langchain/issues/1754), the code in
the document [Creating a custom prompt
template](https://langchain.readthedocs.io/en/latest/modules/prompts/examples/custom_prompt_template.html)
is no longer functional and outdated.

To address this, I have made the following changes:

1. Updated the guide in the document to use `StringPromptTemplate`
instead of `BasePromptTemplate`.
2. Exposed `StringPromptTemplate` in `prompts/__init__.py` for easier
importing.
2023-03-19 09:47:56 -07:00
..
_static docs: increase width (#1049) 2023-02-15 23:07:01 -08:00
ecosystem Fix all the bug in init Tool in docs (#1725) 2023-03-16 21:55:44 -07:00
getting_started [Docs] Add missing word from prompt docs (#1406) 2023-03-02 16:02:54 -08:00
modules Fix Document & Expose StringPromptTemplate as a custom-prompt-template. (#1753) 2023-03-19 09:47:56 -07:00
reference Harrison/deeplake (#1316) 2023-02-26 22:35:04 -08:00
tracing Harrison/callbacks (#1587) 2023-03-10 12:53:09 -08:00
use_cases querying tabular data (#1758) 2023-03-18 11:12:18 -07:00
conf.py Corrects copyright year (#1762) 2023-03-18 19:55:05 -07:00
deployments.md add docs for steamship deployment (#949) 2023-02-08 16:01:19 -08:00
ecosystem.rst Docs refactor (#480) 2023-01-02 08:24:09 -08:00
gallery.rst Added Mynd URL to gallery (#1684) 2023-03-15 07:59:59 -07:00
glossary.md Feature: linkcheck-action (#534) (#542) 2023-01-04 21:39:50 -08:00
index.rst querying tabular data (#1758) 2023-03-18 11:12:18 -07:00
make.bat initial commit 2022-10-24 14:51:15 -07:00
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 docs req (#1647) 2023-03-13 16:03:32 -07:00
tracing.md Harrison/tracing docs (#806) 2023-01-29 20:49:35 -08:00