mirror of
https://github.com/hwchase17/langchain.git
synced 2025-06-22 14:49:29 +00:00
Update llm_chain.ipynb text (#22198)
Added the missing verb "is" and a comma to the text in the Prompt Templates description within the Build a Simple LLM Application tutorial for more clarity.
This commit is contained in:
parent
bf81ecd3b4
commit
cfea0e231a
@ -289,7 +289,7 @@
|
|||||||
"source": [
|
"source": [
|
||||||
"## Prompt Templates\n",
|
"## Prompt Templates\n",
|
||||||
"\n",
|
"\n",
|
||||||
"Right now we are passing a list of messages directly into the language model. Where does this list of messages come from? Usually it constructed from a combination of user input and application logic. This application logic usually takes the raw user input and transforms it into a list of messages ready to pass to the language model. Common transformations include adding a system message or formatting a template with the user input.\n",
|
"Right now we are passing a list of messages directly into the language model. Where does this list of messages come from? Usually, it is constructed from a combination of user input and application logic. This application logic usually takes the raw user input and transforms it into a list of messages ready to pass to the language model. Common transformations include adding a system message or formatting a template with the user input.\n",
|
||||||
"\n",
|
"\n",
|
||||||
"PromptTemplates are a concept in LangChain designed to assist with this transformation. They take in raw user input and return data (a prompt) that is ready to pass into a language model. \n",
|
"PromptTemplates are a concept in LangChain designed to assist with this transformation. They take in raw user input and return data (a prompt) that is ready to pass into a language model. \n",
|
||||||
"\n",
|
"\n",
|
||||||
|
Loading…
Reference in New Issue
Block a user