promptx

Crates.iopromptx
lib.rspromptx
version0.5.0
created_at2025-01-18 06:54:27.991573+00
updated_at2025-01-29 01:37:59.592384+00
descriptionAI prompt optimization
homepagehttps://github.com/ai-flowx/promptx
repositoryhttps://github.com/ai-flowx/promptx
max_upload_size
id1521424
size121,100
Jia (craftslab)

documentation

https://github.com/ai-flowx/promptx

README

promptx

Actions Status License Tag

Introduction

promptx is the ai prompt generation of flowx written in Rust.

Prerequisites

  • Rust >= 1.83.0

Run

Usage

Usage: promptx --config-file <FILE>

Options:
  -c, --config-file <FILE>  Config file [default: config.yml]
  -h, --help                Print help
  -V, --version             Print version

Settings

promptx parameters can be set in the directory config.

An example of configuration in config.yml:

llm:
  - name: doubao
    api: https://ark.cn-beijing.volces.com/api/v3/chat/completions
    key: 8429f8ab-*
    endpoint: ep-*
  - name: openai
    api: https://api.openai.com/v1/chat/completions
    key: 9429f8ab-*
    endpoint: ep-*

Android

export ANDROID_NDK_ROOT=/path/to/android_ndk_root
cargo ndk -t aarch64-linux-android build --release

License

Project License can be found here.

Reference

Commit count: 28

cargo fmt