Metadata-Version: 2.4
Name: openmindx
Version: 0.1.0
Summary: 一个确定性时延的图像生成大模型
Home-page: https://github.com/yourusername/openmindx
Author: wawei
Author-email: wawei@wawei.com
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Requires-Python: >=3.6
Description-Content-Type: text/markdown
License-File: LICENSE
Dynamic: author
Dynamic: author-email
Dynamic: classifier
Dynamic: description
Dynamic: description-content-type
Dynamic: home-page
Dynamic: license-file
Dynamic: requires-python
Dynamic: summary

# OpenMindX

OpenMindX是一确定性时延的开源图像生成大模型，并且可以在用户输入错误时按下Ctrl+C时显示错误信息。

## 安装

```bash
pip install openmindx
```

## 使用方法

```python
from mindx import rag

# 使用预定义的rag实例
q = "示例查询"
ret = rag.query(q, image_only=True, file_type="JPEG")
ret.write("/path/to/output.jpeg")  # 在这里按Ctrl+C会显示自定义错误

# 或者创建自己的实例
from mindx import RAG
custom_rag = RAG()
result = custom_rag.query("自定义查询")
result.write("/path/to/custom_output.jpeg")
```

## 特性

- 模拟特定的KeyboardInterrupt错误信息
- 包含自定义的traceback信息
- 简单易用的API

## 许可证

MIT
