openai-api-rust icon indicating copy to clipboard operation
openai-api-rust copied to clipboard

Scrape the python client for api resources

Open deontologician opened this issue 5 years ago • 0 comments

They're available here and have a very regular shape:

https://github.com/openai/openai-python/tree/main/openai/api_resources

Since the shape is pretty predictable, probably don't need to actually execute python and introspect, could just use a crate like python_parser and output the corresponding rust types.

deontologician avatar Dec 07 '20 18:12 deontologician