docs: Remove template pages because templates already include explanatory notes within Langflow (#9235)
* finish template description * remove travel planning and simple agent pages * remove sequential agent and memory chatbot * remove 2 template, finish redirects, sidebar * remove vector store rag page * remove basic prompting page * add bold to template name * fix link
This commit is contained in:
parent
7123c507a7
commit
aa70a15654
39 changed files with 134 additions and 667 deletions
|
|
@ -30,7 +30,7 @@ For example, with the [**Message History**](/components-helpers#message-history)
|
|||
|
||||
The following steps demonstrate how to add variables to a **Prompt Template** component:
|
||||
|
||||
1. Create a flow based on the [**Basic prompting** template](/basic-prompting).
|
||||
1. Create a flow based on the **Basic prompting** template.
|
||||
|
||||
This template already has a **Prompt Template** component, but the template only contains natural language instructions: `Answer the user as if you were a GenAI expert, enthusiastic about helping them get started building something fresh.`
|
||||
|
||||
|
|
@ -42,9 +42,12 @@ The following steps demonstrate how to add variables to a **Prompt Template** co
|
|||
For example, the following template creates `context` and `user_question` variables:
|
||||
|
||||
```text
|
||||
Given the context
|
||||
Given the context:
|
||||
|
||||
{context}
|
||||
Answer the question
|
||||
|
||||
Answer the question:
|
||||
|
||||
{user_question}
|
||||
```
|
||||
|
||||
|
|
@ -58,6 +61,9 @@ The following steps demonstrate how to add variables to a **Prompt Template** co
|
|||
* Use Langflow global variables.
|
||||
* Enter fixed values directly into the fields.
|
||||
|
||||
You can add as many variables as you like in your template.
|
||||
For example, you could add variables for `{references}` and `{instructions}`, and then feed that information in from other components, such as **Text Input**, **URL**, or **File** components.
|
||||
|
||||
## See also
|
||||
|
||||
* [LangChain Prompt Hub](/bundles-langchain#prompt-hub)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue