https://github.com/rob-luke/digital-assistants-api
Example function calling backend server for Digital Assistants App
https://github.com/rob-luke/digital-assistants-api
Last synced: 3 months ago
JSON representation
Example function calling backend server for Digital Assistants App
- Host: GitHub
- URL: https://github.com/rob-luke/digital-assistants-api
- Owner: rob-luke
- Created: 2024-11-17T02:24:11.000Z (6 months ago)
- Default Branch: main
- Last Pushed: 2024-11-19T01:48:06.000Z (6 months ago)
- Last Synced: 2025-01-21T07:11:13.556Z (4 months ago)
- Language: Python
- Homepage: https://example-api.digitalassistants.app/
- Size: 18.6 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Digital Assistants - Example Function Calling Server Backend
[Digital Assistant](https://apps.apple.com/au/app/digital-assistants/id6514299510) simplifies how you connect with and manage your personalized AI assistants. Digital Assistant provides a great user experience over the OpenAI Assistants API. Supporting multiple conversations, customizable assistant behavior, and advanced features like function calling, the app delivers a clean, user-friendly interface to maximize your AI tools' potential. Whether you're implementing advanced integrations or seeking seamless, distraction-free interactions, Digital Assistant puts powerful functionality at your fingertips.
This repository provides a template server to use as a backend for utilising function calls with [Digital Assistant](https://apps.apple.com/au/app/digital-assistants/id6514299510).
## Description
This is a FastAPI-based API service for handling [Digital Assistant](https://apps.apple.com/au/app/digital-assistants/id6514299510) function calls.
This service provides a flexible API endpoint that can handle various function calls for digital assistants.
Currently, it serves as a configuration validator that helps users properly set up their API endpoints.## Installation
1. Install dependencies:
```bash
pip install -r requirements.txt
```## Running the Application
### Local Development
```bash
python app.py
```
or
```bash
uvicorn app:app --reload
```### Production (using Vercel)
The application is configured to run on Vercel using the included `vercel.json` configuration.## API Endpoints
### Universal Endpoint
- Path: `/{path:path}`
- Methods: `GET`, `POST`
- Description: Catches all routes and returns a configuration message
- Response Format:
```json
{
"message": "...",
"result": ".."
}
```## Dependencies
Key dependencies include:
- FastAPI: Modern web framework for building APIs
- Uvicorn: ASGI server implementationFor a complete list of dependencies, see `requirements.txt`.