chore: updated instructions to use uv package manager
This commit is contained in:
@@ -52,12 +52,21 @@ cd agenticSeek
|
||||
mv .env.example .env
|
||||
```
|
||||
|
||||
### 2️ **Create a virtual env**
|
||||
## Step 2: Install UV Package Manager
|
||||
|
||||
```sh
|
||||
python3 -m venv agentic_seek_env
|
||||
source agentic_seek_env/bin/activate
|
||||
# On Windows: agentic_seek_env\Scripts\activate
|
||||
### For Linux/macOS:
|
||||
```bash
|
||||
curl -LsSf https://astral.sh/uv/install.sh | sh
|
||||
```
|
||||
|
||||
### For Windows:
|
||||
```powershell
|
||||
powershell -c "irm https://astral.sh/uv/install.ps1 | iex"
|
||||
```
|
||||
|
||||
## Step 3: Create Virtual Environment
|
||||
```bash
|
||||
uv venv
|
||||
```
|
||||
|
||||
### 3️⃣ **Install package**
|
||||
@@ -228,7 +237,7 @@ Next step: [Start services and run AgenticSeek](#Start-services-and-Run)
|
||||
|
||||
Activate your python env if needed.
|
||||
```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:
|
||||
|
||||
+16
-7
@@ -46,15 +46,24 @@ cd agenticSeek
|
||||
mv .env.example .env
|
||||
```
|
||||
|
||||
### 2️ **建立虚拟环境**
|
||||
## 2️⃣ 安装 UV 包管理器
|
||||
|
||||
```sh
|
||||
python3 -m venv agentic_seek_env
|
||||
source agentic_seek_env/bin/activate
|
||||
# On Windows: agentic_seek_env\Scripts\activate
|
||||
### Linux/macOS:
|
||||
```bash
|
||||
curl -LsSf https://astral.sh/uv/install.sh | sh
|
||||
```
|
||||
|
||||
### 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 环境。
|
||||
```sh
|
||||
source agentic_seek_env/bin/activate
|
||||
source .venv/bin/activate
|
||||
```
|
||||
|
||||
启动所需的服务。这将启动 `docker-compose.yml` 中的所有服务,包括:
|
||||
|
||||
+16
-7
@@ -41,15 +41,24 @@ cd agenticSeek
|
||||
mv .env.example .env
|
||||
```
|
||||
|
||||
### 2️ **建立虛擬環境**
|
||||
## 2️⃣ 安裝 UV 套件管理器
|
||||
|
||||
```sh
|
||||
python3 -m venv agentic_seek_env
|
||||
source agentic_seek_env/bin/activate
|
||||
# On Windows: agentic_seek_env\Scripts\activate
|
||||
### Linux/macOS:
|
||||
```bash
|
||||
curl -LsSf https://astral.sh/uv/install.sh | sh
|
||||
```
|
||||
|
||||
### 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 環境。
|
||||
|
||||
```sh
|
||||
source agentic_seek_env/bin/activate
|
||||
source .venv/bin/activate
|
||||
```
|
||||
|
||||
啟動所需的服務。這將啟動 `docker-compose.yml` 中的所有服務,包括:
|
||||
|
||||
+16
-7
@@ -57,15 +57,24 @@ cd agenticSeek
|
||||
mv .env.example .env
|
||||
```
|
||||
|
||||
### 2 **Créer un environnement virtuel**
|
||||
## 2️⃣ Installer le gestionnaire de paquets UV
|
||||
|
||||
```sh
|
||||
python3 -m venv agentic_seek_env
|
||||
source agentic_seek_env/bin/activate
|
||||
# Sur Windows: agentic_seek_env\Scripts\activate
|
||||
### Pour Linux/macOS:
|
||||
```bash
|
||||
curl -LsSf https://astral.sh/uv/install.sh | sh
|
||||
```
|
||||
|
||||
### 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:**
|
||||
|
||||
@@ -166,7 +175,7 @@ Remarque : Certains fournisseurs (ex : lm-studio) nécessitent `http://` devant
|
||||
|
||||
Activez votre environnement Python si nécessaire.
|
||||
```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 :
|
||||
|
||||
+16
-7
@@ -50,15 +50,24 @@ cd agenticSeek
|
||||
mv .env.example .env
|
||||
```
|
||||
|
||||
### 2️ **仮想環境の作成**
|
||||
## 2️⃣ UVパッケージマネージャーのインストール
|
||||
|
||||
```sh
|
||||
python3 -m venv agentic_seek_env
|
||||
source agentic_seek_env/bin/activate
|
||||
# Windowsの場合: agentic_seek_env\Scripts\activate
|
||||
### Linux/macOS:
|
||||
```bash
|
||||
curl -LsSf https://astral.sh/uv/install.sh | sh
|
||||
```
|
||||
|
||||
### 3️⃣ **パッケージのインストール**
|
||||
### Windows:
|
||||
```powershell
|
||||
powershell -c "irm https://astral.sh/uv/install.ps1 | iex"
|
||||
```
|
||||
|
||||
## 3️⃣ 仮想環境の作成
|
||||
```bash
|
||||
uv venv
|
||||
```
|
||||
|
||||
### 4️⃣ **パッケージのインストール**
|
||||
|
||||
Python、Dockerとdocker compose、Google Chromeがインストールされていることを確認してください。
|
||||
|
||||
@@ -237,7 +246,7 @@ APIキーをエクスポートします:`export <<PROVIDER>>_API_KEY="xxx"`
|
||||
|
||||
必要に応じてPython環境をアクティブ化します。
|
||||
```sh
|
||||
source agentic_seek_env/bin/activate
|
||||
source .venv/bin/activate
|
||||
```
|
||||
|
||||
必要なサービスを開始します。これにより、docker-compose.ymlからすべてのサービスが開始されます。これには以下が含まれます:
|
||||
|
||||
+19
-8
@@ -63,17 +63,24 @@ cd agenticSeek
|
||||
mv .env.example .env
|
||||
```
|
||||
|
||||
### 2️⃣ Crie um ambiente virtual
|
||||
## 2️⃣ Instale o Gerenciador de Pacotes UV
|
||||
|
||||
### Para Linux/macOS:
|
||||
```bash
|
||||
python3.10 -m venv .venv
|
||||
# Linux/macOS:
|
||||
source .venv/bin/activate
|
||||
# Windows:
|
||||
.venv\Scripts\activate
|
||||
curl -LsSf https://astral.sh/uv/install.sh | sh
|
||||
```
|
||||
|
||||
### 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)
|
||||
|
||||
@@ -195,7 +202,11 @@ export OPENAI_API_KEY="sua_chave_aqui"
|
||||
.\start_services.cmd
|
||||
```
|
||||
|
||||
3. Escolha a interface:
|
||||
3. Ative o ambiente virtual e escolha a interface:
|
||||
|
||||
```bash
|
||||
source .venv/bin/activate
|
||||
```
|
||||
|
||||
- **CLI**
|
||||
```bash
|
||||
|
||||
Reference in New Issue
Block a user