#prompt #ai #optimization

app promptx

AI prompt optimization

2 unstable releases

0.5.0 Jan 29, 2025
0.1.0 Jan 18, 2025

#163 in Database interfaces

Download history 113/week @ 2025-01-15 146/week @ 2025-01-29 9/week @ 2025-02-05

268 downloads per month

MIT license

65KB
2K SLoC

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

Dependencies

~13–31MB
~516K SLoC