Skip to main content

一个确定性时延的图像生成大模型

Project description

OpenMindX

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

安装

pip install openmindx

使用方法

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

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

openmindx-0.1.0.tar.gz (3.4 kB view details)

Uploaded Source

Built Distribution

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

openmindx-0.1.0-py3-none-any.whl (3.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: openmindx-0.1.0.tar.gz
  • Upload date:
  • Size: 3.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.9

File hashes

Hashes for openmindx-0.1.0.tar.gz
Algorithm Hash digest
SHA256 0d7e94b2bceec3edaeda07d35267ee05c0e25724272417c155805cab79849680
MD5 bd57f5395958918ee47760f18d3d389e
BLAKE2b-256 80db30c5e22729b3d58db5dabe33eee58b489114dde318381efcd369d3315539

See more details on using hashes here.

File details

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

File metadata

  • Download URL: openmindx-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 3.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.9

File hashes

Hashes for openmindx-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 15b5b78e8c15ffe84b4cc2e96c18454fdaf8770603c84c8209685b362fbaaa85
MD5 2a80159e8e32e80f20ea6c803132c0c4
BLAKE2b-256 bf0194d671118a0ec34d346a2450fb93bcc36e24b7c2e78bcc9123898716ea3b

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