Files
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
..
2023-02-15 23:07:01 -08:00
2023-02-26 22:35:04 -08:00
2023-03-10 12:53:09 -08:00
2023-03-18 11:12:18 -07:00
2023-03-18 19:55:05 -07:00
2023-01-02 08:24:09 -08:00
2023-03-15 07:59:59 -07:00
2023-03-18 11:12:18 -07:00
2022-10-24 14:51:15 -07:00
2023-03-13 16:03:32 -07:00
2023-01-29 20:49:35 -08:00