From 43bea361556f3a153ea2b2cc79596843ba97eeb4 Mon Sep 17 00:00:00 2001 From: Mendon Kissling <59585235+mendonk@users.noreply.github.com> Date: Tue, 28 May 2024 11:48:31 -0400 Subject: [PATCH] remove-install-from-starter-projects --- .../docs/getting-started/install-langflow.mdx | 4 +-- docs/docs/getting-started/quickstart.mdx | 4 +-- docs/docs/index.mdx | 6 ++-- .../docs/starter-projects/basic-prompting.mdx | 28 ++----------------- docs/docs/starter-projects/blog-writer.mdx | 28 ++----------------- docs/docs/starter-projects/document-qa.mdx | 28 ++----------------- docs/docs/starter-projects/memory-chatbot.mdx | 28 ++----------------- .../starter-projects/vector-store-rag.mdx | 4 +-- 8 files changed, 21 insertions(+), 109 deletions(-) diff --git a/docs/docs/getting-started/install-langflow.mdx b/docs/docs/getting-started/install-langflow.mdx index 81ad7b09a..d78514909 100644 --- a/docs/docs/getting-started/install-langflow.mdx +++ b/docs/docs/getting-started/install-langflow.mdx @@ -6,9 +6,7 @@ import Admonition from "@theme/Admonition"; # 📦 Install Langflow - - Langflow v1.0 alpha is also available in [HuggingFace Spaces](https://huggingface.co/spaces/Langflow/Langflow-Preview?duplicate=true). Try it out or follow the instructions [here](./install-langflow##huggingface-spaces) to install it locally. - + Langflow v1.0 alpha 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 requires [Python 3.10](https://www.python.org/downloads/release/python-3100/) and [pip](https://pypi.org/project/pip/) or [pipx](https://pipx.pypa.io/stable/installation/) to be installed on your system. diff --git a/docs/docs/getting-started/quickstart.mdx b/docs/docs/getting-started/quickstart.mdx index 774e0c859..ef7d373a6 100644 --- a/docs/docs/getting-started/quickstart.mdx +++ b/docs/docs/getting-started/quickstart.mdx @@ -10,12 +10,12 @@ This guide demonstrates how to build a basic prompt flow and modify that prompt ## Prerequisites -* [Langflow installed](./install-langflow.mdx) +* [Langflow installed and running](./install-langflow.mdx) * [OpenAI API key](https://platform.openai.com) - Langflow v1.0 alpha is also available in [HuggingFace Spaces](https://huggingface.co/spaces/Langflow/Langflow-Preview?duplicate=true). Try it out or follow the instructions [here](./install-langflow##huggingface-spaces) to install it locally. + Langflow v1.0 alpha 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. ## Hello World - Basic Prompting diff --git a/docs/docs/index.mdx b/docs/docs/index.mdx index e807ee086..7fb912e98 100644 --- a/docs/docs/index.mdx +++ b/docs/docs/index.mdx @@ -26,9 +26,11 @@ Its intuitive interface allows for easy manipulation of AI building blocks, enab - [Quickstart](/getting-started/quickstart) - Create a flow and run it. -- [HuggingFace Spaces](/getting-started/huggingface-spaces) - Duplicate the Langflow preview space and try it out before you install. +- [Langflow Canvas](/getting-started/canvas) - Learn more about the Langflow canvas. -- [New to LLMs?](/getting-started/new-to-llms) - Learn more about LLMs, prompting, and more at [promptingguide.ai](https://promptingguide.ai). + + Langflow v1.0 alpha 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. + ## 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 3138fea02..6fb7391e2 100644 --- a/docs/docs/starter-projects/basic-prompting.mdx +++ b/docs/docs/starter-projects/basic-prompting.mdx @@ -14,36 +14,14 @@ This article demonstrates how to use Langflow's prompt tools to issue basic prom ## Prerequisites -1. Install Langflow. -```bash -python -m pip install langflow --pre -``` +* [Langflow installed and running](../getting-started/install-langflow.mdx) -2. Start a local Langflow instance with the Langflow CLI: -```bash -langflow run -``` -Or start Langflow with Python: -```bash -python -m langflow run -``` - -Result: -``` -│ Welcome to ⛓ Langflow │ -│ │ -│ Access http://127.0.0.1:7860 │ -│ Collaborate, and contribute at our GitHub Repo 🚀 │ -``` +* [OpenAI API key created](https://platform.openai.com) - - Langflow v1.0 alpha is also available in [HuggingFace Spaces](https://huggingface.co/spaces/Langflow/Langflow-Preview?duplicate=true). Try it out or follow the instructions [here](/getting-started/huggingface-spaces) to install it locally. - + Langflow v1.0 alpha 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. -3. Create an [OpenAI API key](https://platform.openai.com). - ## Create the basic prompting project 1. From the Langflow dashboard, click **New Project**. diff --git a/docs/docs/starter-projects/blog-writer.mdx b/docs/docs/starter-projects/blog-writer.mdx index 25861a7e5..0e8047fd6 100644 --- a/docs/docs/starter-projects/blog-writer.mdx +++ b/docs/docs/starter-projects/blog-writer.mdx @@ -10,36 +10,14 @@ Build a blog writer with OpenAI that uses URLs for reference content. ## Prerequisites -1. Install Langflow. -```bash -python -m pip install langflow --pre -``` +* [Langflow installed and running](../getting-started/install-langflow.mdx) -2. Start a local Langflow instance with the Langflow CLI: -```bash -langflow run -``` -Or start Langflow with Python: -```bash -python -m langflow run -``` - -Result: -```bash -│ Welcome to ⛓ Langflow │ -│ │ -│ Access http://127.0.0.1:7860 │ -│ Collaborate, and contribute at our GitHub Repo 🚀 │ -``` +* [OpenAI API key created](https://platform.openai.com) - - Langflow v1.0 alpha is also available in [HuggingFace Spaces](https://huggingface.co/spaces/Langflow/Langflow-Preview?duplicate=true). Try it out or follow the instructions [here](/getting-started/huggingface-spaces) to install it locally. - + Langflow v1.0 alpha 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. -3. Create an [OpenAI API key](https://platform.openai.com). - ## Create the Blog Writer project 1. From the Langflow dashboard, click **New Project**. diff --git a/docs/docs/starter-projects/document-qa.mdx b/docs/docs/starter-projects/document-qa.mdx index 1807bb948..5e5377355 100644 --- a/docs/docs/starter-projects/document-qa.mdx +++ b/docs/docs/starter-projects/document-qa.mdx @@ -10,36 +10,14 @@ Build a question-and-answer chatbot with a document loaded from local memory. ## Prerequisites -1. Install Langflow. -```bash -python -m pip install langflow --pre -``` +* [Langflow installed and running](../getting-started/install-langflow.mdx) -2. Start a local Langflow instance with the Langflow CLI: -```bash -langflow run -``` -Or start Langflow with Python: -```bash -python -m langflow run -``` - -Result: -``` -│ Welcome to ⛓ Langflow │ -│ │ -│ Access http://127.0.0.1:7860 │ -│ Collaborate, and contribute at our GitHub Repo 🚀 │ -``` +* [OpenAI API key created](https://platform.openai.com) - - Langflow v1.0 alpha is also available in [HuggingFace Spaces](https://huggingface.co/spaces/Langflow/Langflow-Preview?duplicate=true). Try it out or follow the instructions [here](/getting-started/huggingface-spaces) to install it locally. - + Langflow v1.0 alpha 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. -3. Create an [OpenAI API key](https://platform.openai.com). - ## 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 1022b5eb2..86c64d368 100644 --- a/docs/docs/starter-projects/memory-chatbot.mdx +++ b/docs/docs/starter-projects/memory-chatbot.mdx @@ -10,36 +10,14 @@ This flow extends the [basic prompting flow](./basic-prompting.mdx) to include c ## Prerequisites -1. Install Langflow. -```bash -python -m pip install langflow --pre -``` +* [Langflow installed and running](../getting-started/install-langflow.mdx) -2. Start a local Langflow instance with the Langflow CLI: -```bash -langflow run -``` -Or start Langflow with Python: -```bash -python -m langflow run -``` - -Result: -``` -│ Welcome to ⛓ Langflow │ -│ │ -│ Access http://127.0.0.1:7860 │ -│ Collaborate, and contribute at our GitHub Repo 🚀 │ -``` +* [OpenAI API key created](https://platform.openai.com) - - Langflow v1.0 alpha is also available in [HuggingFace Spaces](https://huggingface.co/spaces/Langflow/Langflow-Preview?duplicate=true). Try it out or follow the instructions [here](/getting-started/huggingface-spaces) to install it locally. - + Langflow v1.0 alpha 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. -3. Create an [OpenAI API key](https://platform.openai.com). - ## Create the memory chatbot project 1. From the Langflow dashboard, click **New Project**. diff --git a/docs/docs/starter-projects/vector-store-rag.mdx b/docs/docs/starter-projects/vector-store-rag.mdx index 136006a5f..ddb0a1d46 100644 --- a/docs/docs/starter-projects/vector-store-rag.mdx +++ b/docs/docs/starter-projects/vector-store-rag.mdx @@ -17,10 +17,10 @@ We've chosen [Astra DB](https://astra.datastax.com/signup?utm_source=langflow-pr ## Prerequisites - Langflow v1.0 alpha is also available in [HuggingFace Spaces](https://huggingface.co/spaces/Langflow/Langflow-Preview?duplicate=true). Try it out or follow the instructions [here](../getting-started/huggingface-spaces) to install it locally. + Langflow v1.0 alpha 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](../getting-started/install-langflow.mdx) +* [Langflow installed and running](../getting-started/install-langflow.mdx) * [OpenAI API key](https://platform.openai.com)