jutella
Chatbot API client library and CLI interface. Currently supports OpenAI chat API.
Command line interface
To get started with CLI, put your API key and endpoint into ~/.config/jutella.toml. See a config example.

Library
To use the chat API, initialize ChatClient with api_key and ChatClientConfig:
let mut chat = new;
Request answers via ChatClient::ask():
let answer = chat.ask?;
println!;
ChatClient keeps the conversation context and sends it with every ask() to the chatbot API.
Future plans
Expect breaking changes in the API and transition to async requests.