Crates.io | floom |
lib.rs | floom |
version | 1.0.0 |
source | src |
created_at | 2023-11-23 08:01:00.093815 |
updated_at | 2023-11-23 08:01:00.093815 |
description | Floom orchestrates and executes Generative AI pipelines, allowing developers and DevOps teams to focus on what matters most. It offers enterprise-grade, production-ready, and battle-tested solutions, now open-source and free for everyone, including commercial use. |
homepage | https://floom.ai/ |
repository | https://github.com/FloomAI/FloomSDK-Rust |
max_upload_size | |
id | 1045905 |
size | 8,621 |
Floom Rust SDK - A Rust library for interacting with Floom, an AI Orchestration platform that empowers Developers and DevOps.
Floom orchestrates and executes Generative AI pipelines, allowing developers and DevOps teams to focus on what matters most. It offers enterprise-grade, production-ready, and battle-tested solutions, now open-source and free for everyone, including commercial use.
Floom's AI Pipeline model simplifies the integration and execution process of Generative AI, handling everything from prompt design and data linking to execution and cost management.
To start using FloomSDK-Rust, include it in your Cargo.toml:
[dependencies]
floom = "1.0.0"
Here's how you can use the Floom Rust SDK in your application:
use floom::{FloomClient};
use std::collections::HashMap;
#[tokio::main]
async fn main() {
// Initialize FloomClient
let floom_client = FloomClient::new("your_endpoint".to_string(), "your_api_key".to_string());
// Example: Running a pipeline
let response = floom_client.run(
"your_pipeline_id".to_string(),
"your_chat_id".to_string(),
"your_input".to_string(),
None,
).await;
match response {
Ok(response) => {
// Process the response
println!("Response: {:?}", response);
}
Err(e) => {
println!("Error: {:?}", e);
}
}
}
This README provides a concise yet comprehensive introduction to Floom and its Rust SDK. It includes installation instructions, a basic usage example, links to further documentation, contribution guidelines, and licensing information. The structure is designed to be user-friendly and to enhance the visibility of your project.
For more information, visit us at https://floom.ai.