mirror of
https://github.com/hwchase17/langchain.git
synced 2025-07-07 05:30:39 +00:00
Fix typo in constitutional_ai base.py (#1216)
Found a typo in the documentation code for the constitutional_ai module
This commit is contained in:
parent
cc7d2e5621
commit
4e28982d2b
@ -16,7 +16,7 @@ class ConstitutionalChain(Chain):
|
|||||||
.. code-block:: python
|
.. code-block:: python
|
||||||
|
|
||||||
from langchain.llms import OpenAI
|
from langchain.llms import OpenAI
|
||||||
from langchian.chains import LLMChain, ConstitutionalChain
|
from langchain.chains import LLMChain, ConstitutionalChain
|
||||||
|
|
||||||
qa_prompt = PromptTemplate(
|
qa_prompt = PromptTemplate(
|
||||||
template="Q: {question} A:",
|
template="Q: {question} A:",
|
||||||
|
Loading…
Reference in New Issue
Block a user