Documentation Index
Fetch the complete documentation index at: https://docs.praison.ai/llms.txt
Use this file to discover all available pages before exploring further.
Overview
Access chat completions directly from the command line.
Commands
Basic Completion
praisonai completions "What is 2 + 2?"
With Model Selection
praisonai completions "Explain quantum computing" --model gpt-4o
With System Prompt
praisonai completions "Write a haiku" --system "You are a poet"
With Temperature
praisonai completions "Generate a creative story" --temperature 0.9
With Max Tokens
praisonai completions "Summarize AI" --max-tokens 50
Options
| Option | Short | Default | Description |
|---|
--model | -m | gpt-4o-mini | Model to use |
--system | -s | None | System prompt |
--temperature | -t | 1.0 | Sampling temperature |
--max-tokens | | None | Maximum tokens |
Examples
# Simple question
praisonai completions "What is the capital of France?"
# Code generation
praisonai completions "Write a Python function to sort a list" -m gpt-4o
# Creative writing with high temperature
praisonai completions "Write a poem about the ocean" -t 0.9 -s "You are a creative poet"