สร้างตัวสมบูรณ์ขยาย
การขยายคือการติดตั้งในตัว Parrot.
ต่อไปนี้แสดงวิธีการสร้างส่วนขยาย Parrot จากโค้ดที่ถูกจัดเต็ม
ขึ้นกับ
การใช้ Debian Bookworm (stable/12) ติดตั้งขึนที่แพ็คเกจระบบปฏิบัติการของ OS
Python is needed to build the documentation. Python is no longer needed to build the extension, as upstream has removed the Python server.
sudo apt install \
git python3-venv python3-virtualenv python3-pip
Download
เพื่อสร้างแท็กป์ Parrot ให้ดาวน์โหลดโค้ดต้นฉบับจากเครื่องหมาย git นี่.
git clone https://spacecruft.org/deepcrayon/parrot-extension
cd parrot-extension/
สร้าง
อันดับแรก:
make
Same as:
make all
สร้างขยาย
src/extensions/vscode/build/continue-patch.vsix
เวอร์ชัน
หากต้องการปรับปรุงเวอร์ชัน:
${EDITOR} CHANGELOG
# git tag v0.0.0
สะอาด
ทำความสะอาด.
make clean
แปะ
ส่งไปยังกลุ่ม git แหล่งข้อมูล.
make push
ผมว่าจ้า
เซิร์ฟเวอร์:
./parrot-server
แปลง
อาจจะ
cd src/extensions/vscode/
yarn
yarn package
เซิร์ฟเวอร์การสมการ
ทำเสร็จ: เพิ่มเซิร์ฟเวอร์ให้กับปลั๊กอินของตน. ณ ตอนนี้ สร้างและใช้งาน llama.cpp
.
git clone https://github.com/ggerganov/llama.cpp
cd llama.cpp
# build thing.