🚀 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
Release files for solbiz-coder 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| solbiz_coder-0.1.0.tar.gz | 7.2 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| solbiz_coder-0.1.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 15.2 kB
Release files / solbiz_coder-0.1.0.tar.gz
| Download URL | solbiz_coder-0.1.0.tar.gz |
|---|---|
| Size | 7.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
c339b4dcac06742b06b687daa4b819e9ad5729a28a6dbb79886253f5750e02df
|
|
BLAKE2b-256 checksum How to use checksums |
b9ed1b17508d69f435c9985f9de3d42c63b046738839be0b209c1148b3490ab3
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.11.11
|
Release files / solbiz_coder-0.1.0-py3-none-any.whl
| Download URL | solbiz_coder-0.1.0-py3-none-any.whl |
|---|---|
| Size | 8.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
7e2e5ab494c44aa2b35cdb94e20669c789d7581b08f36f2ca5bfcf420eb5deaa
|
|
BLAKE2b-256 checksum How to use checksums |
baf457e97d30705256c3b98371570f99927dfdedea415a112b9acb2914012263
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.11.11
|