How to run AI prompts in Linux bash shell
This page provides information on how to run AI prompts from the bash shell using aiprompt.dll. You can download the aiprompt.dll from this page, and you can see how it can be used from terminal. Let's get started!
Download
Download the executable: AIPrompt
Download as a zip: AIPrompt.zip
What is AI Prompt
The AI Prompt is a command line tool which makes it possible to run AI prompts on the command line, that are evaluated by HTTP AI APIs, such as Ozeki AI Server or OpenAI (ChatGPT).
Github
This project is available on Github with full source code under MIT license. Please take a look at the Github project:
https://github.com/ozekiweb/AIPromptExeFeatures:
- Lightweight: Allows users to send prompts directly to HTTP AI APIs from the command line.
- Flexible: Read prompts from Standard I/O, send a simple prompt or customize your request using JSON, use HTTP and HTTPS as well
- Dual API Support: Supports Ozeki 10 HTTP API and OpenAI API.
- Configurable: Easy to set your preferences via command-line arguments and environment variables.
- Logging Mode: Provides detailed logging to facilitate debugging and monitoring.
- Interactive Mode: Chat with an LLM by sending multiple prompts through HTTP
- Fast deployment: Ready to use, self-contained executable file is available to download.
- Open Source: This tool is fully open sourced, enabling users to build, inspect, and modify the source code according to their needs
How to run AI Prompt from the terminal (Easy Steps)
To run AI Prompt from the terminal:
- Download AI Prompt
- Create HTTP API user in Ozeki
- Send a prompts using HTTP API user
How to download Ozeki AI Prompt and send prompt using HTTP API
cd Downloads chmod +x AIPrompt
./AIPrompt "Where is Budapest" -h http://192.168.0.126:9509/api?command=chatgpt -u http1 -p abc123 -model GGUF_Model_1
More information