On this page
obi ask
Ask the Obi assistant a question from the terminal and print its answer.
obi ask puts a question to the Obi assistant
and prints its answer.
Shell
obi ask "QUESTION" [--conversation ID]
Examples
Shell
obi ask "why did checkout errors spike this morning?"
obi ask "which hosts are low on disk?" --conversation 7c1e...
cat incident-notes.txt | obi ask --stdin
The steps Obi takes along the way go to stderr, so the answer alone can be
piped. obi get conversations lists your conversations.
Flags
| Flag | Meaning |
|---|---|
--conversation ID | Continue an existing conversation instead of starting a new one. |
--stdin | Read the question from stdin. |