pull/1051/head
harshalmore31 6 days ago
parent 3e17704a12
commit cedc7a0062

@ -19,13 +19,17 @@ pip install qdrant-client fastembed swarms-memory litellm
## Tutorial Steps
1. **Install Swarms**: First, install the latest version of Swarms:
### Step 1: Install Swarms
First, install the latest version of Swarms:
```bash
pip3 install -U swarms
```
2. **Environment Setup**: Set up your environment variables in a `.env` file:
### Step 2: Environment Setup
Set up your environment variables in a `.env` file:
```plaintext
OPENAI_API_KEY="your-api-key-here"
@ -34,16 +38,25 @@ pip install qdrant-client fastembed swarms-memory litellm
WORKSPACE_DIR="agent_workspace"
```
3. **Choose Deployment**: Select your Qdrant deployment option:
### Step 3: Choose Deployment
Select your Qdrant deployment option:
- **In-memory**: For testing and development (data is not persisted)
- **Local server**: For production deployments with persistent storage
- **Qdrant Cloud**: Managed cloud service (recommended for production)
4. **Configure Database**: Set up the vector database wrapper with your preferred embedding model and collection settings
### Step 4: Configure Database
Set up the vector database wrapper with your preferred embedding model and collection settings
### Step 5: Add Documents
Load documents using individual or batch processing methods
5. **Add Documents**: Load documents using individual or batch processing methods
### Step 6: Create Agent
6. **Create Agent**: Initialize your agent with RAG capabilities and start querying
Initialize your agent with RAG capabilities and start querying
## Code

Loading…
Cancel
Save