Spaces:
Runtime error
Runtime error
Upload README.md with huggingface_hub
Browse files
README.md
CHANGED
|
@@ -1,13 +1,44 @@
|
|
| 1 |
---
|
| 2 |
title: Function Calling Agent
|
| 3 |
-
emoji:
|
| 4 |
-
colorFrom:
|
| 5 |
-
colorTo:
|
| 6 |
sdk: gradio
|
| 7 |
-
sdk_version:
|
| 8 |
-
python_version: '3.13'
|
| 9 |
app_file: app.py
|
| 10 |
pinned: false
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 11 |
---
|
| 12 |
|
| 13 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
---
|
| 2 |
title: Function Calling Agent
|
| 3 |
+
emoji: π§
|
| 4 |
+
colorFrom: blue
|
| 5 |
+
colorTo: indigo
|
| 6 |
sdk: gradio
|
| 7 |
+
sdk_version: "4.44.0"
|
|
|
|
| 8 |
app_file: app.py
|
| 9 |
pinned: false
|
| 10 |
+
license: apache-2.0
|
| 11 |
+
tags:
|
| 12 |
+
- function-calling
|
| 13 |
+
- agent
|
| 14 |
+
- mobile
|
| 15 |
+
- on-device
|
| 16 |
+
- mcp
|
| 17 |
+
- dispatchai
|
| 18 |
+
models:
|
| 19 |
+
- dispatchAI/Llama-3.2-1B-FunctionCall-mobile
|
| 20 |
---
|
| 21 |
|
| 22 |
+
# π§ dispatchAI Function Calling Agent
|
| 23 |
+
|
| 24 |
+
An on-device agent that parses natural language into structured function calls.
|
| 25 |
+
|
| 26 |
+
**Model:** Llama-3.2-1B-FunctionCall-mobile β a 1B parameter model fine-tuned for function calling, quantized to Q4, designed for mobile.
|
| 27 |
+
|
| 28 |
+
## How It Works
|
| 29 |
+
|
| 30 |
+
1. User types natural language (e.g., "Set an alarm for 7am")
|
| 31 |
+
2. The 1B model parses it into a structured function call: `{"function": "set_alarm", "parameters": {"time": "07:00"}}`
|
| 32 |
+
3. The function call can be executed on-device
|
| 33 |
+
|
| 34 |
+
## Available Functions
|
| 35 |
+
|
| 36 |
+
- `set_alarm(time, label)` β Set an alarm
|
| 37 |
+
- `send_message(to, message)` β Send a message
|
| 38 |
+
- `call_contact(contact)` β Call a contact
|
| 39 |
+
- `search_web(query)` β Search the web
|
| 40 |
+
- `open_app(app_name)` β Open an app
|
| 41 |
+
- `set_timer(duration_minutes)` β Set a timer
|
| 42 |
+
- `get_weather(location)` β Get weather
|
| 43 |
+
|
| 44 |
+
π [dispatchAI](https://huggingface.co/dispatchAI) β Small. Mobile. Free. UAE-built.
|