Skip to main content

AI Coding Assistant powered by Qwen2.5-Coder + LangChain

Project description

🚀 Solbiz Coder

AI Coding Assistant powered by Qwen2.5-Coder + LangChain

✨ Features

  • 💻 Coding Assistant - Viết code, debug, review
  • 🔬 Research Assistant - Phân tích, tóm tắt, giải thích
  • 📊 Data Analysis - Xử lý dữ liệu, SQL, visualization

📦 Installation

Yêu cầu

  • Python 3.9+
  • Ollama server đang chạy với model qwen2.5-coder:7b

Cài đặt từ PyPI

pip install solbiz-coder

Cài đặt từ source

git clone https://github.com/solbiz/solbiz-coder.git
cd solbiz-coder
pip install -e .

🚀 Usage

Chạy CLI

solbiz-coder

Cấu hình server

Lần đầu chạy, dùng /config để cấu hình:

[code] You: /config

Cấu hình Ollama Server

Server hiện tại: http://localhost:11434
Model hiện tại: qwen2.5-coder:7b

Nhập URL server Ollama: http://your-server-ip:11434

Các lệnh

Lệnh Mô tả
/help Hiển thị hướng dẫn
/mode code Chế độ coding
/mode research Chế độ research
/mode data Chế độ data analysis
/config Cấu hình server
/clear Xóa lịch sử chat
/exit Thoát

🖥️ Setup Ollama Server

Local

# Cài Ollama
curl -fsSL https://ollama.com/install.sh | sh

# Pull model
ollama pull qwen2.5-coder:7b

# Chạy
ollama serve

Remote Server (Vultr, etc.)

# Trên server, expose Ollama API
systemctl stop ollama
mkdir -p /etc/systemd/system/ollama.service.d
echo '[Service]
Environment="OLLAMA_HOST=0.0.0.0:11434"' > /etc/systemd/system/ollama.service.d/override.conf
systemctl daemon-reload
systemctl start ollama

Sau đó trên local, chạy solbiz-coder và dùng /config để nhập IP server.

📝 License

MIT License

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

solbiz_coder-0.1.0.tar.gz (7.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

solbiz_coder-0.1.0-py3-none-any.whl (8.0 kB view details)

Uploaded Python 3

File details

Details for the file solbiz_coder-0.1.0.tar.gz.

File metadata

  • Download URL: solbiz_coder-0.1.0.tar.gz
  • Upload date:
  • Size: 7.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.11

File hashes

Hashes for solbiz_coder-0.1.0.tar.gz
Algorithm Hash digest
SHA256 c339b4dcac06742b06b687daa4b819e9ad5729a28a6dbb79886253f5750e02df
MD5 2bcca96c51846b19ec2d0974c0ab8470
BLAKE2b-256 b9ed1b17508d69f435c9985f9de3d42c63b046738839be0b209c1148b3490ab3

See more details on using hashes here.

File details

Details for the file solbiz_coder-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: solbiz_coder-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 8.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.11

File hashes

Hashes for solbiz_coder-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 7e2e5ab494c44aa2b35cdb94e20669c789d7581b08f36f2ca5bfcf420eb5deaa
MD5 a032c4df7a30b9c36e585fe0ecf81c8b
BLAKE2b-256 baf457e97d30705256c3b98371570f99927dfdedea415a112b9acb2914012263

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page