janekb04/py2gpt

Convert Python code into JSON consumable by OpenAI's function API.

39
/ 100
Emerging

This tool helps AI application developers define functions that large language models (LLMs) can call. You provide your functions as standard Python code, and it generates the specific JSON format required by the OpenAI Function API. This is for developers building applications that use OpenAI's GPT models to interact with external tools or data.

No commits in the last 6 months.

Use this if you are a developer building an application that leverages OpenAI's function calling capabilities and want to define your functions in Python instead of manually writing JSON Schema.

Not ideal if you are not using OpenAI's Function API or if you prefer to define your function schemas directly in JSON.

AI-application-development LLM-integration API-integration Python-development OpenAI-API
Stale 6m No Package No Dependents
Maintenance 0 / 25
Adoption 7 / 25
Maturity 16 / 25
Community 16 / 25

How are scores calculated?

Stars

29

Forks

6

Language

Python

License

MIT

Category

gpt-domain-tools

Last pushed

Jun 26, 2023

Commits (30d)

0

Get this data via API

curl "https://pt-edge.onrender.com/api/v1/quality/llm-tools/janekb04/py2gpt"

Open to everyone — 100 requests/day, no key needed. Get a free key for 1,000/day.