From 4e01178d1c42a828b695c96d841e315755f7c15f Mon Sep 17 00:00:00 2001 From: Rodrigo Date: Mon, 24 Jun 2024 01:04:24 -0300 Subject: [PATCH] refactor: remove some preview references --- docs/docs/examples/chat-memory.mdx | 2 +- docs/docs/examples/combine-text.mdx | 2 +- .../docs/getting-started/rag-with-astradb.mdx | 19 +++++++------------ docs/docs/index.mdx | 12 +++++++----- .../docs/starter-projects/basic-prompting.mdx | 9 +-------- docs/docs/starter-projects/blog-writer.mdx | 13 +++++++------ docs/docs/starter-projects/document-qa.mdx | 7 ------- docs/docs/starter-projects/memory-chatbot.mdx | 9 +-------- .../starter-projects/vector-store-rag.mdx | 7 ------- docs/docs/tutorials/rag-with-astradb.mdx | 3 +-- 10 files changed, 26 insertions(+), 57 deletions(-) diff --git a/docs/docs/examples/chat-memory.mdx b/docs/docs/examples/chat-memory.mdx index 88dbbca2b..174711ce8 100644 --- a/docs/docs/examples/chat-memory.mdx +++ b/docs/docs/examples/chat-memory.mdx @@ -8,7 +8,7 @@ import Admonition from "@theme/Admonition"; The **Chat Memory** component restores previous messages given a Session ID, which can be any string. -This component is available under the **Helpers** tab of the Langflow preview. +This component is available under the **Helpers** tab of the Langflow sidebar.
- Langflow is also available in HuggingFace Spaces. [Clone the space using this - link](https://huggingface.co/spaces/Langflow/Langflow-Preview?duplicate=true) - to run your own Langflow instance in minutes. - +{/* Mentions wrong link */} +{/\* +Langflow is also available in HuggingFace Spaces. [Clone the space using this +link](https://huggingface.co/spaces/Langflow/Langflow-Preview?duplicate=true) +to run your own Langflow instance in minutes. + + */} ## Learn more about Langflow 1.0 diff --git a/docs/docs/starter-projects/basic-prompting.mdx b/docs/docs/starter-projects/basic-prompting.mdx index 4e01f2472..594990eb6 100644 --- a/docs/docs/starter-projects/basic-prompting.mdx +++ b/docs/docs/starter-projects/basic-prompting.mdx @@ -18,13 +18,6 @@ This article demonstrates how to use Langflow's prompt tools to issue basic prom - [OpenAI API key created](https://platform.openai.com) - - Langflow is also available in HuggingFace Spaces. [Clone the space - using this - link](https://huggingface.co/spaces/Langflow/Langflow-Preview?duplicate=true) - to create your own Langflow workspace in minutes. - - ## Create the basic prompting project 1. From the Langflow dashboard, click **New Project**. @@ -62,4 +55,4 @@ This should be interesting... The **Edit Prompt** window opens. 2. Change `Answer the user as if you were a pirate` to a different character, perhaps `Answer the user as if you were Harold Abelson.` 3. Run the basic prompting flow again. - The response will be markedly different. \ No newline at end of file + The response will be markedly different. diff --git a/docs/docs/starter-projects/blog-writer.mdx b/docs/docs/starter-projects/blog-writer.mdx index efaad8030..1c19c06b6 100644 --- a/docs/docs/starter-projects/blog-writer.mdx +++ b/docs/docs/starter-projects/blog-writer.mdx @@ -14,12 +14,13 @@ Build a blog writer with OpenAI that uses URLs for reference content. - [OpenAI API key created](https://platform.openai.com) - - Langflow is also available in HuggingFace Spaces. [Clone the space - using this - link](https://huggingface.co/spaces/Langflow/Langflow-Preview?duplicate=true) - to create your own Langflow workspace in minutes. - +{/\* +Langflow is also available in HuggingFace Spaces. [Clone the space +using this +link](https://huggingface.co/spaces/Langflow/Langflow-Preview?duplicate=true) +to create your own Langflow workspace in minutes. + + */} ## Create the Blog Writer project diff --git a/docs/docs/starter-projects/document-qa.mdx b/docs/docs/starter-projects/document-qa.mdx index 952285cdb..2e452522e 100644 --- a/docs/docs/starter-projects/document-qa.mdx +++ b/docs/docs/starter-projects/document-qa.mdx @@ -14,13 +14,6 @@ Build a question-and-answer chatbot with a document loaded from local memory. - [OpenAI API key created](https://platform.openai.com) - - Langflow is also available in HuggingFace Spaces. [Clone the space - using this - link](https://huggingface.co/spaces/Langflow/Langflow-Preview?duplicate=true) - to create your own Langflow workspace in minutes. - - ## Create the Document QA project 1. From the Langflow dashboard, click **New Project**. diff --git a/docs/docs/starter-projects/memory-chatbot.mdx b/docs/docs/starter-projects/memory-chatbot.mdx index 8997170f8..bf5a428ca 100644 --- a/docs/docs/starter-projects/memory-chatbot.mdx +++ b/docs/docs/starter-projects/memory-chatbot.mdx @@ -14,13 +14,6 @@ This flow extends the [basic prompting flow](./basic-prompting) to include chat - [OpenAI API key created](https://platform.openai.com) - - Langflow is also available in HuggingFace Spaces. [Clone the space - using this - link](https://huggingface.co/spaces/Langflow/Langflow-Preview?duplicate=true) - to create your own Langflow workspace in minutes. - - ## Create the memory chatbot project 1. From the Langflow dashboard, click **New Project**. @@ -81,4 +74,4 @@ To store **Session ID** as a Langflow variable, in the **Session ID** field, cli 1. In the **Variable Name** field, enter a name like `customer_chat_emea`. 2. In the **Value** field, enter a value like `1B5EBD79-6E9C-4533-B2C8-7E4FF29E983B`. 3. Click **Save Variable**. -4. Apply this variable to **Chat Input**. \ No newline at end of file +4. Apply this variable to **Chat Input**. diff --git a/docs/docs/starter-projects/vector-store-rag.mdx b/docs/docs/starter-projects/vector-store-rag.mdx index 120978439..4354295d8 100644 --- a/docs/docs/starter-projects/vector-store-rag.mdx +++ b/docs/docs/starter-projects/vector-store-rag.mdx @@ -16,13 +16,6 @@ We've chosen [Astra DB](https://astra.datastax.com/signup?utm_source=langflow-pr ## Prerequisites - - Langflow is also available in HuggingFace Spaces. [Clone the space - using this - link](https://huggingface.co/spaces/Langflow/Langflow-Preview?duplicate=true) - to create your own Langflow workspace in minutes. - - - [Langflow installed and running](../getting-started/install-langflow) - [OpenAI API key](https://platform.openai.com) diff --git a/docs/docs/tutorials/rag-with-astradb.mdx b/docs/docs/tutorials/rag-with-astradb.mdx index 6cf5c172d..e3f4a3f1e 100644 --- a/docs/docs/tutorials/rag-with-astradb.mdx +++ b/docs/docs/tutorials/rag-with-astradb.mdx @@ -20,9 +20,8 @@ In this guide, we will use Astra DB as a vector store to store and retrieve the TLDR; - [Create a free Astra DB account](https://astra.datastax.com/signup?utm_source=langflow-pre-release&utm_medium=referral&utm_campaign=langflow-announcement&utm_content=create-a-free-astra-db-account) -- Duplicate our [Langflow 1.0 Space](https://huggingface.co/spaces/Langflow/Langflow-Preview?duplicate=true) - Create a new database, get a **Token** and the **API Endpoint** -- Click on the **New Project** button and look for Vector Store RAG. This will create a new project with the necessary components +- Start Langflow and click on the **New Project** button and look for Vector Store RAG. This will create a new project with the necessary components - Import the project into Langflow by dropping it on the Workspace or My Collection page - Update the **Token** and **API Endpoint** in the **Astra DB** components - Update the OpenAI API key in the **OpenAI** components