Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Scrape the python client for api resources #5

Open
deontologician opened this issue Dec 7, 2020 · 0 comments
Open

Scrape the python client for api resources #5

deontologician opened this issue Dec 7, 2020 · 0 comments
Labels
enhancement New feature or request

Comments

@deontologician
Copy link
Owner

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 deontologician added the enhancement New feature or request label Dec 7, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant