WINDOWS 上面 CodeX + graphify
WINDOWS 上面 CodeX + graphify
資料來源:https://share.gemini.google/tV8iqkL1RaEZ
https://chatgpt.com/share/6a6ab234-a580-83ee-8bd7-464d0683cad4
AI提問: 我已經在WINDOWS 上裝了 CODEX 我現在想要讓他支援 https://github.com/Graphify-Labs/graphify 我要如何開始進行
01.使用 Windows 包管理器安裝 uv PowerShell:
winget install astral-sh.uv
02.關閉並重新開啟 PowerShell
03.安裝 Graphify PowerShell:
uv tool install graphifyy
04.修復 PATH 環境變數 PowerShell:
uv tool update-shell
05.關閉並重新開啟 PowerShell
06.註冊至 Codex 並建立圖譜 PowerShell:
graphify install --platform codex #註冊至 Codex cd XXXXX #切換到工作目錄下 graphify . --code-only #指分析程式碼
07.在CodeX 內要命令 graphify 工作
Use Graphify to analyze this repository of ALL Codes. #Use Graphify to analyze this repository.
=============
08.以後提問前的 前導語
1. Use the Graphify graph as the primary source. 2. Read source files only when the graph lacks sufficient information. 3. 你要提問的內容 4. After major refactoring, update the Graphify graph before continuing.
1. Use the Graphify analyze as the primary source. 2. Read source files only when the analyze lacks sufficient information. 3. 你要提問的內容 4. After major refactoring, update the Graphify analyze before continuing.
實測提問:
1.Use the Graphify analyze as the primary source. 2.Read source files only when the analyze lacks sufficient information. 3.幫我找出所有列印相關的類別 4.After major refactoring, update the Graphify analyze before continuing.
2 thoughts on “WINDOWS 上面 CodeX + graphify”
LINUX上面Hermes Agent + graphify
#安裝graphify
python3 -m venv .venv
source .venv/bin/activate
pip install graphifyy
graphify --version
=================
#讓 Graphify 掛入 Hermes Agent
graphify install --platform hermes
graphify 如何 配置本地api
https://share.google/aimode/NWs5rfYjiKy1Lc3xQ
分析程式碼不需要API 他是用內建AST 靜態解析機制
如果用AI Agent(Hermes/CodeX)呼叫時,就會借用對方能力分析非程式檔案
所以除非要單獨使用 否則不用額外設定