floom

Crates.iofloom
lib.rsfloom
version1.0.0
sourcesrc
created_at2023-11-23 08:01:00.093815
updated_at2023-11-23 08:01:00.093815
descriptionFloom 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.
homepagehttps://floom.ai/
repositoryhttps://github.com/FloomAI/FloomSDK-Rust
max_upload_size
id1045905
size8,621
Floom (FloomAI)

documentation

https://floom.ai/docs

README

FloomSDK-Rust

Floom Rust SDK - A Rust library for interacting with Floom, an AI Orchestration platform that empowers Developers and DevOps.

About Floom

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.

Getting Started with FloomSDK-Rust

Installation

To start using FloomSDK-Rust, include it in your Cargo.toml:

[dependencies]
floom = "1.0.0"

Usage

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.

Commit count: 0

cargo fmt