Skip to content

Commit

Permalink
feat(ai-proxy): google-gemini support (#12948)
Browse files Browse the repository at this point in the history

Co-authored-by: Wangchong Zhou <wangchong@konghq.com>
  • Loading branch information
tysoekong and fffonion authored Jul 9, 2024
1 parent 291eb2c commit c8d99a2
Show file tree
Hide file tree
Showing 19 changed files with 1,064 additions and 43 deletions.
5 changes: 5 additions & 0 deletions changelog/unreleased/kong/ai-proxy-google-gemini.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
message: |
Kong AI Gateway (AI Proxy and associated plugin family) now supports
the Google Gemini "chat" (generateContent) interface.
type: feature
scope: Plugin
3 changes: 3 additions & 0 deletions kong-3.8.0-0.rockspec
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ dependencies = {
"lua-messagepack == 0.5.4",
"lua-resty-aws == 1.5.0",
"lua-resty-openssl == 1.4.0",
"lua-resty-gcp == 0.0.13",
"lua-resty-counter == 0.2.1",
"lua-resty-ipmatcher == 0.6.1",
"lua-resty-acme == 0.14.0",
Expand Down Expand Up @@ -607,6 +608,8 @@ build = {
["kong.llm.drivers.mistral"] = "kong/llm/drivers/mistral.lua",
["kong.llm.drivers.llama2"] = "kong/llm/drivers/llama2.lua",

["kong.llm.drivers.gemini"] = "kong/llm/drivers/gemini.lua",

["kong.plugins.ai-prompt-decorator.handler"] = "kong/plugins/ai-prompt-decorator/handler.lua",
["kong.plugins.ai-prompt-decorator.schema"] = "kong/plugins/ai-prompt-decorator/schema.lua",

Expand Down
Loading

1 comment on commit c8d99a2

@github-actions
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Bazel Build

Docker image available kong/kong:c8d99a2f35b588afab2612e62f67f2f262913569
Artifacts available https://github.com/Kong/kong/actions/runs/9852974393

Please sign in to comment.