Floom

Latest version: v1.0.5

Safety actively analyzes 641872 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

1.0.5

**Full Changelog**: https://github.com/FloomAI/FloomSDK-Python/compare/v1.0.3...v1.0.5

1.0.3

Floom Python SDK v1.0.3


Install Instructions

Install the SDK using python3 pip:


bash
python3 -m pip install floom


How to use

See examples/example.py for more detailed example.

bash
Initializing FloomClient with proper Floom Endpoint (for cloud use https://api.floom.ai) and ApiKey
floom_client = FloomClient(
url="http://localhost:4050",
api_key="api_key_here"
)

Set pipeline id (pipeline name from .yml file)
floom_response = floom_client.run(
pipelineId="simple-pipeline",
prompt="How do I reset the oil alert in my dashboard?"
)

Handle FloomResponse
if floom_response.code is not None:
print(f"Error: {floom_response.message}")
else:
print(floom_response.values[0]['value'])


We appreciate your support and feedback as we continue to improve the Floom Python SDK. Please report any issues or contribute suggestions on our GitHub repository.

Happy coding!

1.0.2

Floom Python SDK v1.0.2

We are pleased to announce the release of Floom Python SDK version 1.0.2. This release includes several new features, improvements, and bug fixes that enhance the SDK's functionality and user experience. We recommend that all users update to this latest version to take full advantage of the improvements.

Install Instructions

Install the SDK using pip:


bash
pip install floom


How to use

See examples/example.py for more detailed example.

bash
Initializing FloomClient with proper Floom Endpoint (for cloud use https://api.floom.ai) and ApiKey
floom_client = FloomClient(
endpoint="http://localhost:4050",
api_key="api_key_here"
)

Set pipeline id (pipeline name from .yml file)
floom_response = floom_client.run(
pipelineId="simple-pipeline",
prompt="How do I reset the oil alert in my dashboard?"
)

Handle FloomResponse
if floom_response.code is not None:
print(f"Error: {floom_response.message}")
else:
print(floom_response.values[0]['value'])


We appreciate your support and feedback as we continue to improve the Floom Python SDK. Please report any issues or contribute suggestions on our GitHub repository.

Happy coding!

1.0

Links

Releases

Has known vulnerabilities

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.