Skip to main content

AI SDK which has capabilities to interact with Google Gemini / OpenAI / Ollama APIs for LLM calls

Project description

install all dependencies

uv sync --dev

Tool definitions format:

==================== TOOL DEFINITION ====================

Tools are defined in OpenAI format as plain dictionaries.

This format is compatible across all providers (OpenAI, Gemini, Ollama).

Example tool definition:

{

"type": "function",

"function": {

"name": "get_weather",

"description": "Get the current weather for a location",

"parameters": {

"type": "object",

"properties": {

"location": {"type": "string", "description": "City name"},

"unit": {"type": "string", "enum": ["celsius", "fahrenheit"]}

},

"required": ["location"],

"additionalProperties": False

},

"strict": True # Optional: Enable strict schema adherence (OpenAI only)

}

}

Publishing to PyPI

This project uses uv for dependency management and packaging.

1. Build the Package

To build the distribution bundles (.tar.gz and .whl):

uv build

This generates the package files inside the dist/ directory.

2. Publish to PyPI

To upload the built package to the Python Package Index, run:

uv publish

(You will be prompted to supply your PyPI API token).

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

fusion_ai_sdk-1.0.0.tar.gz (15.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

fusion_ai_sdk-1.0.0-py3-none-any.whl (16.5 kB view details)

Uploaded Python 3

File details

Details for the file fusion_ai_sdk-1.0.0.tar.gz.

File metadata

  • Download URL: fusion_ai_sdk-1.0.0.tar.gz
  • Upload date:
  • Size: 15.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.7.21

File hashes

Hashes for fusion_ai_sdk-1.0.0.tar.gz
Algorithm Hash digest
SHA256 b34d21b3bbee6507039371ecf321f618e6b5e856a327e8615ba48576b1cb13ff
MD5 afc2e565f4d0c8f9ffa498bfd274af21
BLAKE2b-256 86e05aa66268cc00818424b57340a565014e420b15235b62217f8c9190a35304

See more details on using hashes here.

File details

Details for the file fusion_ai_sdk-1.0.0-py3-none-any.whl.

File metadata

File hashes

Hashes for fusion_ai_sdk-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 16eb9014ce864b3753bcf97abad9e1e4a8fd3d7dc81c2a1d11f510e5fe64ab0b
MD5 607ec962a3c09fc57bff24b54f32f047
BLAKE2b-256 c8fdec2598ada035afe09095b7cdc66546d90cd15ae9e5c4aa1c042881ad697a

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page