Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AIGateway Support #137

Open
10 tasks
shaneutt opened this issue Jan 29, 2024 · 2 comments
Open
10 tasks

AIGateway Support #137

shaneutt opened this issue Jan 29, 2024 · 2 comments
Assignees
Labels
area/feature New feature or request migrated-from-archive Issues migrated from the archived KGO repository

Comments

@shaneutt
Copy link
Contributor

shaneutt commented Jan 29, 2024

Problem Statement

We currently have several plugins for the Kong Gateway which enable access to large language models (LLMs):

Kong/kong#12341
Kong/kong#12340
Kong/kong#12337
Kong/kong#12336

When applied to a Gateway they create our "AI Gateway" for serving and managing traffic to well-known LLM providers like OpenAI's ChatGPT.

If you're using the KGO and your goal is to try out the "AI Gateway", there's a lot of configuration that you need to do manually, and CRDs you have to learn like KongPlugin.

Proposed Solution

Create an AIGateway CRD and controller which automates this configuration and management for the user with minimal upfront configuration. Ideally the user should just be able to add their API keys to a Secret, and then the rest of the YAML can just be applied in a one-liner, resulting in an endpoint where they can access their AI Gateway in the AIGateway.status.

This should start out as an experimental and gated feature, so that we can share it with users and incorporate feedback into its development.

Additional Information

This issue originates from Aha! KIC-I-53.

Acceptance Criteria

  • a new AIGateway resource is created, which composes to Gateways, Secrets, KongPlugins, e.t.c.
  • a new feature gateway "ai-gateway" is added which enables this feature. This feature is clearly flagged as experimental.

Tasks

Preview Give feedback
@shaneutt shaneutt added the area/feature New feature or request label Jan 29, 2024
@shaneutt shaneutt self-assigned this Jan 31, 2024
@shaneutt
Copy link
Contributor Author

shaneutt commented Jan 31, 2024

Met with @mflendrich and @mheap this morning. We are going to make this an OSS feature, and we're going to try for release in v1.2.0 (if that doesn't pan out for some reason, v1.3.0). The team doesn't have capacity by itself to do this during these release cycles based on current commitments, so I'm going to join the team to help with this one.

Note: This feature requires Gateway v3.6.0, which we currently expect to release February 12th, however this
shouldn't block development as the relevant features are available in current release candidates.

/cc @tysoekong

@mheap
Copy link
Member

mheap commented Jan 31, 2024

We don't have a confirmed date for v1.3.0, so I'd recommend pushing for v1.2.0

@pmalek pmalek added the migrated-from-archive Issues migrated from the archived KGO repository label Apr 19, 2024
@czeslavo czeslavo transferred this issue from another repository Apr 22, 2024
@czeslavo czeslavo transferred this issue from another repository Apr 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/feature New feature or request migrated-from-archive Issues migrated from the archived KGO repository
Projects
None yet
Development

No branches or pull requests

4 participants