2 unstable releases
0.5.0 | Jan 29, 2025 |
---|---|
0.1.0 | Jan 18, 2025 |
#163 in Database interfaces
268 downloads per month
65KB
2K
SLoC
promptx
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
Dependencies
~13–31MB
~516K SLoC