langchain/docs/modules
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
..
agents docs: add docs link to agent toolkits (#1735) 2023-03-17 07:59:49 -07:00
chains Harrison/agent eval (#1620) 2023-03-14 12:37:48 -07:00
chat Adding ability to return_pl_id to all PromptLayer Models in LangChain (#1699) 2023-03-16 17:05:23 -07:00
document_loaders move docs (#1740) 2023-03-17 08:42:28 -07:00
indexes Harrison/latex splitter (#1738) 2023-03-17 08:10:27 -07:00
llms Harrison/move docs (#1741) 2023-03-17 08:49:10 -07:00
memory add docs for save/load messages (#1697) 2023-03-15 13:13:08 -07:00
prompts Fix Document & Expose StringPromptTemplate as a custom-prompt-template. (#1753) 2023-03-19 09:47:56 -07:00
utils Fix all the bug in init Tool in docs (#1725) 2023-03-16 21:55:44 -07:00
agents.rst Documentation: Minor typo fixes (#1327) 2023-02-27 14:40:43 -08:00
chains.rst Documentation: Minor typo fixes (#1327) 2023-02-27 14:40:43 -08:00
chat.rst (rfc) chat models (#1424) 2023-03-06 08:34:24 -08:00
document_loaders.rst Harrison/unstructured support (#903) 2023-02-05 23:02:07 -08:00
indexes.rst improve docs for indexes (#1146) 2023-02-19 23:14:50 -08:00
llms.rst Fix minor error in LLM documentation (#602) 2023-01-12 18:16:32 -08:00
memory.rst Harrison/memory refactor (#1478) 2023-03-07 07:59:37 -08:00
prompts.rst Feature: linkcheck-action (#534) (#542) 2023-01-04 21:39:50 -08:00
state_of_the_union.txt Docs refactor (#480) 2023-01-02 08:24:09 -08:00
utils.rst Feature: linkcheck-action (#534) (#542) 2023-01-04 21:39:50 -08:00