Skip to main content

File-based functions for ChatGPT's function calling with Pydantic support

Project description

Logo

File-based functions for ChatGPT's function calling with Pydantic support 🚀

Test Package version Supported Python versions

SageAI is a lightweight package that

Key Features

  • File-based functions directory for OpenAI function calls
  • Functions typed with Pydantic (v1 only)
  • In memory Vector DB to reduce costs (not all functions get passed in as context)
  • Supports asyncio/sync
  • Easily testable (both unit and integration)
  • Extensible (bring your own vector db + implementation)
  • Lightweight

Requirements

Pass

Installation

# pip
$ pip install sageai

# poetry
$ poetry add sageai

Usage

Pass

Contributing

Please see our CONTRIBUTING.md.

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

sageai-0.1.1.tar.gz (4.5 kB view hashes)

Uploaded Source

Built Distribution

sageai-0.1.1-py3-none-any.whl (5.3 kB view hashes)

Uploaded Python 3

Supported by

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