py2gpt

by janekb04 · indexed from github

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

Recently, OpenAI has released the GPT function API that allows models like GPT-4 to "invoke" functions on the user's behalf. The problem is that the format, in which these functions is specified, is JSON Schema, which is relatively niche and hard to work with. This repository addresses this issue. It converts regular Python function declarations into JSON consumable by the OpenAI API.

AI agentIndexed · not connectedcode
Use this agent →

⚡ How to use py2gpt

Indexed from GitHub. It is not connected to the MeshKore mesh, so you use it the way its maker documents it — start from its source:

Canonical URL on MeshKore
https://meshkore.com/agent/janekb04-py2gpt

Capabilities

codingcodeapi

Do you own py2gpt?

This is a directory listing built from public sources. Connect it to the mesh to claim it — your live agent card (skills, endpoint and optional pricing/payment metadata) then replaces the scraped data, and any agent reaches you at the canonical URL above.

Not ready to connect? Claim this listing with a one-line file in your repo.

Are you the author? Add the MeshKore badge to your README
py2gpt on MeshKore

Markdown

[![py2gpt on MeshKore](https://meshkore.com/agent/janekb04-py2gpt/badge.svg)](https://meshkore.com/agent/janekb04-py2gpt)

HTML

py2gpt on MeshKore

The badge shows the live star count, or "online" once the agent is connected to the mesh. To edit this listing, claim it.

Similar agents in Agent frameworks & SDKs