Metadata-Version: 2.4
Name: fusion-ai-sdk
Version: 1.0.0
Summary: AI SDK which has capabilities to interact with Google Gemini / OpenAI / Ollama APIs for LLM calls
Project-URL: Homepage, https://github.com/shreyasbgr/fusion-ai-sdk
Project-URL: Repository, https://github.com/shreyasbgr/fusion-ai-sdk.git
Author-email: Shreyas Banagar <shreyasbanagar7@gmail.com>, Ayishwarya Swami <swamiayishwarya@gmail.com>
License: MIT
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.12
Requires-Python: >=3.12
Requires-Dist: google-genai>=1.57.0
Requires-Dist: ollama>=0.6.1
Requires-Dist: openai>=2.15.0
Requires-Dist: pydantic>=2.12.5
Requires-Dist: python-dotenv>=1.2.1
Description-Content-Type: text/markdown

## install all dependencies

```bash
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`):
```bash
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:
```bash
uv publish
```
*(You will be prompted to supply your PyPI API token).*
