hiramu-cli 0.1.23

A command-line interface tool for interacting with large language models (LLMs) on AWS Bedrock and generating text based on prompts.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
use thiserror::Error;
use std::io;

#[derive(Debug, Error)]
pub enum GenerationError {
    #[error("Failed to read from stdin")]
    StdinReadError(#[from] io::Error),
    #[error("Model not found")]
    ModelNotFoundError,
    #[error("Failed to parse Cargo.toml")]
    CargoTomlParseError(#[from] toml::de::Error),
}