lua-openai

Bindings to the OpenAI HTTP API for Lua.

$ luarocks install lua-openai

Bindings to the OpenAI HTTP API for Lua. Compatible with any HTTP library that supports LuaSocket's http request interface. Compatible with OpenResty using lapis.nginx.http. This project implements both the classic Chat Completions API in addition to the modern Responses API.

Compatibility clients for Google Gemini and OpenRouter are also included.

Versions

1.7.0-139 days ago184 downloads
1.6.0-194 days ago15 downloads
1.5.0-198 days ago2 downloads
1.4.3-11 year ago325 downloads
1.4.2-11 year ago1,248 downloads
1.4.1-11 year ago952 downloads
1.4.0-11 year ago10 downloads
1.3.0-11 year ago36 downloads
1.2.0-12 years ago581 downloads
1.1.0-12 years ago47 downloads
1.0.0-12 years ago381 downloads
dev-1dev2 years ago5 downloads

Dependencies

lua >= 5.1

Labels

Manifests