semvec/pypi-packages huggingface dataset:
reasoner-transpiler 2.4.0
TRAPI → Cypher transpiler
License: MIT
Requires Python: >=3.9

# TRAPI → Cypher transpiler

[![Test status via GitHub Actions](https://github.com/ranking-agent/reasoner/workflows/test/badge.svg)](https://github.com/ranking-agent/reasoner/actions?query=workflow%3Atest)
[![Code coverage on Codecov](https://codecov.io/gh/ranking-agent/reasoner-transpiler/branch/main/graph/badge.svg)](https://app.codecov.io/gh/ranking-agent/reasoner-transpiler/branch/main)

## Installation

```bash
pip install reasoner-transpiler
```

## Usage

```python
from reasoner_transpiler.cypher import get_query

qgraph = {
    "nodes": {
        "diabetes": {
            "ids": ["MONDO:0005148"],
        },
        "phenotype": {
            "categories": ["biolink:PhenotypicFeature"],
        },
    },
    "edges": {
        "has phenotype": {
            "subject": "diabetes",
            "predicates": ["biolink:has_phenotype"],
            "object": "phenotype",
        },
    },
}

cypher = get_query(qgraph)
```

## Biolink Model
This package uses the Biolink Model Toolkit to access the Biolink Model. Optionally, choose a specific version of the Biolink Model with the environment variable BL_VERSION. Otherwise, the latest version used by the Biolink Model Toolkit will be used.
```commandline
export BL_VERSION=4.1.6
```
solbiz-coder 0.1.0
AI Coding Assistant powered by Qwen2.5-Coder + LangChain
License: MIT
Requires Python: >=3.9
Keywords: ai, coding, assistant, llm, langchain, ollama

# 🚀 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

```bash
pip install solbiz-coder
```

### Cài đặt từ source

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

## 🚀 Usage

### Chạy CLI

```bash
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

```bash
# 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.)

```bash
# 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