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.6.0-154 days ago14 downloads
1.5.0-157 days ago1 download
1.4.3-11 year ago321 downloads
1.4.2-11 year ago1,224 downloads
1.4.1-11 year ago951 downloads
1.4.0-11 year ago9 downloads
1.3.0-11 year ago35 downloads
1.2.0-12 years ago579 downloads
1.1.0-12 years ago46 downloads
1.0.0-12 years ago380 downloads
dev-1dev2 years ago5 downloads

Dependencies

lua >= 5.1

Labels

Manifests