Crates.io | promptx |
lib.rs | promptx |
version | 0.5.0 |
created_at | 2025-01-18 06:54:27.991573+00 |
updated_at | 2025-01-29 01:37:59.592384+00 |
description | AI prompt optimization |
homepage | https://github.com/ai-flowx/promptx |
repository | https://github.com/ai-flowx/promptx |
max_upload_size | |
id | 1521424 |
size | 121,100 |
promptx is the ai prompt generation of flowx written in Rust.
Rust >= 1.83.0
Usage: promptx --config-file <FILE>
Options:
-c, --config-file <FILE> Config file [default: config.yml]
-h, --help Print help
-V, --version Print version
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-*
export ANDROID_NDK_ROOT=/path/to/android_ndk_root
cargo ndk -t aarch64-linux-android build --release
Project License can be found here.