Overview
Floom SDK is what connects your app to your AI Pipeline. It allows you to execute AI Pipelines from your code.
Download Floom SDK for your preferred framework:
Python | Node | .NET | Java | Golang | Rust
Or install via package managers:
- Python
- Node
- .NET
- Java
- Golang
- Rust
pip install floom
npm install floomai
nuget install floom
Add dependency to Maven:
<dependency>
<groupId>ai.floom</groupId>
<artifactId>java-sdk</artifactId>
<version>[version]</version>
</dependency>
π‘Replace [version] with the desired version number: i.e. 1.0.2
go get github.com/FloomAI/FloomSDK-Go
cargo install floom
Execute your pipeline:
- Python
- Node
- .NET
- Java
- Golang
- Rust
from floom import FloomClient
floom_client = FloomClient()
floom_client.run(
pipeline="my-first-pipeline",
prompt="Your query here"
)
import { FloomClient } from '../FloomClient';
const floomClient = new FloomClient();
const response = await floomClient.run(
"my-first-pipeline",
"Your query here",
);
var floomClient = new FloomClient();
var response = await floomClient.Run(
pipelineId: "docs-pipeline",
prompt: "How do I reset the oil alert in my dashboard?"
);
import ai.floom.FloomClient;
FloomClient floomClient = new FloomClient();
FloomResponse response = floomClient.run(
"my-first-pipeline",
"Your query here"
);
import (
"fmt"
"github.com/FloomAI/FloomSDK-Go"
)
floomClient := floom.NewFloomClient()
response, err := floomClient.Run(
"my-first-pipeline",
"Your query here"
)
extern crate floom;
use floom::FloomClient;
let mut floom_client = FloomClient::new();
let response = floom_client.run(
"my-first-pipeline",
"Your query here",
);
That's it!β
By following these steps, youβll have Floom integrated and ready to propel your AI development to new heights.