Skip to content

Latest commit

 

History

History
16 lines (11 loc) · 516 Bytes

README.md

File metadata and controls

16 lines (11 loc) · 516 Bytes

openai.c

C wrapper for the OpenAI API.

No dependencies apart from libc and libcurl.

TODO

  • Common endpoints:
    • GET https://api.openai.com/v1/engines
    • GET https://api.openai.com/v1/engines/{engine_id}
    • POST https://api.openai.com/v1/engines/{engine_id}/completions
    • POST https://api.openai.com/v1/engines/{engine_id}/search

See existing bindings in the Python documentation for more details.