semvec/pypi-packages huggingface dataset:
transfer-phone 1.4
Defect relation mapping


# 1.安装

```bash
pip install transfer_phone
```

# 2.测试用例

```python
from transfer_phone.transfer_phone import paramTransfer
if __name__ == '__main__':
    #安卓手机数据传入 例
    # 没有对应的瑕疵时穿入空字符串
    data = {
        "model": "荣耀 X20",
        "netWork":"全网通",
        "purchaseChannel":"国行",
        "color": "银色",
        "ram": "6G",
        "storage": "256G",
        "warranty_period":"",
        "damageInfor":
        {"使用功能": "电池健康度100%|后摄像头拍照有斑|光线/距离感应异常", "屏幕显示": "显示明显老化", "机身外观": "外壳缺失/裂缝/孔变形/翘起/刻字|屏幕硬划痕（≥10毫米）"}
    }
    trans = paramTransfer()
    result = trans.returnSearchPriceParam(data)
    print(result)
```
rulesheet 0.0.1
Convert Business Rules defined in a Google Sheet or CSV to Python
Keywords: business, data, python, rules

# rulesheet (work in progress)
> Convert Business Rules defined in a Google Sheet or CSV to Python

## usage
Define business rules in a CSV.  See an example of a csv [here](https://github.com/officeofperformancemanagement/rulesheet/blob/main/example.csv).

```python
from rulesheet import load_ruler_from_csv

ruler = load_ruler_from_csv("./example.csv")

ruler.test({ "year": 2023, "city": "Chattanooga" })
True
```
VersaCore 0.1.0
VersaCore Library
Requires Python: >=3.6

# VersaCore

The VersaCore Python library

## Installation

```bash
pip install versacore
```

 # Web Article Summarize Query API

This project provides an API to summarize or query articles from a given URL using the Large Language Model (LLM). The API can be used with various models and APIs, such as lmstudio.

## Usage

### Summarize an Article

To summarize an article from a URL:

```bash
python webArticleSummariseQuery.py --url "https://example.com/article" --model "your_desired_model"
```

The summarized content will be printed to the console.

### Query an Article

To query an article with a specific question:

```bash
python webArticleSummariseQuery.py --url "https://example.com/article" --model "your_desired_model" --query "What is the main point of this article?"
```

The answer to your question will be printed to the console.

### Running the API Server

To run the Flask server and access the API, use:

```bash
python webArticleSummariseQuery.py --url "https://example.com/article" --model "your_desired_model" [--api "your_desired_api"] [--port 5001]
```

The API will be available at `http://localhost:5001`. You can make POST requests to `/summarize` or `/query` endpoints, providing the required parameters in JSON format.

For example, using a tool like `curl`:

```bash
curl -X POST -H "Content-Type: application/json" -d '{"url": "https://example.com/article", "model": "your_desired_model"}' http://localhost:5001/summarize
```