docs: merge starter projects and sample flows into templates (#8652)
* move-pages-and-add-redirects * move-vector-rag-in-list
This commit is contained in:
parent
b135da749b
commit
d4fca1fe40
23 changed files with 39 additions and 36 deletions
|
|
@ -19,7 +19,7 @@ Your flow must have a [Chat input](/components-io#chat-input) component to inter
|
|||
|
||||
Chat with an agent in the **Playground**, and get more recent results by asking the agent to use tools.
|
||||
|
||||
1. Create a [Simple agent starter project](/starter-projects-simple-agent).
|
||||
1. Create a [Simple agent starter project](/simple-agent).
|
||||
2. Add your **OpenAI API key** credentials to the **Agent** component.
|
||||
3. To start a chat session, click **Playground**.
|
||||
4. To enable voice mode, click the <Icon name="Mic" aria-label="Microphone"/> icon.
|
||||
|
|
|
|||
|
|
@ -16,7 +16,7 @@ For a sandbox example, see the [Langflow embedded chat CodeSandbox](https://code
|
|||
The following example includes the minimum required inputs, called [props](https://react.dev/learn/passing-props-to-a-component) in React, for using the chat widget in your HTML code, which are `host_url` and `flow_id`.
|
||||
The `host_url` value must be `HTTPS`, and may not include a `/` after the URL.
|
||||
The `flow_id` value is found in your Langflow URL.
|
||||
For a Langflow server running the [Basic prompting flow](/starter-projects-basic-prompting) at `https://c822-73-64-93-151.ngrok-free.app/flow/dcbed533-859f-4b99-b1f5-16fce884f28f`, your chat widget code is similar to the following:
|
||||
For a Langflow server running the [Basic prompting flow](/basic-prompting) at `https://c822-73-64-93-151.ngrok-free.app/flow/dcbed533-859f-4b99-b1f5-16fce884f28f`, your chat widget code is similar to the following:
|
||||
```html
|
||||
<html>
|
||||
<head>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue