chore: updated instructions to use uv package manager

This commit is contained in:
Chaudry24
2025-06-04 10:40:53 -05:00
parent dc6a35bcf9
commit e869379751
6 changed files with 98 additions and 42 deletions
+15 -6
View File
@@ -52,12 +52,21 @@ cd agenticSeek
mv .env.example .env mv .env.example .env
``` ```
### 2 **Create a virtual env** ## Step 2: Install UV Package Manager
```sh ### For Linux/macOS:
python3 -m venv agentic_seek_env ```bash
source agentic_seek_env/bin/activate curl -LsSf https://astral.sh/uv/install.sh | sh
# On Windows: agentic_seek_env\Scripts\activate ```
### For Windows:
```powershell
powershell -c "irm https://astral.sh/uv/install.ps1 | iex"
```
## Step 3: Create Virtual Environment
```bash
uv venv
``` ```
### 3️⃣ **Install package** ### 3️⃣ **Install package**
@@ -228,7 +237,7 @@ Next step: [Start services and run AgenticSeek](#Start-services-and-Run)
Activate your python env if needed. Activate your python env if needed.
```sh ```sh
source agentic_seek_env/bin/activate source .venv/bin/activate
``` ```
Start required services. This will start all services from the docker-compose.yml, including: Start required services. This will start all services from the docker-compose.yml, including:
+16 -7
View File
@@ -46,15 +46,24 @@ cd agenticSeek
mv .env.example .env mv .env.example .env
``` ```
### 2 **建立虚拟环境** ## 2⃣ 安装 UV 包管理器
```sh ### Linux/macOS:
python3 -m venv agentic_seek_env ```bash
source agentic_seek_env/bin/activate curl -LsSf https://astral.sh/uv/install.sh | sh
# On Windows: agentic_seek_env\Scripts\activate
``` ```
### 3️⃣ **安装所需套件** ### Windows:
```powershell
powershell -c "irm https://astral.sh/uv/install.ps1 | iex"
```
## 3️⃣ 创建虚拟环境
```bash
uv venv
```
### 4️⃣ **安装所需套件**
**自动安装:** **自动安装:**
@@ -196,7 +205,7 @@ provider_server_address = 127.0.0.1:5000
如果需要,请激活你的 Python 环境。 如果需要,请激活你的 Python 环境。
```sh ```sh
source agentic_seek_env/bin/activate source .venv/bin/activate
``` ```
启动所需的服务。这将启动 `docker-compose.yml` 中的所有服务,包括: 启动所需的服务。这将启动 `docker-compose.yml` 中的所有服务,包括:
+16 -7
View File
@@ -41,15 +41,24 @@ cd agenticSeek
mv .env.example .env mv .env.example .env
``` ```
### 2 **建立虛擬環境** ## 2⃣ 安裝 UV 套件管理器
```sh ### Linux/macOS:
python3 -m venv agentic_seek_env ```bash
source agentic_seek_env/bin/activate curl -LsSf https://astral.sh/uv/install.sh | sh
# On Windows: agentic_seek_env\Scripts\activate
``` ```
### 3️⃣ **安裝所需套件** ### Windows:
```powershell
powershell -c "irm https://astral.sh/uv/install.ps1 | iex"
```
## 3️⃣ 建立虛擬環境
```bash
uv venv
```
### 4️⃣ **安裝所需套件**
**自動安裝:** **自動安裝:**
@@ -189,7 +198,7 @@ provider_server_address = 127.0.0.1:5000
如果需要,請啟用你的 Python 環境。 如果需要,請啟用你的 Python 環境。
```sh ```sh
source agentic_seek_env/bin/activate source .venv/bin/activate
``` ```
啟動所需的服務。這將啟動 `docker-compose.yml` 中的所有服務,包括: 啟動所需的服務。這將啟動 `docker-compose.yml` 中的所有服務,包括:
+16 -7
View File
@@ -57,15 +57,24 @@ cd agenticSeek
mv .env.example .env mv .env.example .env
``` ```
### 2 **Créer un environnement virtuel** ## 2️⃣ Installer le gestionnaire de paquets UV
```sh ### Pour Linux/macOS:
python3 -m venv agentic_seek_env ```bash
source agentic_seek_env/bin/activate curl -LsSf https://astral.sh/uv/install.sh | sh
# Sur Windows: agentic_seek_env\Scripts\activate
``` ```
### 3️⃣ **Installation** ### Pour Windows:
```powershell
powershell -c "irm https://astral.sh/uv/install.ps1 | iex"
```
## 3️⃣ Créer un environnement virtuel
```bash
uv venv
```
### 4️⃣ **Installation**
**Automatique:** **Automatique:**
@@ -166,7 +175,7 @@ Remarque : Certains fournisseurs (ex : lm-studio) nécessitent `http://` devant
Activez votre environnement Python si nécessaire. Activez votre environnement Python si nécessaire.
```sh ```sh
source agentic_seek_env/bin/activate source .venv/bin/activate
``` ```
Démarrez les services requis. Cela lancera tous les services définis dans le fichier docker-compose.yml, y compris : Démarrez les services requis. Cela lancera tous les services définis dans le fichier docker-compose.yml, y compris :
+16 -7
View File
@@ -50,15 +50,24 @@ cd agenticSeek
mv .env.example .env mv .env.example .env
``` ```
### 2 **仮想環境の作成** ## 2⃣ UVパッケージマネージャーのインストール
```sh ### Linux/macOS:
python3 -m venv agentic_seek_env ```bash
source agentic_seek_env/bin/activate curl -LsSf https://astral.sh/uv/install.sh | sh
# Windowsの場合: agentic_seek_env\Scripts\activate
``` ```
### 3️⃣ **パッケージのインストール** ### Windows:
```powershell
powershell -c "irm https://astral.sh/uv/install.ps1 | iex"
```
## 3️⃣ 仮想環境の作成
```bash
uv venv
```
### 4️⃣ **パッケージのインストール**
Python、Dockerとdocker compose、Google Chromeがインストールされていることを確認してください。 Python、Dockerとdocker compose、Google Chromeがインストールされていることを確認してください。
@@ -237,7 +246,7 @@ APIキーをエクスポートします:`export <<PROVIDER>>_API_KEY="xxx"`
必要に応じてPython環境をアクティブ化します。 必要に応じてPython環境をアクティブ化します。
```sh ```sh
source agentic_seek_env/bin/activate source .venv/bin/activate
``` ```
必要なサービスを開始します。これにより、docker-compose.ymlからすべてのサービスが開始されます。これには以下が含まれます: 必要なサービスを開始します。これにより、docker-compose.ymlからすべてのサービスが開始されます。これには以下が含まれます:
+19 -8
View File
@@ -63,17 +63,24 @@ cd agenticSeek
mv .env.example .env mv .env.example .env
``` ```
### 2️⃣ Crie um ambiente virtual ## 2️⃣ Instale o Gerenciador de Pacotes UV
### Para Linux/macOS:
```bash ```bash
python3.10 -m venv .venv curl -LsSf https://astral.sh/uv/install.sh | sh
# Linux/macOS:
source .venv/bin/activate
# Windows:
.venv\Scripts\activate
``` ```
### 3️⃣ Instale o pacote ### Para Windows:
```powershell
powershell -c "irm https://astral.sh/uv/install.ps1 | iex"
```
## 3️⃣ Crie um Ambiente Virtual
```bash
uv venv
```
### 4️⃣ Instale o pacote
#### Instalação Automática (Recomendada) #### Instalação Automática (Recomendada)
@@ -195,7 +202,11 @@ export OPENAI_API_KEY="sua_chave_aqui"
.\start_services.cmd .\start_services.cmd
``` ```
3. Escolha a interface: 3. Ative o ambiente virtual e escolha a interface:
```bash
source .venv/bin/activate
```
- **CLI** - **CLI**
```bash ```bash