diff --git a/docs/examples/flow.md b/docs/examples/flow.md index 3403d55b..86c58626 100644 --- a/docs/examples/flow.md +++ b/docs/examples/flow.md @@ -4,10 +4,6 @@ Welcome to the walkthrough guide for beginners on using the "Flow" feature within the Swarms module. This guide is designed to help you understand and utilize the capabilities of the Flow class for seamless interactions with AI language models. -**Target Audience:** - -- This guide is primarily intended for beginners who want to learn how to use the Flow feature in the Swarms module to interact with AI language models effectively. - ## Table of Contents 1\. **Understanding the Flow Feature** @@ -22,8 +18,6 @@ Welcome to the walkthrough guide for beginners on using the "Flow" feature withi    - 2.2 Installing Required Libraries -   - 2.3 Importing Necessary Modules - 3\. **Creating a Flow Instance**    - 3.1 Importing the Required Modules @@ -118,47 +112,7 @@ Before you begin, ensure that you have the following prerequisites in place: ### 2.2 Installing Required Libraries -To use the Flow feature, you'll need to install the required libraries. Make sure you have these libraries installed: - -- `termcolor`: For colorful console output. - -- `inspects`: For introspecting the language model. - -- `random`: For handling dynamic temperature. - -- Other dependencies as needed for your specific environment. - -You can install these libraries using pip: - -```bash - -pip install termcolor inspects - -``` - -### 2.3 Importing Necessary Modules - -In your Python script or environment, import the necessary modules from the Swarms framework: - -```python - -import json - -import logging - -import time - -from typing import Any, Callable, Dict, List, Optional, Tuple, Generator - -from termcolor import colored - -import inspect - -import random - -``` - -Ensure that you have these modules imported to proceed with the guide. +`pip3 install --upgrade swarms` ## 3. Creating a Flow Instance diff --git a/mkdocs.yml b/mkdocs.yml index 4f5134a7..f9a38fca 100644 --- a/mkdocs.yml +++ b/mkdocs.yml @@ -116,7 +116,7 @@ nav: - swarms.chunkers: - BaseChunker: "swarms/chunkers/basechunker.md" - PdfChunker: "swarms/chunkers/pdf_chunker.md" -- Examples: +- Walkthroughs: - Overview: "examples/index.md" - Flow: "examples/flow.md" - Agents: