-
Notifications
You must be signed in to change notification settings - Fork 9
Expand file tree
/
Copy pathlua-openai-dev-1.rockspec
More file actions
32 lines (32 loc) · 986 Bytes
/
lua-openai-dev-1.rockspec
File metadata and controls
32 lines (32 loc) · 986 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
package = "lua-openai"
version = "dev-1"
source = {
url = "git+ssh://git@github.com/leafo/lua-openai.git"
}
description = {
summary = "Bindings to the OpenAI HTTP API for Lua.",
detailed = [[
Bindings to the OpenAI HTTP API for Lua. Compatible with any socket library
that supports the LuaSocket request interface. Compatible with OpenResty using
[`lapis.nginx.http`](https://leafo.net/lapis/reference/utilities.html#making-http-requests).]],
homepage = "https://github.com/leafo/lua-openai",
license = "MIT"
}
dependencies = {
"lua >= 5.1",
"lua-cjson",
"tableshape",
"luasocket",
"luasec",
}
build = {
type = "builtin",
modules = {
["openai.chat_completions"] = "openai/chat_completions.lua",
["openai.compat.gemini"] = "openai/compat/gemini.lua",
["openai.compat.openrouter"] = "openai/compat/openrouter.lua",
["openai"] = "openai/init.lua",
["openai.responses"] = "openai/responses.lua",
["openai.sse"] = "openai/sse.lua",
}
}