bard-api-rs 0.1.0

Non official Google Bard Rust client library. Use at your own risk.
Documentation
1
2
3
4
5
6
7
8
9
10
11
use bard_api_rs::ChatSession;
use ezio::prelude::*;

#[tokio::main]
async fn main() {
    let mut session = ChatSession::new().await;
    println!("Ask the question please:");
    let question = stdio::read_line();
    let response = session.send_message(&question).await;
    println!(">> {}", response);
}