From e869379751e9763f34981396163d3c705d8cebf8 Mon Sep 17 00:00:00 2001 From: Chaudry24 Date: Wed, 4 Jun 2025 10:40:53 -0500 Subject: [PATCH] chore: updated instructions to use uv package manager --- README.md | 21 +++++++++++++++------ README_CHS.md | 23 ++++++++++++++++------- README_CHT.md | 23 ++++++++++++++++------- README_FR.md | 23 ++++++++++++++++------- README_JP.md | 23 ++++++++++++++++------- README_PTBR.md | 27 +++++++++++++++++++-------- 6 files changed, 98 insertions(+), 42 deletions(-) diff --git a/README.md b/README.md index defed2f..f68d8b6 100644 --- a/README.md +++ b/README.md @@ -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: diff --git a/README_CHS.md b/README_CHS.md index 8153568..cc6e888 100644 --- a/README_CHS.md +++ b/README_CHS.md @@ -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` 中的所有服务,包括: diff --git a/README_CHT.md b/README_CHT.md index fd4cbc3..8300a81 100644 --- a/README_CHT.md +++ b/README_CHT.md @@ -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` 中的所有服務,包括: diff --git a/README_FR.md b/README_FR.md index c464e53..45d4a3e 100644 --- a/README_FR.md +++ b/README_FR.md @@ -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 : diff --git a/README_JP.md b/README_JP.md index 14fa4ed..6851828 100644 --- a/README_JP.md +++ b/README_JP.md @@ -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 <>_API_KEY="xxx"` 必要に応じてPython環境をアクティブ化します。 ```sh -source agentic_seek_env/bin/activate +source .venv/bin/activate ``` 必要なサービスを開始します。これにより、docker-compose.ymlからすべてのサービスが開始されます。これには以下が含まれます: diff --git a/README_PTBR.md b/README_PTBR.md index 6466f8a..77d37c6 100644 --- a/README_PTBR.md +++ b/README_PTBR.md @@ -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